🇫🇷France @jeremy.zimmermann

Account created on 26 April 2008, over 16 years ago
#

Recent comments

🇫🇷France jeremy.zimmermann

Thank you for your support.

I just disabled the danse_form module, and it works fine.

I also opened a new case : 3352641 🐛 LogicException: The database connection is not serializable. Fixed

Thank you.

Jérémy

🇫🇷France jeremy.zimmermann

Hi,

I just got the same issue

LogicException: The database connection is not serializable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (line 1687 of /home2/atwh9578/final3.badmoc.fr/core/lib/Drupal/Core/Database/Connection.php). {"severity_level":3,"@backtrace_string":"#0 [internal function]: Drupal\\Core\\Database\\Connection->__sleep()\n#1 \/home2\/atwh9578\/final3.badmoc.fr\/modules\/contrib\/danse\/modules\/form\/src\/Payload.php(74): serialize()\n#2 \/home2\/atwh9578\/final3.badmoc.fr\/modules\/contrib\/danse\/src\/PayloadBase.php(35): Drupal\\danse_form\\Payload->prepareArray()\n#3 \/home2\/atwh9578\/final3.badmoc.fr\/modules\/contrib\/danse\/src\/Entity\/Event.php(55): Drupal\\danse\\PayloadBase->toArray()\n#4 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Entity\/ContentEntityStorageBase.php(87): Drupal\\danse\\Entity\\Event::preCreate()\n#5 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Entity\/ContentEntityBase.php(1143): Drupal\\Core\\Entity\\ContentEntityStorageBase->create()\n#6 \/home2\/atwh9578\/final3.badmoc.fr\/modules\/contrib\/danse\/src\/PluginBase.php(365): Drupal\\Core\\Entity\\ContentEntityBase::create()\n#7 \/home2\/atwh9578\/final3.badmoc.fr\/modules\/contrib\/danse\/modules\/form\/src\/Plugin\/Danse\/Form.php(47): Drupal\\danse\\PluginBase->createEvent()\n#8 \/home2\/atwh9578\/final3.badmoc.fr\/modules\/contrib\/danse\/modules\/form\/danse_form.module(45): Drupal\\danse_form\\Plugin\\Danse\\Form->createFormEvent()\n#9 [internal function]: danse_form_submit_event()\n#10 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Form\/FormSubmitter.php(114): call_user_func_array()\n#11 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Form\/FormSubmitter.php(52): Drupal\\Core\\Form\\FormSubmitter->executeSubmitHandlers()\n#12 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Form\/FormBuilder.php(595): Drupal\\Core\\Form\\FormSubmitter->doSubmitForm()\n#13 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Form\/FormBuilder.php(323): Drupal\\Core\\Form\\FormBuilder->processForm()\n#14 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Controller\/FormController.php(73): Drupal\\Core\\Form\\FormBuilder->buildForm()\n#15 [internal function]: Drupal\\Core\\Controller\\FormController->getContentResult()\n#16 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/EventSubscriber\/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()\n#17 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/Render\/Renderer.php(580): Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}()\n#18 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/EventSubscriber\/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\\Core\\Render\\Renderer->executeInRenderContext()\n#19 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/EventSubscriber\/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()\n#20 \/home2\/atwh9578\/final3.badmoc.fr\/vendor\/symfony\/http-kernel\/HttpKernel.php(163): Drupal\\Core\\EventSubscriber\\EarlyRenderingControllerWrapperSubscriber->Drupal\\Core\\EventSubscriber\\{closure}()\n#21 \/home2\/atwh9578\/final3.badmoc.fr\/vendor\/symfony\/http-kernel\/HttpKernel.php(74): Symfony\\Component\\HttpKernel\\HttpKernel->handleRaw()\n#22 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/StackMiddleware\/Session.php(58): Symfony\\Component\\HttpKernel\\HttpKernel->handle()\n#23 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/StackMiddleware\/KernelPreHandle.php(48): Drupal\\Core\\StackMiddleware\\Session->handle()\n#24 \/home2\/atwh9578\/final3.badmoc.fr\/core\/modules\/page_cache\/src\/StackMiddleware\/PageCache.php(106): Drupal\\Core\\StackMiddleware\\KernelPreHandle->handle()\n#25 \/home2\/atwh9578\/final3.badmoc.fr\/core\/modules\/page_cache\/src\/StackMiddleware\/PageCache.php(85): Drupal\\page_cache\\StackMiddleware\\PageCache->pass()\n#26 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/StackMiddleware\/ReverseProxyMiddleware.php(48): Drupal\\page_cache\\StackMiddleware\\PageCache->handle()\n#27 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/StackMiddleware\/NegotiationMiddleware.php(51): Drupal\\Core\\StackMiddleware\\ReverseProxyMiddleware->handle()\n#28 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/StackMiddleware\/StackedHttpKernel.php(51): Drupal\\Core\\StackMiddleware\\NegotiationMiddleware->handle()\n#29 \/home2\/atwh9578\/final3.badmoc.fr\/core\/lib\/Drupal\/Core\/DrupalKernel.php(686): Drupal\\Core\\StackMiddleware\\StackedHttpKernel->handle()\n#30 \/home2\/atwh9578\/final3.badmoc.fr\/index.php(19): Drupal\\Core\\DrupalKernel->handle()\n#31 {main}","exception":[],"channel":"php","link":"","uid":"1","request_uri":"https:\/\/final3.badmoc.fr\/fr\/user\/1\/subscriptions","referer":"https:\/\/final3.badmoc.fr\/fr\/user\/1\/subscriptions","ip":"82.64.80.70","timestamp":1680773426}

This happened when a user subscribe to an event, after saving.

D10.0.7
PHP 8.1.17
DANSE 2.2.15, also tested with 2.2.x-dev

I'm working on a test site, i'm ok to test new release id needed.

Thanks

Jérémy

Production build 0.71.5 2024