error: class.content.inc.php on line 2139

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Locked
teackele

error: class.content.inc.php on line 2139

Post by teackele »

when i want to see the content pages as admin i get the following error in het page overview

Fatal error: Call to a member function getLevel() on a non-object in C:\temp\upgraded\lib\classes\class.content.inc.php on line 2139

editing the pages through an alternate way (for example the edit button which i placed on my pages) still works.

upgrading to 0.13 didn't fix it...

hope someone can help

regards teackele
teackele

Re: error: class.content.inc.php on line 2139

Post by teackele »

traced it down to an invalid entry in the userprefs table for the collapse variable. cleared the field value, which solved.
how the invalid value got there still remains a question

T
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: error: class.content.inc.php on line 2139

Post by tsw »

Interesting

Maybe there should be clear all user prefs function somewhere...
teackele

Re: error: class.content.inc.php on line 2139

Post by teackele »

i suspect some database updating which makes the collapse value referencing pages within the hierarchy that don't exist anymore.
this might have happened during simultaneous working on the website on the same account, or even through 2 seperate browser windows...
but let me stress again, might. it's just a theory of mine

teackele
Locked

Return to “CMSMS Core”