All Generic plugins error including custom block manager (Failed ajax request or invalid JSON returned)

Hi! Can anyone help us solve our problem in our OJS? whenever we try to edit our generic plugins.
This error will always show … we don’t have any idea anymore how to solve it or what causes the problem. Especially the custom block manager.
I hope somebody can help with our problem. Thank you so much!

we were using OJS Version 3.1.2.0

custom block loader
json error1

Hello,

Could you please check your PHP logs for further details on these errors and share them here?

Best,
Emma.

Hi Emma,

Thank you for your response to my post. These are the latest error logs given to us by our admin.

Regards,
Shaira

[Wed Mar 03 05:33:27.758400 2021] [php7:warn] [pid 27776] [client 172.16.210.112:39122] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-openaireplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 05:33:27.758441 2021] [php7:warn] [pid 27776] [client 172.16.210.112:39122] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Wed Mar 03 05:33:43.570167 2021] [php7:warn] [pid 28313] [client 172.16.210.112:39144] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/usep-journal/plugins/generic/addThis/AddThisPlugin.inc.php on line 0
[Wed Mar 03 05:33:43.570791 2021] [php7:warn] [pid 28313] [client 172.16.210.112:39144] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-driverplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 05:33:43.570893 2021] [php7:warn] [pid 28313] [client 172.16.210.112:39144] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Wed Mar 03 05:33:43.578132 2021] [php7:warn] [pid 28313] [client 172.16.210.112:39144] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-openaireplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 05:33:43.578172 2021] [php7:warn] [pid 28313] [client 172.16.210.112:39144] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Wed Mar 03 05:44:55.893975 2021] [php7:warn] [pid 29790] [client 172.16.210.112:39810] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/usep-journal/plugins/generic/addThis/AddThisPlugin.inc.php on line 0
[Wed Mar 03 05:44:55.894598 2021] [php7:warn] [pid 29790] [client 172.16.210.112:39810] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-driverplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 05:44:55.894693 2021] [php7:warn] [pid 29790] [client 172.16.210.112:39810] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Wed Mar 03 05:44:55.902008 2021] [php7:warn] [pid 29790] [client 172.16.210.112:39810] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-openaireplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 05:44:55.902049 2021] [php7:warn] [pid 29790] [client 172.16.210.112:39810] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Wed Mar 03 05:44:55.956063 2021] [php7:warn] [pid 29790] [client 172.16.210.112:39810] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/html/usep-journal/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20
[Wed Mar 03 06:00:33.381016 2021] [php7:warn] [pid 23555] [client 172.16.210.112:40858] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/usep-journal/plugins/generic/addThis/AddThisPlugin.inc.php on line 0
[Wed Mar 03 06:00:33.381645 2021] [php7:warn] [pid 23555] [client 172.16.210.112:40858] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-driverplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 06:00:33.381740 2021] [php7:warn] [pid 23555] [client 172.16.210.112:40858] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Wed Mar 03 06:00:33.389109 2021] [php7:warn] [pid 23555] [client 172.16.210.112:40858] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-openaireplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 06:00:33.389159 2021] [php7:warn] [pid 23555] [client 172.16.210.112:40858] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Wed Mar 03 06:06:45.477949 2021] [php7:warn] [pid 29884] [client 172.16.210.112:41420] PHP Warning: Declaration of AddThisPlugin::register($category, $path) should be compatible with LazyLoadPlugin::register($category, $path, $mainContextId = NULL) in /var/www/html/usep-journal/plugins/generic/addThis/AddThisPlugin.inc.php on line 0
[Wed Mar 03 06:06:45.478572 2021] [php7:warn] [pid 29884] [client 172.16.210.112:41420] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-driverplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 06:06:45.478666 2021] [php7:warn] [pid 29884] [client 172.16.210.112:41420] PHP Warning: Declaration of DRIVERDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/driver/DRIVERDAO.inc.php on line 19
[Wed Mar 03 06:06:45.485983 2021] [php7:warn] [pid 29884] [client 172.16.210.112:41420] PHP Warning: file_put_contents(/var/www/html/usep-journal/cache/fc-pluginSettings-10-openaireplugin.php): failed to open stream: Permission denied in /var/www/html/usep-journal/lib/pkp/classes/cache/FileCache.inc.php on line 90
[Wed Mar 03 06:06:45.486024 2021] [php7:warn] [pid 29884] [client 172.16.210.112:41420] PHP Warning: Declaration of OpenAIREDAO::setOAI(&$oai) should be compatible with PKPOAIDAO::setOAI($oai) in /var/www/html/usep-journal/plugins/generic/openAIRE/OpenAIREDAO.inc.php on line 0
[Wed Mar 03 06:06:45.548368 2021] [php7:warn] [pid 29884] [client 172.16.210.112:41420] PHP Warning: Declaration of SubmissionKeywordEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL) should be compatible with ControlledVocabEntryDAO::getByControlledVocabId($controlledVocabId, $rangeInfo = NULL, $filter = NULL) in /var/www/html/usep-journal/lib/pkp/classes/submission/SubmissionKeywordEntryDAO.inc.php on line 20

Hi @Shayroo,

There appears to be a file permission problem in your cache directory. Make sure OJS is able to create/modify/delete files there.

Regards,
Alec Smecher
Public Knowledge Project Team