OJS 2.4.8.4 PHP 7.2 issues

So I tried an upgrade from 2.4.8-0 to 2.4.8-4 with php 7.2.16 and I got a blank screen.
Steps: Backed up public and config.inc.php
rm -rf ojs/*
/bin/cp -R ojs-2.4.8-4/* ojs/
replaced public and config.inc.php
tested and I got a blank page.
I ran php tools/upgrade.php upgrade
tested and I got a blank page
cleared browser cache.
tested, blank page
wiped out the database and the ojs directory
went for a install just to see if it would work
blank page.
OJS 2.4.x does not appear to be compatible with php 7.2. The doc/README says it’s compatible with php 7…
Below is a sample of the errors I received.

Tue May 14 16:09:17.479303 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of ThesisPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/thesis/ThesisPlugin.inc.php\n At line: 18\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.479624 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of ThesisFeedPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/thesisFeed/ThesisFeedPlugin.inc.php\n At line: 156\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.480188 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of UsageStatsPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 472\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.480633 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of ReportPlugin::manage($verb, $args) should be compatible with PKPPlugin::manage($verb, $args, &$message, &$messageParams, $request = NULL)\n In file: /data/www/ojs/classes/plugins/ReportPlugin.inc.php\n At line: 252\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.481018 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of BackupPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/backup/BackupPlugin.inc.php\n At line: 185\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.483199 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of DataversePlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/dataverse/DataversePlugin.inc.php\n At line: 1844\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.483840 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of DataversePackager::addFile($filePath, $fileName) should be compatible with PackagerAtomTwoStep::addFile($sac_thefile)\n In file: /data/www/ojs/plugins/generic/dataverse/classes/DataversePackager.inc.php\n At line: 17\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.486666 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of ReferralPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/referral/ReferralPlugin.inc.php\n At line: 288\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.487031 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of BrowsePlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/browse/BrowsePlugin.inc.php\n At line: 192\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.487429 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of PiwikPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/piwik/PiwikPlugin.inc.php\n At line: 235\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.487459 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of PiwikPlugin::manage($verb, $args) should be compatible with GenericPlugin::manage($verb, $args, &$message, &$messageParams)\n In file: /data/www/ojs/plugins/generic/piwik/PiwikPlugin.inc.php\n At line: 235\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.487861 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of StaticPagesPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/staticPages/StaticPagesPlugin.inc.php\n At line: 205\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.488306 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of GoogleAnalyticsPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/googleAnalytics/GoogleAnalyticsPlugin.inc.php\n At line: 251\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.489657 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of XMLGalleyPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/xmlGalley/XMLGalleyPlugin.inc.php\n At line: 326\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.490205 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of SwordPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/sword/SwordPlugin.inc.php\n At line: 341\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.490772 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of TinyMCEPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/tinymce/TinyMCEPlugin.inc.php\n At line: 430\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.491385 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of StopForumSpamPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/stopForumSpam/StopForumSpamPlugin.inc.php\n At line: 213\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.493324 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of PLNPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/pln/PLNPlugin.inc.php\n At line: 771\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.495825 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of UsageEventPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/usageEvent/UsageEventPlugin.inc.php\n At line: 422\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.496472 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of CustomBlockManagerPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/customBlockManager/CustomBlockManagerPlugin.inc.php\n At line: 175\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.497156 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of ExternalFeedPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/externalFeed/ExternalFeedPlugin.inc.php\n At line: 409\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.498071 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of TranslatorPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/translator/TranslatorPlugin.inc.php\n At line: 85\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.498422 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of WebFeedPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/webFeed/WebFeedPlugin.inc.php\n At line: 206\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.498768 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of CustomLocalePlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/customLocale/CustomLocalePlugin.inc.php\n At line: 136\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.499867 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of LucenePlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/lucene/LucenePlugin.inc.php\n At line: 1036\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.503828 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of AnnouncementFeedPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/announcementFeed/AnnouncementFeedPlugin.inc.php\n At line: 148\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.504171 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of PhpMyVisitesPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/phpMyVisites/PhpMyVisitesPlugin.inc.php\n At line: 182\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.504865 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of AcronPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /data/www/ojs/plugins/generic/acron/AcronPlugin.inc.php\n At line: 364\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.504895 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of AcronPlugin::manage($verb, $args, &$message) should be compatible with GenericPlugin::manage($verb, $args, &$message, &$messageParams)\n In file: /data/www/ojs/plugins/generic/acron/AcronPlugin.inc.php\n At line: 364\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.510384 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of dbTable::create(&$xmls) should be compatible with dbObject::create()\n In file: /data/www/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php\n At line: 598\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.510457 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of dbIndex::create(&$xmls) should be compatible with dbObject::create()\n In file: /data/www/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php\n At line: 762\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.510556 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of dbData::create(&$xmls) should be compatible with dbObject::create()\n In file: /data/www/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php\n At line: 949\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.510650 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of dbQuerySet::create(&$xmls) should be compatible with dbObject::create()\n In file: /data/www/ojs/lib/pkp/lib/adodb/adodb-xmlschema.inc.php\n At line: 1200\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.520533 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of ValidatorUrl::getRegexp() should be compatible with ValidatorUri::getRegexp($allowedSchemes = NULL)\n In file: /data/www/ojs/lib/pkp/classes/validation/ValidatorUrl.inc.php\n At line: 19\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.520791 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of InstallForm::display() should be compatible with Form::display($request = NULL, $template = NULL)\n In file: /data/www/ojs/classes/install/form/InstallForm.inc.php\n At line: 25\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.520818 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of InstallForm::execute() should be compatible with Form::execute($object = NULL)\n In file: /data/www/ojs/classes/install/form/InstallForm.inc.php\n At line: 25\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.520947 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of UpgradeForm::display() should be compatible with Form::display($request = NULL, $template = NULL)\n In file: /data/www/ojs/classes/install/form/UpgradeForm.inc.php\n At line: 96\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.520972 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of UpgradeForm::execute() should be compatible with Form::execute($object = NULL)\n In file: /data/www/ojs/classes/install/form/UpgradeForm.inc.php\n At line: 96\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.523606 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of PKPInstallHandler::index($args, &$request) should be compatible with PKPHandler::index()\n In file: /data/www/ojs/lib/pkp/pages/install/PKPInstallHandler.inc.php\n At line: 21\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.523642 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of PKPInstallHandler::validate($request) should be compatible with PKPHandler::validate($requiredContexts = NULL, $request = NULL)\n In file: /data/www/ojs/lib/pkp/pages/install/PKPInstallHandler.inc.php\n At line: 21\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.524267 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Parameter 2 to PKPInstallHandler::index() expected to be a reference, value given\n In file: /data/www/ojs/lib/pkp/classes/core/PKPRouter.inc.php\n At line: 362\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.527942 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: fopen(/data/www/ojs/cache/fc-locale-39ad57a0a799a092b476f7b3d029e60d.php): failed to open stream: Permission denied\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 86\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.527989 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: chmod(): No such file or directory\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 89\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.528427 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: fopen(/data/www/ojs/cache/fc-locale-1cfde42be2b25bdac1c9a16538de37a8.php): failed to open stream: Permission denied\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 86\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.528464 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: chmod(): No such file or directory\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 89\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.529451 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: fopen(/data/www/ojs/cache/fc-locale-03b174b61510807426c2a2c128f6a86a.php): failed to open stream: Permission denied\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 86\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.529488 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: chmod(): No such file or directory\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 89\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.529818 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: fopen(/data/www/ojs/cache/fc-locale-list.php): failed to open stream: Permission denied\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 86\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.529859 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: chmod(): No such file or directory\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 89\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.530321 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: fopen(/data/www/ojs/cache/fc-locale-8c15ce7dfec31e437114d80f1f936272.php): failed to open stream: Permission denied\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 86\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.530358 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: chmod(): No such file or directory\n In file: /data/www/ojs/lib/pkp/classes/cache/FileCache.inc.php\n At line: 89\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.531350 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of UserBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /data/www/ojs/plugins/blocks/user/UserBlockPlugin.inc.php\n At line: 18\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.531611 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of SubscriptionBlockPlugin::getContents(&$templateMgr, $request) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /data/www/ojs/plugins/blocks/subscription/SubscriptionBlockPlugin.inc.php\n At line: 93\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.532023 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of FontSizeBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /data/www/ojs/plugins/blocks/fontSize/FontSizeBlockPlugin.inc.php\n At line: 88\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.532282 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of KeywordCloudBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /data/www/ojs/plugins/blocks/keywordCloud/KeywordCloudBlockPlugin.inc.php\n At line: 86\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.532532 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of NotificationBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /data/www/ojs/plugins/blocks/notification/NotificationBlockPlugin.inc.php\n At line: 72\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.532779 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of DonationBlockPlugin::getContents(&$templateMgr, $request) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /data/www/ojs/plugins/blocks/donation/DonationBlockPlugin.inc.php\n At line: 82\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql
[Tue May 14 16:09:17.533174 2019] [php7:notice] [pid 24057] [client 172.16.2.81:54883] ojs2 has produced an error\n Message: WARNING: Declaration of LanguageToggleBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /data/www/ojs/plugins/blocks/languageToggle/LanguageToggleBlockPlugin.inc.php\n At line: 106\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: mysql

Hi @eamallory

Those are warnings about method declarations, and are cosmetic and should not affect OJS. Can you search the log for the word “fatal” and find the problem?

Cheers,

There are several pending fixes for OJS 2.4.8-4 and compatibility with PHP 7:

Hello,

Thanks for responding. So The problems I listed yesterday were not fatal, furthermore, they were due to a permissions oversight on my part. I corrected the permissions and I was able to upgrade successfully. Yay!

However, the quickSubmit plugin is having issues. Below is the relevant log entry. Any help you can give is much apricated.

Message: WARNING: Declaration of AuthorSubmitForm::display() should be compatible with Form::display($request = NULL, $template = NULL)\n In file: /data/www/ojs/classes/author/form/submit/AuthorSubmitForm.inc.php\n At line: 127\n Stacktrace:
\n Server info:\n OS: Linux\n PHP Version: 7.2.16\n Apache Version: Apache/2.4.6 (Red Hat Enterprise Linux) OpenSSL/1.0.2k-fips PHP/7.2.16\n DB Driver: MySqli\n DB server version: 5.5.60-MariaDB, referer: https://sandbox-502.wichita.edu/index.php/ag/manager/importexport/plugin/QuickSubmitPlugin/saveSubmit

[Wed May 15 08:52:21.298968 2019] [php7:error] [pid 10423] [client 172.16.2.81:52783]
PHP Fatal error: Uncaught Error: Using $this when not in object context in /data/www/ojs/classes/author/form/submit/AuthorSubmitForm.inc.php:109\n Stack trace:\n#0 /data/www/ojs/plugins/importexport/quickSubmit/QuickSubmitForm.inc.php(409):
AuthorSubmitForm::assignEditors(Object(Article))\n#1 /data/www/ojs/plugins/importexport/quickSubmit/QuickSubmitPlugin.inc.php(143): QuickSubmitForm->execute()\n#2 /data/www/ojs/plugins/importexport/quickSubmit/QuickSubmitPlugin.inc.php(57): QuickSubmitPlugin->saveSubmit(Array,
Object(Request))\n#3 /data/www/ojs/pages/manager/ImportExportHandler.inc.php(43): QuickSubmitPlugin->display(Array, Object(Request))\n#4 /data/www/ojs/lib/pkp/classes/core/PKPRouter.inc.php(362): ImportExportHandler->importexport(Array, Object(Request))\n#5
/data/www/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(220): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#6 /data/www/ojs/lib/pkp/classes/core/Dispatcher.inc.php(134): PKPPageRouter->route(Object(Request))\n#7 /data/www/ojs/lib/pkp
in /data/www/ojs/classes/author/form/submit/AuthorSubmitForm.inc.php on line 109, referer: https://sandbox-502.wichita.edu/index.php/ag/manager/importexport/plugin/QuickSubmitPlugin/saveSubmit

Thanks!

Addendum:
I downloaded the latest stable release and the error persists.
PHP Fatal error: Uncaught Error: Using $this when not in object context in /data/www/ojs/classes/author/form/submit/AuthorSubmitForm.inc.php:109\nStack trace:\n#0 /data/www/ojs/plugins/importexport/quickSubmit/QuickSubmitForm.inc.php(409): AuthorSubmitForm::assignEditors(Object(Article))\n#1 /data/www/ojs/plugins/importexport/quickSubmit/QuickSubmitPlugin.inc.php(143): QuickSubmitForm->execute()\n#2 /data/www/ojs/plugins/importexport/quickSubmit/QuickSubmitPlugin.inc.php(57): QuickSubmitPlugin->saveSubmit(Array, Object(Request))\n#3 /data/www/ojs/pages/manager/ImportExportHandler.inc.php(43): QuickSubmitPlugin->display(Array, Object(Request))\n#4 /data/www/ojs/lib/pkp/classes/core/PKPRouter.inc.php(362): ImportExportHandler->importexport(Array, Object(Request))\n#5 /data/www/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(220): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#6 /data/www/ojs/lib/pkp/classes/core/Dispatcher.inc.php(134): PKPPageRouter->route(Object(Request))\n#7 /data/www/ojs/lib/pkp in /data/www/ojs/classes/author/form/submit/AuthorSubmitForm.inc.php on line 109, referer: https://sandbox-502.wichita.edu/index.php/ag/manager/importexport/plugin/QuickSubmitPlugin/saveSubmit

Thanks :slightly_smiling_face:
Erik

Hi Erik,

I have a small patch that is untested, but may fix this for you. Please edit the two files in the patch and try again.

Cheers,
Jason

That did the trick in my sandbox environment! I’ll get this to our librarians and see if they can find any other issues.

Thanks,

1 Like

Nice! I’ll file an issue and see if this fix passes muster with the dev team.

There’s an error with static call to $this also in the Citation Markup Assistant. I’m testing the ojs-stable-2_4_8 branch (OJS 2.4.8.5) on PHP 7.1 and got this error when trying to enter the references editor:

PHP Fatal error: Uncaught Error: Using $this when not in object context in /var/www/html/ojs/lib/pkp/classes/submission/common/PKPAction.inc.php:40\nStack trace:\n#0 /var/www/html/ojs/pages/sectionEditor/SubmissionEditHandler.inc.php(398): PKPAction::editCitations(Object(Request), Object(SectionEditorSubmission))\n#1 /var/www/html/ojs/lib/pkp/classes/core/PKPRouter.inc.php(362): SubmissionEditHandler->submissionCitations(Array, Object(Request))\n#2 /var/www/html/ojs/lib/pkp/classes/core/PKPPageRouter.inc.php(220): PKPRouter->_authorizeInitializeAndCallRequest(Array, Object(Request), Array, false)\n#3 /var/www/html/ojs/lib/pkp/classes/core/Dispatcher.inc.php(134): PKPPageRouter->route(Object(Request))\n#4 /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.inc.php(180): Dispatcher->dispatch(Object(Request))\n#5 /var/www/html/ojs/index.php(64): PKPApplication->execute()\n#6 {main}\n thrown in /var/www/html/ojs/lib/pkp/classes/submission/common/PKPAction.inc.php on line 40, referer: http://233.ablak.arnes.si/ojs/IAS/editor/submissionEditing/2089

It seems that /lib/pkp/classes/submission/common/PKPAction.inc.php should be fixed, but there are several other files involved, so I’m not sure where to start fixing the calls, like you did for the quickSubmit plugin.

Regards, Ales

:thinking: hmm, it works if I just replace $this with $request in line 40 of ojs/lib/pkp/classes/submission/common/PKPAction.inc.php

$dispatcher =& $request->getDispatcher();

Quick testing in the submission interface didn’t show any new errors and it looks that the Citation Markup Assistant works fine.

Hi @AlexKladnik,

Would you mind submitting a PR for that change? We may well never release another OJS 2.x build, but it’ll be good to have it in the git repository anyway.

Thanks,
Alec Smecher
Public Knowledge Project Team

Thanks Alec,
but I’m not sure if I know how to do it. I just started using git, so I cloned ojs-stable-2_4_8 branch directly from the online repository and I’m doing only local modifications.

For making my changes public, I would probably need to fork the official repository, do a clone from my forked repository, make modifications, push to my repository and then create a pull request, if I understand git correctly?

I have some modifications that are generally interesting and others that are useful just for our site. I did a git diff to generate a patch file with all my modifications, so I imagine I could fork the official branch, apply the patch, and clone from my forked repository. Can I create a pull request only for specific files, even if I submit all changes in one commit? And I’m not sure what do with additional binary files (some additional images). And I don’t want to upload config.inc.php to a public repository :smile:

Hi @AlesKladnik,

Yes, the process you’ve outlined is right. (If you already have a local git clone, rather than cloning it again from your fork, you can do a git remote add to register your fork with your existing checkout, but either way works.)

It’s also possible to edit files directly on github, but for working with code, I don’t really recommend it.

For pulling changes between repositories, it helps to keep commits separate (one change per commit) – then you can git checkout another branch (or create a new branch) and git cherry-pick the change into it.

This all takes some time to wrap your head around, but stick with it, it’s worth the effort!

Thanks,
Alec Smecher
Public Knowledge Project Team

Hi Alec,
I did my own fork in github, and pushed two separate commits that fix two important issues. I created a pull request for the first commit pkp/pkp-lib#5018 ojs2 warning errors fill the server log (using PHP 7) by aleskl · Pull Request #5019 · pkp/pkp-lib · GitHub, then pushed another commit but it ended up in the same pull request - don’t know how to publish two separate pull requests :thinking:

And I opened two issues ojs2 warning errors fill the server log (using PHP 7) · Issue #5018 · pkp/pkp-lib · GitHub and ojs2 fatal error with static call to $this in the Citation Markup Assistant in PHP 7 · Issue #5020 · pkp/pkp-lib · GitHub, but I’m not sure if that’s the proper way. I should probably connect these issues to the pull request?

Hi @AlesKladnik,

You can only open one pull request per branch – and it’s good practice anyway to create a branch for each thing you’re working with. So I’d suggest creating two branches, each containing a fix for one issue, and then opening a pull request from each.

Regards,
Alec Smecher
Public Knowledge Project Team

1 Like

Thanks Jason. This was so helpful. :smile:

I am using OJS 2.4.8-5.

When I submitted using the Quick submit, I got the blank page.

My question is this. How do I see all those previous submissions that showed a blank page? Is there a way to see those submissions listed in unassigned submission?

In the files directory, I see the folders for all the submissions that produced a blank page. I just do not see them listed in unassigned submission. Do you know how to get it to show up in the list of submissions?

If the files cannot be listed, is there a way to delete them?

Can you please help?

Thanks!

Update for anyone that might have this issue.

For the submissions that produced a blank page, I was able to see it under Archives, as published even though it is not part of any issue. When I opened any one of the submission, under the summary tab, Status section show partial information (Status published), and the Submission Metadata is blank. I also could not delete these submissions as I normally would with a regular submission.

For the Status section, which you see in the Summary of a submission, it shows the following:
Status:
Initiated:
Last modified:
Link to Restore to Active List.

None of the submissions that produced a blank page showed this.

I was able to delete all these submissions directly from the database, as well as remove their respective folders from the File directory.

On a similar note, I saw that clicking the References for each submission produces a blank page. This was happening before the delete of these incomplete submissions.

Hi @newone,

Blank pages generally mean errors in the PHP error log; I’d recommend checking there for specifics.

Regards,
Alec Smecher
Public Knowledge Project Team