PHP Error - No such file or directory

I am getting this strange PHP error:

[Mon Dec 12 19:42:43.263710 2022] [proxy_fcgi:error] [pid 1226:tid 139698701854464] [client 127.0.0.1:43794] AH01071: Got error 'PHP message: PHP Fatal error:  Uncaught PDOException: SQLSTATE[HY000] [2002] No such file or directory in /var/www/vhosts/mainsite/html/inc/classes/BxDolDb.php:200\nStack trace:\n#0 /var/www/vhosts/mainsite/html/inc/classes/BxDolDb.php(200): PDO->__construct()\n#1 /var/www/vhosts/mainsite/html/inc/classes/BxDolDb.php(128): BxDolDb->connect()\n#2 /var/www/vhosts/mainsite/html/inc/classes/BxDolDb.php(118): BxDolDb::getInstanceWithConf()\n#3 /var/www/vhosts/mainsite/html/inc/classes/BxDolLogsQuery.php(21): BxDolDb::getInstance()\n#4 /var/www/vhosts/mainsite/html/inc/classes/BxDolLogs.php(76): BxDolLogsQuery::getLogsObject()\n#5 /var/www/vhosts/mainsite/html/inc/utils.inc.php(2188): BxDolLogs::getObjectInstance()\n#6 /var/www/vhosts/mainsite/html/inc/classes/BxDolDb.php(692): bx_log()\n#7 /var/www/vhosts/mainsite/html/inc/classes/BxDolDb.php(281): BxDolDb->error()\n#8 [internal function]: BxDolDb->pdoExceptionHandler()\n#9 {main}\n  thrown in /var/www/vhosts/mainsite/html/inc/classes/BxDolDb.php on line 200'

This error is happening several times in a row.

Any ideas on how to fix? This is on UNA 13 B3 with Ubuntu 20.04.5

  • 1364
  • More
Replies (3)
    Login or Join to comment.