Hello!
We have error of usageStats, how can it danger? Full text of error from error_log:
[Sun Sep 10 14:09:18.501438 2017] [:error] [pid 25960] [client 66.249.64.5:65383] ojs2 has produced an error\n Message: WARNING: in_array() expects parameter 2 to be array, null given\n
In file: /www/home/jbpe/htdocs/plugins/generic/usageStats/UsageStatsLoader.inc.php\n At line: 190\n
Stacktrace: \n File: (unknown) line (unknown)\n
Function: PKPApplication->errorHandler(2, “in_array() expects parameter 2 to be array, null given”, “/www/home/jbpe/htdocs/plugins/generic/usageStats/UsageStatsLoader.inc.php”, 190, Array(27))\n
File: /www/home/jbpe/htdocs/plugins/generic/usageStats/UsageStatsLoader.inc.php line 190\n
Function: in_array(“city”, Null)\n File: /www/home/jbpe/htdocs/lib/pkp/classes/task/FileLoader.inc.php line 155\n Function: UsageStatsLoader->processFile("/www/home/jbpe/htdocs/files/usageStats/processing/usage_events_20170909.log", Null)\n
File: /www/home/jbpe/htdocs/plugins/generic/usageStats/UsageStatsLoader.inc.php line 128\n
Function: FileLoader->executeActions()\n
File: /www/home/jbpe/htdocs/lib/pkp/classes/scheduledTask/ScheduledTask.inc.php line 150\n
Function: UsageStatsLoader->executeActions()\n
File: /www/home/jbpe/htdocs/plugins/generic/acron/AcronPlugin.inc.php line 255\n
Function: ScheduledTask->execute()\n File: (unknown) line (unknown)\n
Function: AcronPlugin->shutdownFunction()\n Server info:\n OS: Linux\n PHP Version: 5.4.16\n
Apache Version: Apache/2.4.6 (CentOS) mpm-itk/2.4.7-01 OpenSSL/1.0.1e-fips mod_fcgid/2.3.9 PHP/5.4.16\n
DB Driver: mysql\n DB server version: 5.5.47-MariaDB-log