PHP 7.2 downgraded to php 5.6

Our VPS provider downgraded PHP from 7.2.2 to 5.6. Is there a list of changes that we need to back out to support 5.6 running OJS 2.4.8.5?

(We asked them to investigate what it would take to install PHP 5.6
…they translated that to “INSTALL PHP 5.6”!)

I don’t think OJS 2.4.8-5 implements any code which requires PHP7 (at least in core). Are you getting specific errors in your error log?

That said, PHP 5.6 is beyond end-of-life and PHP 7.x is standard. It is strongly recommended to use PHP 7.x.

Per these following links, it seems that there are pieces that were modified for php 7.x

and


So we need to back them out…somehow. Thanks,

A substantial amount of work was done to remove deprecated or obsolete PHP 4.x or 5.3.x/5.4.x functions and syntax which would cause warnings and errors in PHP7. That work did not generally make the code incompatible with PHP 5.6.

These changes would not need to be reverted.

Code which is PHP7-only is fairly limited: e.g., the coalescing operator ??, or empty array assignment by [], or some other changes. If any of these constructs are used, they will show up in your error log as syntax errors, and will need to be backed out. I don’t think such exists in 2.4.8-5 code.

PHP 7.x removed a couple of functions that are in 5.x

Richard A. DeVito Jr.
Publisher
Weston Medical Publishing, LLC, 470 Boston Post Road, Suite 301, Weston, MA 02493 USA
radjr@pnpco.com - 781-899-2702 ext. 107 - 781-899-4900 fax
Join us at the 2020 International Conference on Opioids, June 14-16, 2020
www.opioidconference.org http://www.opioidconference.org/

Thanks. Upon downgrading, we received no php 7.x errors. I copied two blocks of errrors. First is for 5.6 and the second is for 7.2.2. Any thoughts please? Thank you!!!

PHP 5.6 errors
[Wed Oct 09 12:48:58.753332 2019] [proxy_fcgi:error] [pid 21943:tid 140042491975424] [client 34.231.43.114:34920] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:50:56.546699 2019] [proxy_fcgi:error] [pid 21940:tid 140043238975232] [client 157.142.237.168:1096] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’, referer: https://www.wmpllc.org/ojs/index.php/jom/article/view/2639/2727
[Wed Oct 09 12:51:08.111659 2019] [proxy_fcgi:error] [pid 21940:tid 140043238975232] [client 5.249.81.242:60630] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:51:15.349565 2019] [proxy_fcgi:error] [pid 21940:tid 140043163440896] [client 5.249.81.242:60641] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’, referer: https://www.wmpllc.org/ojs/index.php/jom/article/view/2631
[Wed Oct 09 12:51:15.752260 2019] [proxy_fcgi:error] [pid 21940:tid 140043549505280] [client 40.94.28.77:49675] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:51:16.383744 2019] [proxy_fcgi:error] [pid 21940:tid 140043415222016] [client 40.94.28.77:49675] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:51:20.460143 2019] [proxy_fcgi:error] [pid 21940:tid 140043692181248] [client 40.94.97.100:49673] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:52:28.295649 2019] [proxy_fcgi:error] [pid 21940:tid 140043658610432] [client 5.249.81.242:2557] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’, referer: https://www.wmpllc.org/ojs/index.php/jom/index
[Wed Oct 09 12:52:52.565312 2019] [proxy_fcgi:error] [pid 21940:tid 140043658610432] [client 5.249.81.242:60651] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’, referer: https://www.wmpllc.org/ojs/index.php/jom/index
[Wed Oct 09 12:53:13.009512 2019] [proxy_fcgi:error] [pid 21940:tid 140043658610432] [client 5.249.81.242:60654] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’, referer: https://www.wmpllc.org/ojs/index.php/jom/article/view/2638/2726
[Wed Oct 09 12:53:17.091447 2019] [proxy_fcgi:error] [pid 21943:tid 140043750930176] [client 5.249.81.242:60659] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’, referer: https://www.wmpllc.org/ojs/index.php/jom/article/view/2638/2726
[Wed Oct 09 12:53:21.868573 2019] [proxy_fcgi:error] [pid 21940:tid 140043658610432] [client 66.168.239.49:52301] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:53:45.214763 2019] [proxy_fcgi:error] [pid 21943:tid 140042441619200] [client 157.55.39.21:2391] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:53:59.135529 2019] [proxy_fcgi:error] [pid 21940:tid 140043776108288] [client 93.46.63.176:49729] AH01071: Got error ‘PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: assert(): Assertion failed\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 443\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message: ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\n’
[Wed Oct 09 12:54:03.318826 2019] [proxy_fcgi:error] [pid 21940:tid 140043608254208] [client 40.94.25.89:49672] AH01071: Got error 'PHP message: ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 5.6.40\n Apache Version: N/A\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB\nPHP message:

PhP 7.x errors
[Wed Oct 09 08:08:36.923236 2019] [php7:notice] [pid 17591] [client 54.208.190.235:33002] 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: /home/radjr1/domains/wmpllc.org/public_html/ojs/classes/plugins/ReportPlugin.inc.php\n At line: 252\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.923960 2019] [php7:notice] [pid 17591] [client 54.208.190.235:33002] ojs2 has produced an error\n Message: WARNING: Declaration of AcronPlugin::getManagementVerbs() should be compatible with GenericPlugin::getManagementVerbs($verbs = Array)\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/acron/AcronPlugin.inc.php\n At line: 364\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.923995 2019] [php7:notice] [pid 17591] [client 54.208.190.235:33002] 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: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/acron/AcronPlugin.inc.php\n At line: 364\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.931715 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] ojs2 has produced an error\n Message: WARNING: fopen(/home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log): failed to open stream: Permission denied\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 437\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.931783 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] ojs2 has produced an error\n Message: WARNING: flock() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 438\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.931810 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] ojs2 has produced an error\n Message: WARNING: fclose() expects parameter 1 to be resource, boolean given\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/generic/usageStats/UsageStatsPlugin.inc.php\n At line: 445\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.933183 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] 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: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/blocks/notification/NotificationBlockPlugin.inc.php\n At line: 72\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.933809 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] ojs2 has produced an error\n Message: WARNING: Declaration of NavigationBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/blocks/navigation/NavigationBlockPlugin.inc.php\n At line: 66\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.935342 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] ojs2 has produced an error\n Message: WARNING: Declaration of InformationBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/blocks/information/InformationBlockPlugin.inc.php\n At line: 56\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.935923 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] ojs2 has produced an error\n Message: WARNING: Declaration of AuthorBiosBlockPlugin::getContents(&$templateMgr) should be compatible with BlockPlugin::getContents(&$templateMgr, $request = NULL)\n In file: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/blocks/authorBios/AuthorBiosBlockPlugin.inc.php\n At line: 57\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB
[Wed Oct 09 08:08:36.936652 2019] [php7:notice] [pid 20958] [client 3.92.135.36:55264] 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: /home/radjr1/domains/wmpllc.org/public_html/ojs/plugins/blocks/user/UserBlockPlugin.inc.php\n At line: 78\n Stacktrace: \n Server info:\n OS: Linux\n PHP Version: 7.2.20\n Apache Version: Apache/2\n DB Driver: mysqli\n DB server version: 5.5.63-MariaDB

The errors in your 5.6 log are related to file permissions, specifically on the file /home/radjr1/ojs-data/usageStats/usageEventLogs/usage_events_20191009.log. Check the owner, group, and permission settings for this (and similar files in your files_dir).

The warnings in your PHP 7.x log include the same, but also add developer warnings about method signatures. Only the errors (file permissions) will affect operation. The warnings can be suppressed.

Correct. For example, the old split function is now replaced by the explode function, which works in 5.6.x and 7.x.

Re permission, I set the owner from root to the account user and the errors stopped. Thanks for your help.

Yes, the logs cleaned up nicely. One more weird error though…
[Wed Oct 09 17:13:18.169279 2019] [proxy_fcgi:error] [pid 29283:tid 140042416441088] [client 5.8.31.90:39032] AH01071: Got error ‘PHP message: ojs2: 404 Not Found\n’, referer: http://www.wmpllc.org/ojs/index.php/jom/wp-login.php

This appears to be a scanner looking for wordpress vulnerabilities on your server.