I can confirm that patch #3 has resolved the issue.
Thanks @devad and @markdorison!
I can confirm that patch #15 has resolved the issue.
+1 Drupal 10 upgrades are starting in my world.
Agreed!
Shane Birley β created an issue.
I just tested the patch as well. I can confirm it works! Thanks, @Graber.
Shane Birley β created an issue.
And to clarify, this is on the latest version 2.0.6.
Just another note, Drupal believes the modules is indeed installed but the configuration pages are blank and return 404 errors.
Doing a fresh install of the module both via Composer and manual. I receive the same error. I uninstalled the module, installed a fresh copy of Drupal and installed this module by itself -- same error.
Uncaught PHP Exception RuntimeException: "Failed to start the session because headers have already been sent by "/home/www/modules/rest_api_authentication/rest_api_authentication.install" at line 1." at /home/www/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php line 152
RuntimeException: Failed to start the session because headers have already been sent by "/home/www/modules/rest_api_authentication/rest_api_authentication.install" at line 1. in /home/www/vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php on line 152 #0 /home/www/core/lib/Drupal/Core/Session/SessionManager.php(162): Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start()
#1 /home/www/core/lib/Drupal/Core/Session/SessionManager.php(193): Drupal\Core\Session\SessionManager->startNow()
#2 /home/www/vendor/symfony/http-foundation/Session/Session.php(191): Drupal\Core\Session\SessionManager->save()
#3 /home/www/core/lib/Drupal/Core/StackMiddleware/Session.php(61): Symfony\Component\HttpFoundation\Session\Session->save()
#4 /home/www/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#5 /home/www/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#6 /home/www/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#7 /home/www/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /home/www/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#9 /home/www/vendor/stack/builder/src/Stack/StackedHttpKernel.php(23): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#10 /home/www/core/lib/Drupal/Core/DrupalKernel.php(713): Stack\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#11 /home/www/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#12 {main}