Project

General

Profile

Actions

Bug #57324

closed

Fatal error: Call to a member function preparseQuery() on a non-objec

Added by Tizian Schmidlin almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Extension Manager
Target version:
Start date:
2014-03-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When accessing the extension manager in the TYPO3 backend, PHP throws the following fatal error:

Fatal error: Call to a member function preparseQuery() on a non-object in ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php on line 490

Call Stack:
    0.0003     672688   1. {main}() ../typo3_src-6.2.0/typo3/mod.php:0
    1.6690   40370872   2. TYPO3\CMS\Extbase\Core\ModuleRunner->callModule() ../typo3_src-6.2.0/typo3/mod.php:51
    1.6718   40454736   3. TYPO3\CMS\Extbase\Core\Bootstrap->run() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Core/ModuleRunner.php:81
    2.4614   64948224   4. TYPO3\CMS\Extbase\Core\Bootstrap->handleRequest() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Core/Bootstrap.php:197
    2.5164   65655624   5. TYPO3\CMS\Extbase\Mvc\Web\BackendRequestHandler->handleRequest() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Core/Bootstrap.php:208
    2.5347   66145704   6. TYPO3\CMS\Extbase\Mvc\Dispatcher->dispatch() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Mvc/Web/BackendRequestHandler.php:47
    2.5347   66145784   7. TYPO3\CMS\Extbase\Mvc\Dispatcher->resolveController() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:81
    2.5347   66145968   8. TYPO3\CMS\Extbase\Object\ObjectManager->get() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Mvc/Dispatcher.php:100
    2.5348   66146280   9. TYPO3\CMS\Extbase\Object\Container\Container->getInstance() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/ObjectManager.php:108
    2.5348   66146280  10. TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:122
    2.5490   66753080  11. TYPO3\CMS\Extbase\Object\Container\Container->injectDependencies() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:176
    2.5680   67335280  12. TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:232
    2.5720   67391512  13. TYPO3\CMS\Extbase\Object\Container\Container->injectDependencies() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:176
    2.5761   67460592  14. TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:232
    2.5810   67659832  15. TYPO3\CMS\Extbase\Object\Container\Container->injectDependencies() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:176
    2.5894   67992048  16. TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:232
    2.5958   68169560  17. TYPO3\CMS\Extbase\Object\Container\Container->injectDependencies() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:176
    2.5964   68170976  18. TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:232
    2.6013   68287352  19. TYPO3\CMS\Extbase\Object\Container\Container->injectDependencies() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:176
    2.6185   68378976  20. TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:232
    2.6231   68409264  21. TYPO3\CMS\Extbase\Object\Container\Container->injectDependencies() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:176
    2.6306   68467816  22. TYPO3\CMS\Extbase\Object\Container\Container->getInstanceInternal() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:232
    2.6319   68471064  23. TYPO3\CMS\Extbase\Object\Container\Container->instanciateObject() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:175
    2.6320   68472440  24. call_user_func_array() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:204
    2.6320   68472928  25. TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Object/Container/Container.php:0
    2.6356   68576216  26. TYPO3\CMS\Core\Utility\GeneralUtility::instantiateClass() ../typo3_src-6.2.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php:4262
    2.6357   68577104  27. TYPO3\CMS\Extensionmanager\Utility\Repository\Helper->__construct() ../typo3_src-6.2.0/typo3/sysext/core/Classes/Utility/GeneralUtility.php:4280
    2.6418   68618176  28. TYPO3\CMS\Extbase\Persistence\Repository->findByUid() ../typo3_src-6.2.0/typo3/sysext/extensionmanager/Classes/Utility/Repository/Helper.php:85
    2.6418   68618176  29. TYPO3\CMS\Extbase\Persistence\Repository->findByIdentifier() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Repository.php:194
    2.6795   69404544  30. TYPO3\CMS\Extbase\Persistence\Generic\QueryResult->getFirst() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Repository.php:225
    2.6796   69406696  31. TYPO3\CMS\Extbase\Persistence\Generic\PersistenceManager->getObjectDataByQuery() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Generic/QueryResult.php:105
    2.6796   69406696  32. TYPO3\CMS\Extbase\Persistence\Generic\Backend->getObjectDataByQuery() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Generic/PersistenceManager.php:116
    2.6797   69407128  33. TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend->getObjectDataByQuery() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Generic/Backend.php:190
    2.6797   69407128  34. TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend->getRowsByStatementParts() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php:302
    2.6797   69407128  35. TYPO3\CMS\Extbase\Persistence\Generic\Storage\Typo3DbBackend->getStatementParts() ../typo3_src-6.2.0/typo3/sysext/extbase/Classes/Persistence/Generic/Storage/Typo3DbBackend.php:342

I haven't found a way to inject a queryParser and no way on how to fix this nor was I able to write a patch for it. Have got any hints?

TYPO3: 6.2.0
PHP: 5.3.3-7squeez

Actions #1

Updated by Tizian Schmidlin almost 10 years ago

Can be closed, I had to trucate all cache tables and then it worked fine.

Actions #2

Updated by Georg Ringer almost 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF