This has posted in the forum and was able to reproduce it.
See http://forum.joomla.org/viewtopic.php?f=710&t=913801
Some components give errors if a Related article module is enabled.
Enable a related items modules on all pages.
For instance enable search component.
Try to do a search in the frontend.
Works fine.
500 error with fatal error
Fatal error: Uncaught Error: Call to a member function setState() on boolean in /path/to/joomla/modules/mod_related_items/helper.php:44
Joomla 3.5.0
Unpublish Related Articles Module.
1 JApplicationCms->execute() /path/to/joomla/index.php:49
2 JApplicationSite->render() /path/to/joomla/libraries/cms/application/cms.php:263
3 JApplicationCms->render() /path/to/joomla/libraries/cms/application/site.php:745
4 JDocumentHtml->render() /path/to/joomla/libraries/cms/application/cms.php:1068
5 JDocumentHtml->_renderTemplate() /path/to/joomla/libraries/joomla/document/html.php:477
6 JDocumentHtml->getBuffer() /path/to/joomla/libraries/joomla/document/html.php:697
7 JDocumentRendererHtmlModules->render() /path/to/joomla/libraries/joomla/document/html.php:411
8 JDocumentRendererHtmlModule->render() /path/to/joomla/libraries/joomla/document/renderer/html/modules.php:42
9 JModuleHelper::renderModule() /path/to/joomla/libraries/joomla/document/renderer/html/module.php:93
10 include() /path/to/joomla/libraries/cms/module/helper.php:190
11 JModuleHelper::moduleCache() /path/to/joomla/modules/mod_related_items/mod_related_items.php:22
12 JCacheControllerCallback->get() /path/to/joomla/libraries/cms/module/helper.php:561
13 ModRelatedItemsHelper::getList() /path/to/joomla/libraries/joomla/cache/controller/callback.php:157
Status | New | ⇒ | Confirmed |
The contact component was the one it failed on for me
The module should only be showed on article detail page, correct? Quick look at the module code, I think most of the code in ModRelatedItemsHelper should be moved into if block https://github.com/joomla/joomla-cms/blob/staging/modules/mod_related_items/helper.php#L58
Doing that should prevent the error.
Status | Confirmed | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-03-22 13:31:55 |
Closed_By | ⇒ | brianteeman |
Please test #9519
Labels |
Added:
?
|
I can confirm this
This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/9518.