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));
No warnings
PHP Warning: Attempt to assign property 'jcfields' of non-object in \plugins\system\fields\fields.php on line 430
J3.8.4
PHP 7.2
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-02-01 19:55:06 |
Closed_By | ⇒ | 810 |