Additional uncaught exception thrown while handling exception.

Original

Error: Call to undefined function _drupal_error_handler_real() in require_once() (line 569 of /var/www/html/core/lib/Drupal/Core/DrupalKernel.php).

require_once() (Line: 569)
Drupal\Core\DrupalKernel->loadLegacyIncludes() (Line: 584)
Drupal\Core\DrupalKernel->preHandle() (Line: 45)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch() (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup() (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 717)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Additional

Error: Class "Drupal\Core\Database\Query\Insert" not found in Drupal\Core\Database\Connection->insert() (line 1165 of /var/www/html/core/lib/Drupal/Core/Database/Connection.php).

Drupal\Core\Database\Connection->insert() (Line: 65)
Drupal\dblog\Logger\DbLog->log() (Line: 127)
Drupal\Core\Logger\LoggerChannel->log() (Line: 175)
_drupal_log_error() (Line: 83)
_drupal_error_handler_real() (Line: 312)
_drupal_error_handler() (Line: 12)
include('/var/www/html/core/lib/Drupal/Core/Database/Query/Insert.php') (Line: 480)
Composer\Autoload\includeFile() (Line: 346)
Composer\Autoload\ClassLoader->loadClass() (Line: 10)
include('/var/www/html/core/lib/Drupal/Core/Database/Driver/mysql/Insert.php') (Line: 480)
Composer\Autoload\includeFile() (Line: 346)
Composer\Autoload\ClassLoader->loadClass()
class_exists() (Line: 1055)
Drupal\Core\Database\Connection->getDriverClass() (Line: 1164)
Drupal\Core\Database\Connection->insert() (Line: 65)
Drupal\dblog\Logger\DbLog->log() (Line: 127)
Drupal\Core\Logger\LoggerChannel->log() (Line: 175)
_drupal_log_error() (Line: 330)
_drupal_exception_handler()