?
avatar 810
810
1 Feb 2018

Steps to reproduce the issue

When you Triggering content plugins in your extension, you will get a php warning.

$params = new JObject;
JPluginHelper::importPlugin('content');
\JFactory::getApplication()->triggerEvent('onContentPrepare', array("com_component.{$view}", &$contents, &$params, 0));

Expected result

No warnings

Actual result

PHP Warning: Attempt to assign property 'jcfields' of non-object in \plugins\system\fields\fields.php on line 430

System information (as much as possible)

J3.8.4
PHP 7.2

Additional comments

avatar 810 810 - open - 1 Feb 2018
avatar joomla-cms-bot joomla-cms-bot - change - 1 Feb 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 1 Feb 2018
avatar 810 810 - change - 1 Feb 2018
Status New Closed
Closed_Date 0000-00-00 00:00:00 2018-02-01 19:55:06
Closed_By 810
avatar 810 810 - close - 1 Feb 2018

Add a Comment

Login with GitHub to post a comment