- Issue created by @orkut murat yılmaz
- Assigned to Grevil
- 🇩🇪Germany Anybody Porta Westfalica
@Grevil could you please also have a look at this?
Might be related to the other issues.
Hello and thanks for this beautiful module,
When I try to create a taxonomy term after activating the module, I receive the error message below:
InvalidArgumentException: The user-entered string '' must begin with a '/', '?', or '#'. in Drupal\Core\Url::fromUserInput() (line 216 of /var/www/html/drupal/web/core/lib/Drupal/Core/Url.php).
Backtrace
#0 /var/www/html/drupal/web/modules/contrib/rabbit_hole_href/src/Plugin/RabbitHoleBehaviorPlugin/PageRedirectHref.php(75): Drupal\Core\Url::fromUserInput()
#1 /var/www/html/drupal/web/modules/contrib/rabbit_hole_href/src/CanonicalLinkModifier.php(70): Drupal\rabbit_hole_href\Plugin\RabbitHoleBehaviorPlugin\PageRedirectHref->getActionTarget()
#2 /var/www/html/drupal/web/modules/contrib/rabbit_hole_href/src/CanonicalLinkModifier.php(33): Drupal\rabbit_hole_href\CanonicalLinkModifier->getNewCanonicalUrl()
#3 /var/www/html/drupal/web/modules/contrib/rabbit_hole_href/rabbit_hole_href.module(64): Drupal\rabbit_hole_href\CanonicalLinkModifier->getCanonicalUrl()
#4 [internal function]: rabbit_hole_href_redirect_uri()
#5 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityBase.php(206): call_user_func()
#6 /var/www/html/drupal/web/modules/contrib/simple_sitemap/modules/simple_sitemap_engines/src/Submitter/IndexNowSubmitter.php(161): Drupal\Core\Entity\EntityBase->toUrl()
#7 /var/www/html/drupal/web/modules/contrib/simple_sitemap/modules/simple_sitemap_engines/src/Submitter/IndexNowSubmitter.php(124): Drupal\simple_sitemap_engines\Submitter\IndexNowSubmitter->submit()
#8 /var/www/html/drupal/web/modules/contrib/simple_sitemap/modules/simple_sitemap_engines/simple_sitemap_engines.module(82): Drupal\simple_sitemap_engines\Submitter\IndexNowSubmitter->submitIfSubmittable()
#9 [internal function]: simple_sitemap_engines_entity_insert()
#10 /var/www/html/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(409): call_user_func_array()
#11 /var/www/html/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(388): Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}()
#12 /var/www/html/drupal/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(416): Drupal\Core\Extension\ModuleHandler->invokeAllWith()
#13 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(217): Drupal\Core\Extension\ModuleHandler->invokeAll()
#14 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(900): Drupal\Core\Entity\EntityStorageBase->invokeHook()
#15 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(564): Drupal\Core\Entity\ContentEntityStorageBase->invokeHook()
#16 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/ContentEntityStorageBase.php(781): Drupal\Core\Entity\EntityStorageBase->doPostSave()
#17 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php(489): Drupal\Core\Entity\ContentEntityStorageBase->doPostSave()
#18 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php(806): Drupal\Core\Entity\EntityStorageBase->save()
#19 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityBase.php(352): Drupal\Core\Entity\Sql\SqlContentEntityStorage->save()
#20 /var/www/html/drupal/web/core/modules/taxonomy/src/TermForm.php(197): Drupal\Core\Entity\EntityBase->save()
#21 [internal function]: Drupal\taxonomy\TermForm->save()
#22 /var/www/html/drupal/web/core/lib/Drupal/Core/Form/FormSubmitter.php(129): call_user_func_array()
#23 /var/www/html/drupal/web/core/lib/Drupal/Core/Form/FormSubmitter.php(67): Drupal\Core\Form\FormSubmitter->executeSubmitHandlers()
#24 /var/www/html/drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(597): Drupal\Core\Form\FormSubmitter->doSubmitForm()
#25 /var/www/html/drupal/web/core/lib/Drupal/Core/Form/FormBuilder.php(325): Drupal\Core\Form\FormBuilder->processForm()
#26 /var/www/html/drupal/web/core/lib/Drupal/Core/Entity/EntityFormBuilder.php(48): Drupal\Core\Form\FormBuilder->buildForm()
#27 /var/www/html/drupal/web/core/modules/taxonomy/src/Controller/TaxonomyController.php(26): Drupal\Core\Entity\EntityFormBuilder->getForm()
#28 [internal function]: Drupal\taxonomy\Controller\TaxonomyController->addForm()
#29 /var/www/html/drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(123): call_user_func_array()
#30 /var/www/html/drupal/web/core/lib/Drupal/Core/Render/Renderer.php(627): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#31 /var/www/html/drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(124): Drupal\Core\Render\Renderer->executeInRenderContext()
#32 /var/www/html/drupal/web/core/lib/Drupal/Core/EventSubscriber/EarlyRenderingControllerWrapperSubscriber.php(97): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext()
#33 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(181): Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}()
#34 /var/www/html/drupal/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw()
#35 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/Session.php(58): Symfony\Component\HttpKernel\HttpKernel->handle()
#36 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle()
#37 /var/www/html/drupal/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\Core\StackMiddleware\KernelPreHandle->handle()
#38 /var/www/html/drupal/web/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass()
#39 /var/www/html/drupal/web/core/modules/ban/src/BanMiddleware.php(50): Drupal\page_cache\StackMiddleware\PageCache->handle()
#40 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\ban\BanMiddleware->handle()
#41 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle()
#42 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle()
#43 /var/www/html/drupal/web/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle()
#44 /var/www/html/drupal/web/core/lib/Drupal/Core/DrupalKernel.php(704): Drupal\Core\StackMiddleware\StackedHttpKernel->handle()
#45 /var/www/html/drupal/web/index.php(19): Drupal\Core\DrupalKernel->handle()
#46 {main}
- Install Drupal 10.2.0
- Install this module
- Try to create a taxonomy term.
What can be done for this?
Best,
Orkut
Active
2.0
Code
@Grevil could you please also have a look at this?
Might be related to the other issues.