Multiple PHP Warning after upgrading to OJS 3.1.1

Hello, I’m getting these PHP Warnings after upgrading OJS to version 3.1.1:

PHP Warning:  Declaration of PKPUsageEventPlugin::getEnabled() should be compatible with LazyLoadPlugin::getEnabled($contextId = NULL) in ****/lib/pkp/plugins/generic/usageEvent/PKPUsageEventPlugin.inc.php on line 0

PHP Warning:  Declaration of CustomBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in ****/plugins/generic/customBlockManager/CustomBlockPlugin.inc.php on line 19

PHP Warning:  Declaration of CategoryGridHandler::doSpecificFetchGridActions($args, $request, &$templateMgr) should be compatible with GridHandler::doSpecificFetchGridActions($args, $request, $templateMgr) in ****/lib/pkp/classes/controllers/grid/CategoryGridHandler.inc.php on line 0

PHP Warning:  Declaration of SystemInfoGridCategoryRow::initialize($request) should be compatible with GridRow::initialize($request, $template = NULL) in ****/lib/pkp/controllers/grid/admin/systemInfo/SystemInfoGridCategoryRow.inc.php on line 0

PHP Warning:  Declaration of SystemInfoGridHandler::initialize($request) should be compatible with CategoryGridHandler::initialize($request, $args = NULL) in ****/lib/pkp/controllers/grid/admin/systemInfo/SystemInfoGridHandler.inc.php on line 19
PHP Warning:  Declaration of SystemInfoGridHandler::loadCategoryData($request, $configSection) should be compatible with CategoryGridHandler::loadCategoryData($request, &$categoryDataElement, $filter = NULL) in ****/lib/pkp/controllers/grid/admin/systemInfo/SystemInfoGridHandler.inc.php on line 19

PHP Warning:  Division by zero in ****/lib/pkp/classes/core/ArrayItemIterator.inc.php on line 134

PHP Warning:  Declaration of SubmissionFileDAO::fromRow($row) should be compatible with PKPSubmissionFileDAO::fromRow($row, $fileImplementation) in ****/classes/article/SubmissionFileDAO.inc.php on line 23

Can anyone tell me how to solve them? Or any of them?

Hi @david_web

What is your php version on server? Is something not working on your OJS install?

Warnings serve as future compliance checking and most likely will serve to dev team fix it on future releases.

Regards,
Israel Cefrin
Public Knowledge Project Team

PHP Version: 7.1.13

All that I’ve tested is running

And what is not working on system when you see this error messages?

Regards,
Israel Cefrin
Public Knowledge Project Team