[OJS 3.2.1-4] Cannot edit contributor: Failed Ajax request or invalid JSON


I recently upgraded to OJS 3.2.1-4 and can no longer edit contributors.

No matter what role or submission stage they are in, I get an error: “Failed Ajax request or invalid JSON returned.”

I’m running CentOS 7 with PHP 7.4.15 with nginx/fastCGI.

My php error logs show:

2021/02/23 12:32:34 [error] 21320#0: *121442 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Cannot redeclare smarty_modifier_date_format() (previously declared in /var/www/ojs-dev/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.date_format.php:29) in /var/www/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.date_format.php on line 29" while reading response header from upstream, client:, server: domain.tld, request: "GET /index.php/nab/$$$call$$$/grid/users/author/author-grid/edit-author?submissionId=17&publicationId=18&authorId=58&_=4614043985870 HTTP/1.1", upstream: "fastcgi://", host: "domain.tld", referrer: "https://domain.tld/index.php/journal/workflow/index/17/3"

Edit: I found the problem - I ran the upgrade out of a different folder. If I go back there it works.

1 Like