We’re experimenting with upgrading an OJS-3.1.2 instance to OJS-3.2, with PHP-7.3.15. The database upgrade process seems to have worked fine, and most of the OJS interface is working without problems.
Yet, when listing the table of contents for an issue via “Issues” > “Future Issues” > [issue], nothing is shown, and the spinner keeps spinning:
Yet, the Issues overview is displaying the correct number of articles for each issue (in the “Items” column):
Warning: Use of undefined constant STATUS_PUBLISHED - assumed 'STATUS_PUBLISHED' (this will throw an Error in a future version of PHP) in /var/www/html/classes/services/SubmissionService.inc.php on line 156
What could be the cause of this message? A PHP error (we’re running 7.3.15), or OJS upgrade error? I first suspected a quirk in the OJS upgrade process, where some labels for the publication status of existing articles in the database weren’t updated correctly. However, the same error is thrown when creating a new issue in OJS-3.2 and scheduling a newly created article for that issue.
Has anyone else encountered this “Undefined constant STATUS_PUBLISHED” error or know how to remedy it?