I get lots of messages “PHP Fatal error: Property $id of class MongoId cannot be read in Unknown on line 0” in Apache error log.
I don’t know when it started to occur and can’t get the reason of this error.
The error doesn’t occur while I’m visiting pages of our website having ‘tail -f error.log’. When I get this message in console, I go to the page, where some user have just got fatal error and get no error.
I tried to find any answer in Google, but didn’t find any mention of such problem.
Could anyone suggest, where the problem is?
Some more details:
- OS: Debian Linux (squeeze)
- PHP: 5.3.3
- MongoDB: 2.2.1
- MongoDB PHP extension: 1.2.12
You can try to disable this problem adding setting
zend.enable_gc = Offto your php.ini.Don’t ask why but it seems to be a php bug…