Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.2.2
-
Fix Version/s: 2.2.3
-
Component/s: ORM
-
Security Level: All
-
Labels:None
-
Environment:HidePHP 5.3.6-13ubuntu3.8 with Suhosin-Patch (cli) (built: Jun 13 2012 17:19:54)
Copyright (c) 1997-2011 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies
with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans
ShowPHP 5.3.6-13ubuntu3.8 with Suhosin-Patch (cli) (built: Jun 13 2012 17:19:54) Copyright (c) 1997-2011 The PHP Group Zend Engine v2.3.0, Copyright (c) 1998-2011 Zend Technologies with Xdebug v2.2.0, Copyright (c) 2002-2012, by Derick Rethans
Description
( ! ) Fatal error: Call to undefined method Doctrine\ORM\Mapping\ClassMetadata::getSqlExecutor() in /home/www/scms/library/Doctrine/ORM/Query.php on line 241
Call Stack
# Time Memory Function Location
1 0.0000 327100 {main}( ) ../index.php:0
2 0.1485 4174724 Zend_Application->run( ) ../index.php:47
3 0.1485 4174724 Zend_Application_Bootstrap_Bootstrap->run( ) ../Application.php:366
4 0.1486 4174796 Zend_Controller_Front->dispatch( ???, ??? ) ../Bootstrap.php:97
5 0.1545 4488224 Zend_Controller_Router_Rewrite->route( object(Zend_Controller_Request_Http)[333] ) ../Front.php:911
6 0.1550 4488968 SCMS_Controller_Router_Route->match( string(6), ??? ) ../Rewrite.php:398
7 0.1567 4570028 Doctrine\ORM\AbstractQuery->getOneOrNullResult( long ) ../Route.php:72
8 0.1567 4570192 Doctrine\ORM\AbstractQuery->execute( array(0), long ) ../AbstractQuery.php:571
9 0.1567 4570660 Doctrine\ORM\Query->_doExecute( ) ../AbstractQuery.php:733
Variables in local scope (#9)
$executor =
Undefined
$paramMappings =
Undefined
$sqlParams =
Undefined
$types =
Undefined
error appears out of the blue, after a few refreshes it disappears, but this happens constantly.
Can you try namespacing your caches (metadata/query/results) and see if the problem persists?
Also, it would be interesting to see your bootstrap configuration...