I am upgrading my ojs website and reached 3.3.0.19 which is perfecty working with php 7.4. When I change the environment to php 8.0 the website gives error 500.
(website agrimaroc.org at ovh.com)
Please help me with clues to what the problem would be and eventually how I should solve it.
This issue could have several causes. Most likely, one of the plugins is causing this or a required PHP component is not defined. To better understand the root cause, please check the PHP error log file and share the error messages. This will help us provide better assistance.
It looks like you have some bad data in the database. What do you get for the following SQL query?
SELECT * FROM journal_settings
WHERE setting_name = 'onlineIssn' AND locale IS NOT NULL AND locale <> '';
All journal_settings entries with a setting_name = 'onlineIssn' should have a locale column set to an empty string. Anything else is invalid.
Make sure to take a backup before working in the database directly, and you may have to flush your data cache after making changes to journal_settings before youâll see them take effect.
Regards,
Alec Smecher
Public Knowledge Project Team
Those are just notices, and wonât break the site â but if youâre directing the errors or warnings to the browser, theyâll probably interfere. (I suspect those warnings are probably coming from the theme or another plugin.)
If youâre still encountering problems once debugging is disabled, Iâd suggest starting a new topic, since the topic you started with has been resolved.
Regards,
Alec Smecher
Public Knowledge Project Team