I’m getting an HTTP 500 error whenever I try to log in to our OJS platform. After entering my login credentials, the page fails to load and shows the following error:
This page isn’t working
[Your journal URL] is currently unable to handle this request.
HTTP ERROR 500
Here are some details about our setup:
OJS version: OJS 3.5
Hosting environment: Bluehost
PHP Version: 8.2
I have already tried basic troubleshooting like clearing browser cache and checking error logs, but the issue remains unresolved.
If anyone has experienced this issue or can provide advice on how to fix it, I would greatly appreciate your help!
[19-Dec-2025 14:39:58 UTC] Missing locale key “validation.attributes” for the locale “en”
[19-Dec-2025 14:39:58 UTC] Missing locale key “validation.values.email.tepojournal_admin” for the locale “en”
[19-Dec-2025 14:39:58 UTC] PHP Fatal error: Uncaught Error: Class “Doctrine\Inflector\Inflector” not found in /home2/bycfrgmy/public_html/ojs/lib/pkp/lib/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php:27
Are you sure all files from the .tar.gz package are present? It looks like lib/pkp/lib/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php is missing from your installation.
Regards,
Alec Smecher
Public Knowledge Project Team
It was working fine at first, and I didn’t make any changes on the server. However, upon checking the files again, I noticed that while lib/pkp/lib/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php
was present, the code inside the file was missing, which caused the error.
After ensuring that the file was restored correctly from the official .tar.gz package, OJS is now working normally and login is functioning as expected.
Once again, thank you for your assistance in resolving the HTTP 500 error. However, we are currently encountering another issue when clicking the Register and Forgot Password buttons.
Below are the error messages recorded in the logs:
[20-Dec-2025 15:52:21 UTC] PHP Fatal error: Uncaught → Smarty Compiler: Syntax error in template “app:app:frontendpagesuserLostPassword.tpl” on line 45 “{url|assign:registerUrl page=“user” op=“register” source=$source}” unknown modifier ‘assign’ ←
thrown in app:frontendpagesuserLostPassword.tpl on line 45
[20-Dec-2025 15:52:12 UTC] PHP Fatal error: Uncaught → Smarty Compiler: Syntax error in template “app:app:frontendpagesuserLostPassword.tpl” on line 45 “{url|assign:registerUrl page=“user” op=“register” source=$source}” unknown modifier ‘assign’ ←
thrown in app:frontendpagesuserLostPassword.tpl on line 45
[20-Dec-2025 15:52:18 UTC] PHP Fatal error: Uncaught BadMethodCallException: Call to undefined method PKP\userGroup\UserGroup::getPermitSelfRegistration() in /home2/bycfrgmy/public_html/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Support/Traits/ForwardsCalls.php:67
We would appreciate your guidance on how to resolve this issue.