PR-staging

Success

User tests: Successful: Unsuccessful:

avatar Denitz
Denitz
15 Jul 2014

Server reporting function under Global Config says:

Fatal error: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "JCategoryNode" of the object you are trying to operate on was loaded before unserialize() gets called or provide a __autoload() function to load the class definition in /home/public_html/modules/mod_articles_categories/mod_articles_categories.php on line 29

and here is line 29's code says:

Code:
24 . $list = JModuleHelper::moduleCache($module, $params, $cacheparams);
25.
26. if (!empty($list))
27. {
28. $moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
29. $startLevel = reset($list)->getParent()->level;
30. require JModuleHelper::getLayoutPath('mod_articles_categories', $params- >get('layout', 'default'));
31. }

Test Instructions

Create and publish only one module type articles categories will make menu single contact blank.

Create and publish more than one module type article categories (using different categories): blank menu single contact and all modules this type display only one category.

avatar Denitz Denitz - open - 15 Jul 2014
avatar brianteeman brianteeman - change - 21 Aug 2014
Status New Pending
avatar nicksavov nicksavov - change - 21 Aug 2014
Labels Removed: ?
avatar brianteeman brianteeman - change - 1 Sep 2014
Category Modules
avatar mrkstsk
mrkstsk - comment - 18 Sep 2014

@test
successfully tested

I'm not commen with github, but this solved the prob! Thanx!

avatar brianteeman brianteeman - change - 19 Sep 2014
The description was changed
avatar TorstenE
TorstenE - comment - 24 Sep 2014

It solved my problem

Thanks

Torsten.E

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

avatar infograf768
infograf768 - comment - 25 Sep 2014

To test, cache has to be ON.
This solves the issue with a contact, as we get the error

! ) Fatal error: main(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition "JCategoryNode" of the object you are trying to operate on was loaded before unserialize() gets called or provide a __autoload() function to load the class definition in /Applications/MAMP/htdocs/trunkgitnew/modules/mod_articles_categories/mod_articles_categories.php on line 29

But it does not solve the issue of displaying 2 modules, each supposed to display different categories.

avatar infograf768
infograf768 - comment - 25 Sep 2014

Issue solved. merging. thanks.

avatar infograf768 infograf768 - close - 25 Sep 2014
avatar infograf768 infograf768 - change - 25 Sep 2014
Status Pending Closed
Closed_Date 0000-00-00 00:00:00 2014-09-25 07:52:42

Add a Comment

Login with GitHub to post a comment