We have ojs-3.4.0-7 installed in a Debian-12 with php-8.3.12 in wich one there is a journal with several issues the situation is that in some of them making click in any of its the articles appears a blank page in the browser and the error catched is this one:
[15-Nov-2024 14:46:21 UTC] PHP Fatal error: Uncaught TypeError: preg_match(): Argument #2 ($subject) must be of type string, array given in
/var/www/html/ojs/lib/pkp/classes/core/PKPApplication.php:614
Stack trace:
#0 /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.php(614): preg_match()
#1 /var/www/html/ojs/pages/article/ArticleHandler.php(236): PKP\core\PKPApplication->getCCLicenseBadge()
#2 [internal function]: APP\pages\article\ArticleHandler->view()
#3 /var/www/html/ojs/lib/pkp/classes/core/PKPRouter.php(334): call_user_func()
#4 /var/www/html/ojs/lib/pkp/classes/core/PKPPageRouter.php(278): PKP\core\PKPRouter->_authorizeInitializeAndCallRequest()
#5 /var/www/html/ojs/lib/pkp/classes/core/Dispatcher.php(165): PKP\core\PKPPageRouter->route()
#6 /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.php(395): PKP\core\Dispatcher->dispatch()
#7 /var/www/html/ojs/index.php(21): PKP\core\PKPApplication->execute()
#8 {main}
thrown in /var/www/html/ojs/lib/pkp/classes/core/PKPApplication.php on line 614
[15-Nov-2024 14:46:21 UTC] ojs2: 404 Not Found
Thanks, DJango.