File loader - 5804b56d02249 - Error

Why I am getting an email at Site Administrator as:

www.myjournal.web/ojs/usageStats/processing/usage_events_20161016.log

This log file should detail an error in processing your website usage into metrics for the PKP Statistics Framework. What does the log say when you view it?

error_log.txt file having record of 5 years with about 95 mb. Should I delete this file or erase the only error records?

  1. Log file says as:

[18-Oct-2016 16:49:46 UTC] ojs2 has produced an error
Message: WARNING: Cannot use a scalar value as an array
In file: /home/ojs/classes/journal/JournalSettingsDAO.inc.php
At line: 83
Stacktrace:
Server info:
OS: Linux
PHP Version: 5.4.45
Apache Version: N/A
DB Driver: mysql
DB server version: 5.5.49-cll-lve

When you refer to “error_log.txt” is that your webserver error log, or the log which you download after clicking on the link in the email?

The link in the email should give you a file which looks something like:

http://my.ojs.site/ojs
[2015-07-27 16:38:31] [Notice] Task process started.
[2015-07-27 16:38:31] [Error] The directory /usr/local/journals/my.ojs.site/files/usageStats/processing is not empty. This could indicate a previously failed process, or a concurrently running process.  This file will be automatically reprocessed if you are also using scheduledTasksAutoStage.xml, otherwise you will need to manually move any orphaned files in the processing directory back into the stage directory.
[2015-07-27 16:38:32] [Warning] The line number 320 from the file /usr/local/journals/my.ojs.site/files/usageStats/processing/2011-04.access.log contains an url that the system can't remove the base url from.
[2015-07-27 22:20:24] [Notice] File /usr/local/journals/my.ojs.site/files/usageStats/processing/2012-01.access.log was processed and archived.
[2015-07-27 22:20:24] [Notice] Task process stopped.

This is the information which will describe the cause of the email.