Skip to content

Instantly share code, notes, and snippets.

@patrickallaert
Created July 23, 2021 14:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patrickallaert/9264046a086031c162c65beb29451ef3 to your computer and use it in GitHub Desktop.
Save patrickallaert/9264046a086031c162c65beb29451ef3 to your computer and use it in GitHub Desktop.
Stack trace drupal9 failing with 8.1.0beta1
#0 drupal9web/core/lib/Drupal/Core/Cache/DatabaseBackend.php(263): Drupal\Core\Database\Connection->upsert('cache_config')
#1 drupal9web/core/lib/Drupal/Core/Cache/DatabaseBackend.php(193): Drupal\Core\Cache\DatabaseBackend->doSetMultiple(Array)
#2 drupal9web/core/lib/Drupal/Core/Config/CachedStorage.php(105): Drupal\Core\Cache\DatabaseBackend->setMultiple(Array)
#3 drupal9web/core/lib/Drupal/Core/Config/ConfigFactory.php(165): Drupal\Core\Config\CachedStorage->readMultiple(Array)
#4 drupal9web/core/lib/Drupal/Core/Config/ConfigFactory.php(104): Drupal\Core\Config\ConfigFactory->doLoadMultiple(Array, true)
#5 drupal9web/core/lib/Drupal/Core/Config/ConfigFactory.php(89): Drupal\Core\Config\ConfigFactory->doGet('system.logging')
#6 drupal9web/core/lib/Drupal.php(417): Drupal\Core\Config\ConfigFactory->get('system.logging')
#7 drupal9web/core/includes/errors.inc(322): Drupal::config('system.logging')
#8 drupal9web/core/includes/errors.inc(122): _drupal_get_error_level()
#9 drupal9web/core/includes/errors.inc(213): error_displayable(Array)
#10 drupal9web/core/includes/errors.inc(82): _drupal_log_error(Array, false)
#11 drupal9web/core/includes/bootstrap.inc(305): _drupal_error_handler_real(8192, 'Return type of ...', '/home/patrick.a...', 182)
#12 drupal9web/core/lib/Drupal/Core/Database/Query/Upsert.php(16): _drupal_error_handler(8192, 'Return type of ...', '/home/patrick.a...', 182)
#13 drupal9vendor/composer/ClassLoader.php(444): include('/home/patrick.a...')
#14 drupal9vendor/composer/ClassLoader.php(444): include('/home/patrick.a...')
#15 drupal9vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/patrick.a...')
#16 drupal9web/core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php(10): Composer\Autoload\ClassLoader->loadClass('Drupal\\Core\\Dat...')
#17 drupal9vendor/composer/ClassLoader.php(444): include('/home/patrick.a...')
#18 drupal9vendor/composer/ClassLoader.php(444): include('/home/patrick.a...')
#19 drupal9vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/home/patrick.a...')
#20 [internal function]: Composer\Autoload\ClassLoader->loadClass('Drupal\\Core\\Dat...')
#21 drupal9web/core/lib/Drupal/Core/Database/Connection.php(983): class_exists('Drupal\\Core\\Dat...')
#22 drupal9web/core/lib/Drupal/Core/Database/Connection.php(1113): Drupal\Core\Database\Connection->getDriverClass('Upsert')
#23 drupal9web/core/lib/Drupal/Core/Cache/DatabaseBackend.php(263): Drupal\Core\Database\Connection->upsert('cache_container')
#24 drupal9web/core/lib/Drupal/Core/Cache/DatabaseBackend.php(193): Drupal\Core\Cache\DatabaseBackend->doSetMultiple(Array)
#25 drupal9web/core/lib/Drupal/Core/Cache/DatabaseBackend.php(181): Drupal\Core\Cache\DatabaseBackend->setMultiple(Array)
#26 drupal9web/core/lib/Drupal/Core/DrupalKernel.php(1341): Drupal\Core\Cache\DatabaseBackend->set('service_contain...', Array)
#27 drupal9web/core/lib/Drupal/Core/DrupalKernel.php(960): Drupal\Core\DrupalKernel->cacheDrupalContainer(Array)
#28 drupal9web/core/lib/Drupal/Core/DrupalKernel.php(471): Drupal\Core\DrupalKernel->initializeContainer()
#29 drupal9web/core/lib/Drupal/Core/DrupalKernel.php(705): Drupal\Core\DrupalKernel->boot()
#30 drupal9web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#31 {main} in drupal9web/core/lib/Drupal/Core/Database/Query/Upsert.php on line 16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment