Failed Ajax request or invalid JSON returned. Error in multiple places

Hello

I know this error has been discussed before. When adding newith w articles whether with Quick Submit plugin or through default way. I get this error whenever

I add any contributor
I add any galley

and also I get this error at many places. I installed a fresh piece of OJS 3.2.1.4

My question is why this error comes. What can be the possible reasons?

I tried to edit config file but didn’t worked. Please help. I am fed up of this error. I have to add multiple articles manually but lag behind due to this error.

I am using Php 7.2. Can this be the reason?

Where as I am managing around 5 websites on OJS but never received this error.

Hello, could you please check your PHP logs for any errors? The errors there would hopefully provide us with more information about what’s going wrong.

[16-Feb-2021 14:50:51 UTC] ojs2: 404 Not Found
[16-Feb-2021 14:59:14 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:02:55 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:03:13 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:03:21 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:06:46 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:07:36 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:07:39 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:07:50 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:37 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:41 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:41 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:42 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:42 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:43 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:44 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:44 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:46 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:47 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:48 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:48 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:49 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:50 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:51 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:52 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:08:54 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:09:05 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:09:10 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:11:11 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:21 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:23 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:23 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:24 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:24 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:26 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:27 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:29 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:30 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:33 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:34 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:46 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:47 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:13:51 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:14:23 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:15:17 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:22:24 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:29:53 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:33:35 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:37:34 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:44:18 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:44:38 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:45:20 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:45:31 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:45:35 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:45:37 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:46:19 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:46:25 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:51:04 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:51:54 UTC] ojs2: 404 Not Found
[16-Feb-2021 15:53:08 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:53:15 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line 112
[16-Feb-2021 15:53:17 UTC] PHP Deprecated:  Non-static method PKPApplication::getRequest() should not be called statically in /home1/hislamicus/public_html/plugins/generic/customHeader/CustomHeaderPlugin.inc.php on line

Every time we’ve got this error in our installation it’s been related to spanish characters in our database (but our installation has been upgraded from version 2)…

Have you enabled other languages aside of english?
Are your articles, user names, etc in a language other than english?

Just adding this as the PHP error logs you posted don’t point to any other cause, as happened with our logs…

This might prove useful if it is related to your problem:

No it was afresh installation and we use only English language