I had the same problem. Wrote this fix that seems to work (D10)
@dabley, Thanks in my case that was half the solution. Registring after clicking the invite link now works and the new member is shown a link to the pending invitations view (user/group-invitations). But there the invitation doesn't show.
As an admin, I can see the invitation but after clicking the accept or decline link, I get the message "You are not authorized to access this page".
And:
Path: /ginvite/158/accept?destination=/admin/structure/views/view/my_invitations/preview/page_1%3F_wrapper_format%3Ddrupal_ajax. Drupal\Core\Http\Exception\CacheableAccessDeniedHttpException: in Drupal\Core\Routing\AccessAwareRouter->checkAccess() (line 117 of /home/interp/domains/interpore.org/public_html/web/core/lib/Drupal/Core/Routing/AccessAwareRouter.php).
Looks like a permission thing but I can't figure out what it is yet.
I'm getting the same error on D10.4.3 with PHP 8.3 and Group Invite 4.0.0. It looks as if the e-mail address used to sent the invitation to, can not be used to create a new member after clicking the invitation link or manually.
I tried to create the invitee manualy (people --> add user) but again I'm getting the same error. Once I removed the invitee from the invitee list, I was able to create the new member and add her as an existing member to the group.
I'm getting the same message and not able to create any new users any more.
Drupal\Core\Entity\EntityStorageException: Update existing 'group_relationship' entity while changing the ID is not supported. in Drupal\Core\Entity\Sql\SqlContentEntityStorage->save() (line 817 of /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php).
#0 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Entity/EntityBase.php(354): Drupal\Core\Entity\Sql\SqlContentEntityStorage->save()
#1 /home/interp/domains/domain.com/public_html/web/core/modules/user/src/RegisterForm.php(100): Drupal\Core\Entity\EntityBase->save()
#2 [internal function]: Drupal\user\RegisterForm->save()
#3 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Form/FormSubmitter.php(129): call_user_func_array()
#4 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Form/FormSubmitter.php(67): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers()
#5 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Form/FormBuilder.php(597): Drupal\Core\Form\FormSubmitter->doSubmitForm()
#6 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Form/FormBuilder.php(326): Drupal\Core\Form\FormBuilder->processForm()
#7 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Controller/FormController.php(73): Drupal\Core\Form\FormBuilder->buildForm()
#8 [internal function]: Drupal\Core\Controller\FormController->getContentResult()
#9 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#10 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/Render/Renderer.php(638): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#11 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(121): Drupal\Core\Render\Renderer->executeInRenderContext()
#12 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#13 /home/interp/domains/domain.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#14 /home/interp/domains/domain.com/public_html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#15 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle()
#16 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#17 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#18 /home/interp/domains/domain.com/public_html/web/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle()
#19 /home/interp/domains/domain.com/public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(116): Drupal\big_pipe\StackMiddleware\ContentLength->handle()
#20 /home/interp/domains/domain.com/public_html/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(90): Drupal\page_cache\StackMiddleware\PageCache->pass()
#21 /home/interp/domains/domain.com/public_html/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
#22 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#23 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#24 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#25 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#26 /home/interp/domains/domain.com/public_html/web/core/lib/Drupal/Core/DrupalKernel.php(741): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#27 /home/interp/domains/domain.com/public_html/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#28 {main}
I tried every thing but really not sure why this happens.
chesterb → created an issue.
I had the same issue and recreated the queue. The first error dissapeared but now I'm getting this error:
----------------------------------------
PHP 8.0.27
D9.5.0
Commerce Recurring 8.x-1.0-rc1
----------------------------------------
Error: Call to a member function getColumns() on bool in Drupal\Core\Entity\Query\Sql\Tables->addField() (regel 246 van /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Entity/Query/Sql/Tables.php)
#0 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Entity/Query/Sql/Condition.php(58): Drupal\Core\Entity\Query\Sql\Tables->addField()
#1 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php(177): Drupal\Core\Entity\Query\Sql\Condition->compile()
#2 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Entity/Query/Sql/Query.php(81): Drupal\Core\Entity\Query\Sql\Query->compile()
#3 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/modules/contrib/commerce_recurring/src/Cron.php(78): Drupal\Core\Entity\Query\Sql\Query->execute()
#4 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/modules/contrib/commerce_recurring/src/Cron.php(61): Drupal\commerce_recurring\Cron->enqueueOrders()
#5 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/modules/contrib/commerce_recurring/commerce_recurring.module(33): Drupal\commerce_recurring\Cron->run()
#6 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Cron.php(249): commerce_recurring_cron()
#7 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(405): Drupal\Core\Cron->Drupal\Core\{closure}()
#8 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Cron.php(257): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#9 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/Cron.php(136): Drupal\Core\Cron->invokeCronHandlers()
#10 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/ProxyClass/Cron.php(75): Drupal\Core\Cron->run()
#11 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/modules/automated_cron/src/EventSubscriber/AutomatedCron.php(65): Drupal\Core\ProxyClass\Cron->run()
#12 [internal function]: Drupal\automated_cron\EventSubscriber\AutomatedCron->onTerminate()
#13 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php(142): call_user_func()
#14 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/vendor/symfony/http-kernel/HttpKernel.php(103): Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch()
#15 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/vendor/stack/builder/src/Stack/StackedHttpKernel.php(32): Symfony\Component\HttpKernel\HttpKernel->terminate()
#16 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/core/lib/Drupal/Core/DrupalKernel.php(691): Stack\StackedHttpKernel->terminate()
#17 /home/vkhw/domains/vakantiehuiswinkel.nl/public_html/crm-vhw/web/index.php(22): Drupal\Core\DrupalKernel->terminate()
#18 {main}
.
And cron is still not working. I hope anyone has an idea because I'm a bit lost :-).