“Failed Ajax request or invalid JSON returned” errors on New Submission and Upload File

Dear @asmecher,

Why every uploaded file on new submission and upload file on panel add discussion errors?

error log :

[27-Jul-2017 14:28:13 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:13 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:13 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:13 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Declaration of SubmissionFilesGridHandler::authorize() should be compatible with GridHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/jakarta/public_html/jurnal/lib/pkp/controllers/grid/files/SubmissionFilesGridHandler.inc.php on line 205
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Declaration of SubmissionFilesGridHandler::initialize() should be compatible with GridHandler::initialize($request, $args = NULL) in /home/jakarta/public_html/jurnal/lib/pkp/controllers/grid/files/SubmissionFilesGridHandler.inc.php on line 205
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/jakarta/public_html/jurnal/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/jakarta/public_html/jurnal/classes/core/Request.inc.php on line 68
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Declaration of CustomBlockPlugin::getContents() should be compatible with BlockPlugin::getContents($templateMgr, $request = NULL) in /home/jakarta/public_html/jurnal/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 130
[27-Jul-2017 14:28:14 Asia/Jakarta] PHP Strict Standards: Declaration of SubmissionFileDAO::fromRow() should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in /home/jakarta/public_html/jurnal/classes/article/SubmissionFileDAO.inc.php on line 23

Help me please… . Thanks a Lots.

Hi @ceperlan,

Those errors are cosmetic and are caused by newer versions of PHP being stricter than before about coding conventions. We’re addressing them gradually – many will be resolved with OJS 3.1 – and in the meanwhile they’re best ignored.

Regards,
Alec Smecher
Public Knowledge Project Team