Journal homepage shows Error 500, rest tabs links work

Hi

The journals sites and links were working fine when the homepage of the journal started showing the error 500 (Internal server error). Initially, as site could not be accessed (as was trying to access homepage first), the error log showed PHP error (given below). Contacted the server people if there is any change in PHP, but everything was as such as earlier (OJS files were also intact). Later observed that site can be accessed with link from DOI and other links.

Homepage: https://pubs.thesciencein.org/journal/index.php/cbl/index (shows error 500)

Current tab: https://pubs.thesciencein.org/journal/index.php/cbl/issue/current (accessible, and all links works except homepage).

Further, deleted the cache (from OJS admin panel as well deleted all cache file and folder from OJS directory from server), and checked the site. Same problem, homepage shows error 500.

Till now: PHP - OK, OJS files: OK, Cache: OK, SSL - OK (as site is accessible).

Please see any specific resolution can be.

OJS version: OJS 3.4.0.8 ; Server: Linux ; PHP: 8.1.33 ; Apache ; DB: mysql

Additional information

The error log shows

[07-Oct-2025 03:29:44 UTC] PHP Fatal error:  Uncaught TypeError: get_class_methods(): Argument #1 ($object_or_class) must be an object or a valid class name, string given in /home/...../journal/lib/pkp/classes/core/PKPPageRouter.php:253
Stack trace:
#0 /home/../journal/lib/pkp/classes/core/PKPPageRouter.php(253): get_class_methods('APP\\pages\\index...')
#1 /home/..../journal/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route(Object(APP\core\Request))
#2 /home/..../journal/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch(Object(APP\core\Request))
#3 /home/..../journal/index.php(21): PKP\core\PKPApplication->execute()
#4 {main}
  thrown in /home/..../journal/lib/pkp/classes/core/PKPPageRouter.php on line 253

(The above error is repeat since the problem started).

Solution:

I replaced the OJS installation files with the fresh copy of OJS files (copied/replaced all files and folder except config.inc.php) and it works fine (journal homepage loads now).
Sharing in case someone face similar issue.

1 Like