I just went to my website and got this error:
Fatal error: Call to undefined method stdClass::setLogLevel() in /nfs/c02/h06/mnt/25752/domains/nighthawkgolf.org/html/index.php on line 67
Does anyone know how to fix it?
Faithfully using MODx since 2007!
-
MODX Staff
- 10,725 Posts
Sounds like a problem with your server best I can tell.
What do I tell the hosting company?
Faithfully using MODx since 2007!
It seems like PHP can’t find the relevant class:
means PHP hasn’t been able to load the specified class.
I’ve only ever seen this when an object has been de-serialized and the object’s original class is no longer available to PHP.
I’m sure you have, but have you cleared the cache? Can you login to the manager? Any other errors in your PHP event log or modx event log?
-
MODX Staff
- 10,725 Posts
If you have APC, eAccelerator or another opcode cache enabled, try disabling it and see if the problem goes away. This is related to an issue that is now fixed in the develop branch of Revolution, and will be in 2.0.5-pl.
Interesting. Just got the same message on my installation (luckily only a testing one as I migrate from Evo to Revolution). The file path looks mighty familiar -- are you hosting with Mediatemple? Maybe they’ve done something to their PHP installs ...
pp