I got this deprecated message on my error log

dear, admin i got an error on my site error.log, i am using ojs302

[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::checkFrequency() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/plugins/generic/acron/PKPAcronPlugin.inc.php on line 315
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method ScheduledTaskHelper::_isInRange() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/classes/scheduledTask/ScheduledTaskHelper.inc.php on line 114
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[14-Sep-2017 13:45:24 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/classes/core/Request.inc.php on line 68
[14-Sep-2017 13:45:24 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/unipa486/public_html/ojtrans/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20
[14-Sep-2017 13:45:24 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/unipa486/public_html/ojtrans/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20
[14-Sep-2017 13:45:24 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/unipa486/public_html/ojtrans/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20
[14-Sep-2017 13:45:25 UTC] PHP Strict Standards: Declaration of PageHandler::authorize() should be compatible with PKPHandler::authorize($request, &$args, $roleAssignments, $enforceRestrictedSite = true) in /home/unipa486/public_html/ojtrans/lib/pkp/controllers/page/PageHandler.inc.php on line 19
[14-Sep-2017 13:45:25 UTC] PHP Deprecated: Non-static method Request::getContext() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/lib/pkp/classes/plugins/ThemePlugin.inc.php on line 409
[14-Sep-2017 13:45:25 UTC] PHP Deprecated: Non-static method PKPRequest::_checkThis() should not be called statically, assuming $this from incompatible context in /home/unipa486/public_html/ojtrans/classes/core/Request.inc.php on line 68
[14-Sep-2017 13:45:25 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getSeq() should be compatible with BlockPlugin::getSeq($contextId = NULL) in /home/unipa486/public_html/ojtrans/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20
[14-Sep-2017 13:45:25 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getBlockContext() should be compatible with BlockPlugin::getBlockContext($contextId = NULL) in /home/unipa486/public_html/ojtrans/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20
[14-Sep-2017 13:45:25 UTC] PHP Strict Standards: Declaration of DevelopedByBlockPlugin::getEnabled() should be compatible with BlockPlugin::getEnabled($contextId = NULL) in /home/unipa486/public_html/ojtrans/plugins/blocks/developedBy/DevelopedByBlockPlugin.inc.php on line 20

what should i do can any one help . thanks

Hi @radikalbebas

Which PHP version are you using in your webserver? @asmecher recommended running OJS 3.0.2 on PHP 5.6 or later, as you can see in this post :

Platform OS Linux
Versi PHP 5.6.31
Versi Apache Apache
Database driver mysql
Versi server database 5.6.37-log

Hi @radikalbebas

And is there some functionality missing on OJS you´ve noticed? Did you try to do something and it didn´t work?

nope, it appear after update from 2481 → 302 and in system information i still got this view

Current version: 2.4.8.1 (October 18, 2016 - 01:05 PM)

Latest version: 3.0.2.0 (February 1, 2017)

An updated version is available: Download | Download Patch | More Information
Version history
Version Major Minor Revision Build Date installed
2.4.8.1 2 4 8 1 2016-10-18
2.4.7.1 2 4 7 1 2015-11-05

this is the SS

Did you run the command

$ php tools/upgrade.php upgrade

And this message still showing up?

Hi @radikalbebas,

Those deprecation warnings are cosmetic. We’re working to resolve them in the next release of OJS, but for now you can ignore them. If they’re showing up in your browser, configure your PHP to send errors and warnings to a log file – this is recommended for production use anyway.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like