php 5.3 - Non-deterministic object reference bug in PHP 5.3.X -
as of yesterday (perhaps after recent php update?), i'm getting strange non-deterministic bugs in php 5.3.3. these appear in our production server in php 5.3.2 well.
the errors amount fatal error: uncaught exception 'errorexception' message 'attempt assign property of non-object'
in various parts of code base. generally, error line like: $this->foo = $bar
in __construct()
call.
$this
not found in constructor?!
i have no idea going on. ideas? possibly regression of bug?: http://bugs.php.net/31525
edit: should mention, refreshing script after little while, absolutely no changes code, makes work again. hence non-deterministic.
edit 2: furthermore, while php set log tiniest of errors, , is logging other errors occur, error not logged in log file. brings me think looking @ php engine dependency error.
well, looks bug...
- an instance of happening zend_config
- a possibly related issue symfony
- and few others (searching pretty useless since fair number of sites throw error. it's hard discern valid instances generic errors)
here's relevant bug reports:
Comments
Post a Comment