- Issue created by @dirke
Hi,
When attempting to update from Drupal 10.3.5 to Drupal 11.0.4, I received a fatal error on two sites, while a third updated without a problem. Looking at the error report (see below), I saw that probably the Cookie Samesite support module was causing this problem. And indeed, disabling this module made the update run without a problem.
Since I'm using DirectAdmin with an Installatron plugin to manage my updates, supplied by my hosting provider, I contacted Installatron about this issue. And they'd like to know what specifically causes this PHP trouble. So if you have any information, I'd gladly recieve and forward that to my Installatron support.
Error report below:
[Fri Sep 13 09:46:43.964212 2024] [lsapi:warn] [pid 1970171:tid 140384492754688] [client 141.138.169.253:59302] [host cms.kwetal.nl] Backend log: TypeError: array_pop(): Argument #1 ($array) must be of type array, bool given in /home/deb21366n2/domains/kwetal.nl/public_html/cms/core/modules/system/src/Controller/DbUpdateController.php on line 432 #0 /home/deb21366n2/domains/kwetal.nl/public_html/cms/core/modules/system/src/Controller/DbUpdateController.php(432): array_pop()\n#1 /home/deb21366n2/domains/kwetal.nl/public_html/cms/core/modules/system/src/Controller/DbUpdateController.php(188): Drupal\\system\\Controller\\DbUpdateController->results()\n#2 [internal function]: Drupal\\system\\Controller\\DbUpdateController->handle()\n#3 /home/deb21366n2/domains/kwetal.nl/public_html/cms/core/lib/Drupal/Core/Update/UpdateKernel.php(115): call_user_func_array()\n#4 /home/deb21366n2/domains/kwetal.nl/public_html/cms/core/lib/Drupal/Core/Update/UpdateKernel.php(76): Drupal\\Core\\Update\\UpdateKernel->handleRaw()\n#5 /home/deb21366n2/domains/kwetal.nl/public_html/cms/update.php(27): Drupal\\Core\\Update\\UpdateKernel->handle()\n#6 {main}\n
[Fri Sep 13 10:19:42.666602 2024] [lsapi:error] [pid 2756246:tid 140384450791168] [client 141.138.169.253:51752] [host cms.kwetal.nl] Backend fatal error: PHP Fatal error: Declaration of Drupal\\cookie_samesite_support\\Session\\CookieSameSiteSupportSessionManager::save() must be compatible with Drupal\\Core\\Session\\SessionManager::save(): void in /home/deb21366n2/domains/kwetal.nl/public_html/cms/modules/cookie_samesite_support/src/Session/CookieSameSiteSupportSessionManager.php on line 29\n
[Fri Sep 13 10:23:58.830149 2024] [lsapi:error] [pid 3063066:tid 140384669001472] [client 2a02:a467:584b:1:8b78:4c82:4c64:76ca:46562] [host cms.kwetal.nl] Backend fatal error: PHP Fatal error: Declaration of Drupal\\cookie_samesite_support\\Session\\CookieSameSiteSupportSessionManager::save() must be compatible with Drupal\\Core\\Session\\SessionManager::save(): void in /home/deb21366n2/domains/kwetal.nl/public_html/cms/modules/cookie_samesite_support/src/Session/CookieSameSiteSupportSessionManager.php on line 29\n
[Fri Sep 13 10:24:05.429194 2024] [lsapi:error] [pid 3017607:tid 140384526325504] [client 2a02:a467:584b:1:8b78:4c82:4c64:76ca:45440] [host cms.kwetal.nl] Backend fatal error: PHP Fatal error: Declaration of Drupal\\cookie_samesite_support\\Session\\CookieSameSiteSupportSessionManager::save() must be compatible with Drupal\\Core\\Session\\SessionManager::save(): void in /home/deb21366n2/domains/kwetal.nl/public_html/cms/modules/cookie_samesite_support/src/Session/CookieSameSiteSupportSessionManager.php on line 29\n
[Fri Sep 13 10:27:00.790275 2024] [lsapi:error] [pid 3063066:tid 140384694179584] [client 141.138.169.253:49996] [host cms.kwetal.nl] Backend fatal error: PHP Fatal error: Declaration of Drupal\\cookie_samesite_support\\Session\\CookieSameSiteSupportSessionManager::save() must be compatible with Drupal\\Core\\Session\\SessionManager::save(): void in /home/deb21366n2/domains/kwetal.nl/public_html/cms/modules/cookie_samesite_support/src/Session/CookieSameSiteSupportSessionManager.php on line 29\n
[Fri Sep 13 21:43:32.840259 2024] [lsapi:error] [pid 4100956:tid 140384492754688] [client 141.138.169.253:48824] [host cms.kwetal.nl] Backend fatal error: PHP Fatal error: Declaration of Drupal\\cookie_samesite_support\\Session\\CookieSameSiteSupportSessionManager::save() must be compatible with Drupal\\Core\\Session\\SessionManager::save(): void in /home/deb21366n2/domains/kwetal.nl/public_html/cms/modules/cookie_samesite_support/src/Session/CookieSameSiteSupportSessionManager.php on line 29\n
--
Friendly greetings, Dirk Engelage
Active
2.0
Miscellaneous