Error with smarty? User Interface loaded with error message after OJS migration ( ->

  • Application Version: OJS
  • Description of issue

After OJS application upgraded successfully, from version to latest version through CLI, our user interface doesn’t rendered correctly. It looks like the template doesn’t loaded and nothing appear except the header and login page. When we check the connection with Developer Tools in Firefox, OJS server returned 503 error code.

I’ve try to reset the cache and also remove the template cache, but the notice keep showing in our logs and the OJS website still loaded incorrectly.

  • Error log messages if applicable

Here the notice we found in our server:

[Wed Feb 10 08:23:56.407193 2021] [fcgid:warn] [pid 18886:tid 140203503122176] [client X.Y.Z.A:25049] mod_fcgid: stderr: PHP Fatal error: Uncaught Error: Call to a member function getOption() on null in /home1/u12211sqv/domain/^
mod_fcgid: stderr: Stack trace:
 #0 /home1/u12211sqv/domain/ content_602397e7931106_45164731()
#1 /home1/u12211sqv/domain/ Smarty_Template_Resource_Base->getRenderedTemplateCode()
#2 /home1/u12211sqv/domain/ Smarty_Template_Compiled->render()
#3 /home1/u12211sqv/domain/ S in /home1/u12211sqv/domain/^ on line 37
  • screenshot
    Screenshot_2021-02-10 Jurnal Biomedika dan Kesehatan

Any clues for me about the issues?

Hi @yfktn,

Can you check if there is any active theme (Website → Appearance → Theme)?

Yes, this is the solution, somehow our previous theme doesn’t selected automatically.

Thank you …

1 Like