Got error: Failed Ajax request or invalid JSON returned, when creating Galley

Hello everyone,

I have OJS installed on virtual server. Today I tried to upload new submissions from QuickSubmit Plugin. When I try to add Galley, I got this error:

Failed Ajax request or invalid JSON returned

Screenshot 2021-07-21 at 14.43.28

So, i can’t to upload any PDF file.

Unfortunately, I can’t add or change anything in Cloudways virtual server. Can you help me in this situation?

Thank you!

Hi @Dimitri_Gogelia

Have you already checked your webserver log error and your browser console log? They can show you critical info about this issue.

Israel Cefrin
PKP Team

I got this error:

[Wed Jul 21 11:51:34.222637 2021] [proxy_fcgi:error] [pid 22299:tid 140056098289408] [client] AH01071: Got error ‘PHP message: PHP Fatal error: Uncaught Error: Call to undefined method SubmissionFileDAO::getAllFileStages() in /…l/index.php(68): PKPApplication->execute()\n#5 {main}\n thrown in /home/…’, referer:

But very interesting that, after when i completely delete installation files and upload fresh files, error is gone!