Fatal error in \cache\...\navbar.tpl.php

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 5
Joined: Sun Feb 03, 2013 7:16 pm

Fatal error in \cache\...\navbar.tpl.php

Postby Peacemaker » Thu Dec 26, 2013 10:55 am


after upgrading database I get this error in User Home

Fatal error: Call to a member function getSetting() on a non-object in ...\cache\t_compile\%%EC^EC1^EC1C53D0%%navbar.tpl.php on line 48

Unfortunately I can't clear cache, because the administration menu isn't working. Other parts of user menu (on journal level) seem to be working.

Does anybody know how to fix it?

I run OJS on Wamp server, PHP 5.4.12

Thanks for any reply.



Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: Fatal error in \cache\...\navbar.tpl.php

Postby asmecher » Thu Dec 26, 2013 2:32 pm

Hi Peacemaker,

You can try flushing your cache manually by deleting all .php files in the cache/ subdirectory. If your flie permissions are set correctly, these files should be regenerated as required. If you don't see them getting generated, or you get a blank page or something similar to that, double-check your file permissions. (I'd suggest also flushing the .php files from cache/t_compile -- same applies as above.)

Alec Smecher
Public Knowledge Project Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests