Urgent Help Getting 500 on article click

Describe the issue or problem
Clicking on article getting 500 error. Below is the error checked in error.log

PHP Fatal error: Uncaught → Smarty Compiler: Syntax error in template “app:app:frontendobjectsarticledet” on line 380 “{/if}” unexpected closing tag ←
thrown in /home/egjnxotixh00/public_html/lib/pkp/lib/vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 380

Steps I took leading up to the issue

  1. Article clicked

What application are you using?

Additional information

Hi @waqar,

Have you been modifying your template files? It sounds like there’s an error in one. Check templates/frontend/objects/article_details.tpl, or the equivalent in the theme you’re using (e.g. for Bootstrap 3 it would be plugins/themes/bootstrap3/templates/frontend/objects/article_details.tpl).

Alec Smecher
Public Knowledge Project Team

Hello @asmecher

No, I did not make any change into templates files.


Hi @waqar,

Something has changed the contents of your template file. I’d suggest checking its contents against the version you installed (either from the OJS download package, or wherever you got the theme you’re using).

Alec Smecher
Public Knowledge Project Team

Hi @asmecher

I’m looking into it. Thanks for your guidance. Appreciated.

Waqar Akram