Failed Ajax request or invalid JSON returned - PHP Fatal error: Cannot redeclare smarty_function_html_options

Dear @asmecher,
I am using OJS 3.2.0.3 version.
I found next error, please can you help me, i tried to search on forum but without positive results.
See my problem:
When i click on read review, window with Failed Ajax request or invalid JSON returned was showed.
see figure:
Bez názvu
Then i visited error log and i found next:

office2.jmbfs.org [Mon Sep 21 14:32:00.885752 2020] [php7:error] [pid 99628] [client 194.160.92.168:58292] PHP Fatal error: Cannot redeclare smarty_function_html_options() (previously declared in /nfsmnt/hosting1_1/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/function.html_options.php:37) in /data/8/5/8593ba5c-3992-45ef-8e30-9829ff8933f1/jmbfs.org/sub/office2/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/function.html_options.php on line 37, referer https://office2.jmbfs.org/index.php/JMBFS/workflow/index/2039/3

How to repair this problem?
Lukas

Hello everybody who have a same problem like me,
i know it is a banal problem, but it is terrible sometimes,
i solved the problem with easy step included in OJS, where i cleared template caches in Administration.
Because OJS create new php file where function is duplicated.
I hope that my problem will be help full for all.
Lukas

1 Like