You are viewing the PKP Support Forum | PKP Home Wiki

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 5
Joined: Sun Feb 03, 2013 7:16 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
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot] and 5 guests