[TYPO3-mvc] Extbase cache issue

g4-lisz at tonarchiv.ch g4-lisz at tonarchiv.ch
Wed Nov 16 11:43:30 CET 2011


On 16.11.2011 10:16, Peter Niederlag wrote:
> Hello,
>
> Am 15.11.2011 18:09, schrieb g4-lisz at tonarchiv.ch:
>> On 15.11.2011 17:13, Bastian Waidelich wrote:
> [...]
>> there is xcache installed - could this be a problem?
> How about disabling and see if it makes a difference?
>
> We have seen problems with accelerators/byte-code-caches quite a few
> times already in the past.
>
> I have apc enabled on a production site (extbase/fluid 1.0 though),
> without any problems.
>
> [...]
>
> Greets,
> Peter
Well, switching it off makes it slower, so that's not really solving the 
problem.

It only happens once every 2 days...

For me it would be ok to just disable/clear the cache in the situation 
when this error would happen.

So at least i need some hint from someone who knows the code.

Here again the error message:
Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/class.t3lib_timetrack.php on line 121 
Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/class.t3lib_timetrack.php on line 128 
Warning: Attempt to assign property of non-object in 
/var/www/typo3_src-4.5.3/t3lib/class.t3lib_timetrack.php on line 135 
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

The ext_localconf.php cache part from extbase looks like this:
// use own cache tables
// Reflection cache:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_reflection'] 
= array(
         'frontend' => 't3lib_cache_frontend_VariableFrontend',
         'backend' => 't3lib_cache_backend_DbBackend',
         'options' => array(
                 'cacheTable' => 'tx_extbase_cache_reflection',
                 'tagsTable' => 'tx_extbase_cache_reflection_tags',
         ),
);
// Object container cache:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['cache_extbase_object'] 
= array(
         'frontend' => 't3lib_cache_frontend_VariableFrontend',
         'backend' => 't3lib_cache_backend_DbBackend',
         'options' => array(
                 'cacheTable' => 'tx_extbase_cache_object',
                 'tagsTable' => 'tx_extbase_cache_object_tags',
         ),
);

Cheers,
till



More information about the TYPO3-project-typo3v4mvc mailing list