Closed hktang closed 2 years ago
@hktang, it seems like recent releases of PHP 8.x have suddenly gotten stricter about this aspect. https://github.com/pkp/pkp-lib/commit/8dc4fde42cbdeec91460e16cb8a6c42340a9c4c1 (applied in lib/pkp
) should fix this for you.
Thank you for the fix! I confirm it works as expected now.
:+1: Thanks for confirming!
Describe the bug
Hi, I tried to install OJS using the Git repository. The installation went well, but when it comes to setting up the checklist in the journal, I always receive the message "Failed Ajax request or invalid JSON returned.".
On the server side, I got this fatal error:
The browser developer tool shows 500 error:
I tried both the latest commit and the 3.3.0.10 version, and encountered same error on both.
To Reproduce
Steps to reproduce the behaviour:
Workflow
->Submission
->Checklist
and clickAdd item
What application are you using?
OJS, version 3.4.0 and 3.3.0.10
Additional information
I have searched through the community forum and read a couple of threads with similar errors. However, none of them seem to be relevant. Thank you in advance for taking a look!