6 Posts
jera
10 years ago
Topic
Hi,

can anyone help me? When I try to turn on standart joomla cache, and when I try to open seblod page, I see blank page with an error and site stops working:

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 /www/site name/modules/mod_articles_categories/mod_articles_categories.php on line 29

these are lines from 26 to 31
if (!empty($list))
{
	$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));
	$startLevel = reset($list)->getParent()->level;
	require JModuleHelper::getLayoutPath('mod_articles_categories', $params->get('layout', 'default'));
}


what can I do to make cache function work?

Thanks in advance...
Get a VIP membership
693 Posts
rpoy
10 years ago
1
Level 1
Hi jera,

Welcome to the SEBLOD forums.

Can you give some details on your content type/search type?  Do you have a form module within content? 

There are some known issues with cache listed in the Tracker and here.

Regards,

Randy



6 Posts
jera
10 years ago
0
Level 2
Thanks for the answer.

Randy,
"Do you have a form module within content?" - Yes, I've made a guest book by this example, with a form module just below the page (not in a separate menu item).
  Now there is no error.


10 years ago
1
Level 1

Edit modules/mod_articles_categories/helper.php -- and insert:

require_once JPATH_LIBRARIES . '/legacy/categories/categories.php';
6 Posts
jera
10 years ago
0
Level 2
Codigo Aberto, this code solved the problem. Thank you so much!

"Edit modules/mod_articles_categories/helper.php -- and insert:

require_once JPATH_LIBRARIES . '/legacy/categories/categories.php';"
Get a Book for SEBLOD