Hi,
Two days ago I have seen some strange errors in the Apache log file:
[Sun Nov 26 14:47:39.450076 2017] [:error] [pid 12696] [client XXX.XXX.XXX.XX:20217] PHP Warning: assert(): Assertion failed in /var/www/html/my.hostname.ca/lib/pkp/controllers/grid/submissions/SubmissionsListGridCellProvider.inc.php on line 143, referer: https://my.hostname.ca/journalname/submissions
[Sun Nov 26 14:47:39.450098 2017] [:error] [pid 12696] [client XXX.XXX.XXX.XX:20217] PHP Fatal error: Call to a member function getId() on a non-object in /var/www/html/my.hostname.ca/lib/pkp/controllers/grid/submissions/SubmissionsListGridCellProvider.inc.php on line 147, referer: https://my.hostname.ca/journalname/submissions
[Mon Nov 27 04:32:10.194101 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: filemtime(): stat failed for lib/pkp/locale/fr_CA/languages.xml in /var/www/html/my.hostname.ca/lib/pkp/classes/language/LanguageDAO.inc.php on line 45, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
[Mon Nov 27 04:32:10.195026 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: fopen(lib/pkp/locale/fr_CA/languages.xml): failed to open stream: Aucun fichier ou dossier de ce type in /var/www/html/my.hostname.ca/lib/pkp/classes/file/FileWrapper.inc.php on line 70, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
[Mon Nov 27 04:32:10.195443 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/my.hostname.ca/lib/pkp/classes/language/LanguageDAO.inc.php on line 117, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
[Mon Nov 27 04:32:10.195488 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: assert(): Assertion failed in /var/www/html/my.hostname.ca/pages/submission/SubmissionHandler.inc.php on line 52, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
[Mon Nov 27 04:32:11.293297 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: filemtime(): stat failed for lib/pkp/locale/fr_CA/languages.xml in /var/www/html/my.hostname.ca/lib/pkp/classes/language/LanguageDAO.inc.php on line 45, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
[Mon Nov 27 04:32:11.293914 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: fopen(lib/pkp/locale/fr_CA/languages.xml): failed to open stream: Aucun fichier ou dossier de ce type in /var/www/html/my.hostname.ca/lib/pkp/classes/file/FileWrapper.inc.php on line 70, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
[Mon Nov 27 04:32:11.294284 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: Invalid argument supplied for foreach() in /var/www/html/my.hostname.ca/lib/pkp/classes/language/LanguageDAO.inc.php on line 117, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
[Mon Nov 27 04:32:11.294344 2017] [:error] [pid 12615] [client XXX.XXX.XXX.XX:3356] PHP Warning: assert(): Assertion failed in /var/www/html/my.hostname.ca/pages/submission/SubmissionHandler.inc.php on line 52, referer: https://my.hostname.ca/journalname/submission/wizard/2?submissionId=16
The 2 first line is when an author create a new submission (I think). Note the time 14H47.
For the filemtime error it’s about checking the last modifications on a file, lib/pkp/locale/fr_CA/languages.xml. A file that don’t exist in any language on the platform. It seem that after that, all the other error lines (fopen, Invalid , assert) inherit from filemtime error.
This is a single instance of OJS with multiple journal, on OJS 3.0.1 with PHP 5.4.16.
Any advice on these errors or how to correct them would be much appreciated.
thanks,