[TYPO3-mvc] Extbase cache issue

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Sun Sep 11 23:17:36 CEST 2011


Hi

We are developing a quit big extension in Extbase. From time to time we 
get this error from both the backend and the frontend:

Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/typo3/sysext/extbase/Classes/Object/Container/Container.php 
on line 81 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/class.t3lib_cache_factory.php on 
line 58 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 402 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 87 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 88 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 89 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 90 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 91 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 92 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 423 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 87 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 88 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 89 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 90 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 91 Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 92 Fatal error: Uncaught exception 't3lib_cache_Exception' with 
message 'No table to write data to has been set using the setting 
"cacheTable".' in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php:65 
Stack trace: #0 [internal function]: 
t3lib_cache_backend_DbBackend->__construct(Array) #1 
/var/www/typo3_src-4.5.3/t3lib/class.t3lib_div.php(5295): 
ReflectionClass->newInstanceArgs(Array) #2 
/var/www/typo3_src-4.5.3/t3lib/cache/class.t3lib_cache_factory.php(92): 
t3lib_div::makeInstance('t3lib_cache_bac...', Array) #3 
/var/www/typo3_src-4.5.3/typo3/sysext/extbase/Classes/Object/Container/ClassInfoCache.php(98): 
t3lib_cache_Factory->create('cache_extbase_o...', 't3lib_cache_fro...', 
't3lib_cache_bac...', Array) #4 
/var/www/typo3_src-4.5.3/typo3/sysext/extbase/Classes/Object/Container/ClassInfoCache.php(51): 
Tx_Extbase_Object_Container_ClassInfoCache->initializeLevel2Cache() #5 
/var/www/typo3_src-4.5.3/t3lib/class.t3lib_div.php(5297): 
Tx_Extbase_Object_Container_ClassInfoCache->__construct() #6 / in 
/var/www/typo3_src-4.5.3/t3lib/cache/backend/class.t3lib_cache_backend_dbbackend.php 
on line 65

After 2-3 minutes and a few reloads, this error disappears.

Another strange thing: We are running two servers. One is an exact clone 
of the other. But this issue appears on one machine only. The only 
difference is that the faulty server is used by several developers at 
the same time. Could this be a session issue?

Any help would be much appreciated.



More information about the TYPO3-project-typo3v4mvc mailing list