Enable all errors reporting in php.
Add "exit()" to the end of the onContentAfterSave() method (this is for watching the error)
In the front-end, add a menu item "propose an article".
In the front-end do log as an user which can add article.
When the article is submitted, the following error is displayed:
Notice: Undefined variable: result in /home/plambotte/Public/projets/web/joomla3dev/component-factory/plugins/content/joomla/joomla.php on line 93
No "notice" error
Notice: Undefined variable: result in /home/plambotte/Public/projets/web/joomla3dev/component-factory/plugins/content/joomla/joomla.php on line 93
Solution #1: Adding a default value for $result on the beginning of the method
Or solution #2: Add a default value for $result before the foreach (line#75)
$result = true;
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-02 23:54:47 |
Closed_By | ⇒ | brianteeman |
Closing as we hve a PR for testing #9277
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9253.