Hi Roger,
Thank you for your kind response.
My server provided increased the server CPU and RAM to solve the problem for 500 Error. But there is still something wrong between 250 MB size of Database and PHP requests. There are serious delays when the request is made from PHP.
I am just posting some of the selected warnings from error_log
Some errors:
[04-Mar-2023 18:45:01 Europe/Istanbul] PHP Fatal error: Uncaught Error: Call to a member function getConnection() on null in /ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php:74
Stack trace:
thrown in
/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Capsule/Manager.php on line 74
[04-Mar-2023 18:46:05 Europe/Istanbul] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in
sbfnet.com/ojs/lib/pkp/classes/session/SessionManager.inc.php on line 71
[04-Mar-2023 18:48:05 Europe/Istanbul] PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in ojs/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 36
[04-Mar-2023 21:26:59 Europe/Istanbul] PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in ojs/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 36
ext Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[42000] [1203] User xxxx0_xxxx already has more than ‘max_user_connections’ active connections in xxx/ojs/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
thrown in xxojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
[24-Mar-2023 11:03:32 Europe/Istanbul] PHP Fatal error: Uncaught PDOException: SQLSTATE[42000] [1203] User xxxx already has more than ‘max_user_connections’ active connections in /xxx/ojs/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38
Stack trace:
thrown in xx/ojs/lib/pkp/lib/vendor/laravel/framework/src/Illuminate/Database/Connection.php on line 671
[16-Mar-2023 04:21:26 Europe/Istanbul] PHP Fatal error: Uncaught PDOException: SQLSTATE[HY000] [2002] Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in /home/xxx/ojs/lib/pkp/lib/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:38
Stack trace:
[19-Mar-2023 22:39:31 Europe/Istanbul] PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in xxx/ojs/lib/pkp/lib/vendor/smarty/smarty/libs/plugins/modifier.escape.php on line 36
[01-Apr-2023 11:28:09 Europe/Istanbul] PHP Warning: ini_set(): Session ini settings cannot be changed when a session is active in /xxx/ojs/lib/pkp/classes/session/SessionManager.inc.php on line 71