Forums / Developer / Call to a member function storeCache() on cache file

Call to a member function storeCache() on cache file

Author Message

Jean-Luc Nguyen

Monday 12 October 2009 3:54:57 am

Hello,

We have today this error on production cache file:

Fatal error: Call to a member function storeCache() on a non-object in /EZ_ROOT/var/MY_VAR/cache/template/compiled/pagelayout-286097d91dac06fde15e394edd73eddb.php on line 482
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

Does anyone ever see this error on production and know where does it come from?

Thanks a lot!

http://www.acidre.com

Frédéric DAVID

Monday 12 October 2009 4:55:44 am

I have the same problem.

This problem appears when I use rnode_view_gui function and cache_block. The variables declared in the node_view_gui didn't pass between node_view_gui.

I used this code

{node_view_gui content_node=$my_node view=my_view var1=$var1 var2=$var2.

eZ publish generate content cache on the second time you refresh the page.

For fix my problem, I just put a cache-block.

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata