Cannot use a scalar as an array

Hi @asmecher,
Thank you for your suggestions about the code. So now I know what is the problem I have more than one metacitations in one journal.
image

Can you suggest me how rows I need to delete or how can fix the problem. I tried delete the journal_id 13,14,15 than locale=’’, moved one log on folder stage and after ran the script /var/www/html/ojs/tools/runScheduledTasks.php /var/www/html/ojs/lib/pkp/plugins/generic/usageStats/scheduledTasks.xml …the task now not show me error, but the file isn’t upload in the table metrics. when I checked the error in the logs in apache show me

PHP Warning: array_merge(): Argument #2 is not an array in /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.inc.php on line 578

can you help me what more steps I need to check for fix the upload the usages statistics ? the problem only is for upload, because the create of files is fine.