- Issue created by @stevieegee
- πΊπΈUnited States stevieegee
Everything works on entities with a few records.
These are the two full error messages.
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 FROM information_schema.tables WHERE ("table_schema" = :db_condition_placeholder_2) AND ("table_name" = :db_condition_placeholder_3); Array ( [:db_condition_placeholder_2] => onamrecords [:db_condition_placeholder_3] => semaphore ) in Drupal\Core\Lock\DatabaseLockBackend->catchException() (line 207 of /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Lock/DatabaseLockBackend.php).
and
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO "cache_config" ("cid", "expire", "created", "tags", "checksum", "data", "serialized") VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6) ON DUPLICATE KEY UPDATE "cid" = VALUES("cid"), "expire" = VALUES("expire"), "created" = VALUES("created"), "tags" = VALUES("tags"), "checksum" = VALUES("checksum"), "data" = VALUES("data"), "serialized" = VALUES("serialized"); Array ( [:db_insert_placeholder_0] => redirect_404.settings [:db_insert_placeholder_1] => -1 [:db_insert_placeholder_2] => 1698411628.256 [:db_insert_placeholder_3] => [:db_insert_placeholder_4] => 0 [:db_insert_placeholder_5] => b:0; [:db_insert_placeholder_6] => 1 ) in Drupal\Core\Cache\DatabaseBackend->doSetMultiple() (line 273 of /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Cache/DatabaseBackend.php)
#0 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Database/Query/Upsert.php(119): Drupal\mysql\Driver\Database\mysql\ExceptionHandler->handleExecutionException(Object(PDOException), Object(Drupal\Core\Database\StatementWrapper), Array, Array)
#1 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Cache/DatabaseBackend.php(273): Drupal\Core\Database\Query\Upsert->execute()
#2 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Cache/DatabaseBackend.php(205): Drupal\Core\Cache\DatabaseBackend->doSetMultiple(Array)
#3 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Config/CachedStorage.php(105): Drupal\Core\Cache\DatabaseBackend->setMultiple(Array)
#4 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Config/ConfigFactory.php(165): Drupal\Core\Config\CachedStorage->readMultiple(Array)
#5 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Config/ConfigFactory.php(104): Drupal\Core\Config\ConfigFactory->doLoadMultiple(Array, true)
#6 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/Config/ConfigFactory.php(89): Drupal\Core\Config\ConfigFactory->doGet('redirect_404.se...')
#7 /Users/stevieegee/Sites/onamrecords/web/modules/contrib/redirect/modules/redirect_404/src/EventSubscriber/Redirect404Subscriber.php(85): Drupal\Core\Config\ConfigFactory->get('redirect_404.se...')
#8 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Component/DependencyInjection/Container.php(259): Drupal\redirect_404\EventSubscriber\Redirect404Subscriber->__construct(Object(Drupal\Core\Path\CurrentPathStack), Object(Drupal\Core\Path\PathMatcher), Object(Drupal\Core\Http\RequestStack), Object(Drupal\language\ConfigurableLanguageManager), Object(Drupal\redirect_404\SqlRedirectNotFoundStorage), Object(Drupal\Core\Config\ConfigFactory))
#9 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Component/DependencyInjection/Container.php(177): Drupal\Component\DependencyInjection\Container->createService(Array, 'redirect.404_su...')
#10 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(136): Drupal\Component\DependencyInjection\Container->get('redirect.404_su...')
#11 /Users/stevieegee/Sites/onamrecords/vendor/symfony/http-kernel/HttpKernel.php(229): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ExceptionEvent), 'kernel.exceptio...')
#12 /Users/stevieegee/Sites/onamrecords/vendor/symfony/http-kernel/HttpKernel.php(92): Symfony\Component\HttpKernel\HttpKernel->handleThrowable(Object(Drupal\Core\Database\DatabaseExceptionWrapper), Object(Symfony\Component\HttpFoundation\Request), 1)
#13 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#14 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#15 /Users/stevieegee/Sites/onamrecords/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#16 /Users/stevieegee/Sites/onamrecords/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#17 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#18 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#19 /Users/stevieegee/Sites/onamrecords/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#20 /Users/stevieegee/Sites/onamrecords/web/core/lib/Drupal/Core/DrupalKernel.php(718): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#21 /Users/stevieegee/Sites/onamrecords/web/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#22 {main}