- Issue created by @maxilein
- 🇦🇹Austria maxilein
Also happens with latest dev.
Had to uninstall geolocation_leaflet → submodule. Then the update script worked.
- 🇦🇹Austria maxilein
Then the content type containing the field broke the nodes.
The website encountered an unexpected error. Try again later. TypeError: Cannot assign null to property Drupal\geolocation\Plugin\Field\FieldFormatter\GeolocationMapFormatterBase::$mapProvider of type Drupal\geolocation\MapProviderInterface in Drupal\geolocation\Plugin\Field\FieldFormatter\GeolocationMapFormatterBase->__construct() (line 55 of modules/contrib/geolocation/src/Plugin/Field/FieldFormatter/GeolocationMapFormatterBase.php). Drupal\geolocation\Plugin\Field\FieldFormatter\GeolocationMapFormatterBase::create() (Line: 64) Drupal\Core\Field\FormatterPluginManager->createInstance() (Line: 126) Drupal\Core\Field\FormatterPluginManager->getInstance() (Line: 210) Drupal\Core\Entity\Entity\EntityViewDisplay->getRenderer() (Line: 241) Drupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple() (Line: 269) Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay->buildMultiple() (Line: 339) Drupal\Core\Entity\EntityViewBuilder->buildComponents() (Line: 24) Drupal\node\NodeViewBuilder->buildComponents() (Line: 281) Drupal\Core\Entity\EntityViewBuilder->buildMultiple() (Line: 238) Drupal\Core\Entity\EntityViewBuilder->build() call_user_func_array() (Line: 111) Drupal\Core\Render\Renderer->doTrustedCallback() (Line: 858) Drupal\Core\Render\Renderer->doCallback() (Line: 421) Drupal\Core\Render\Renderer->doRender() (Line: 240) Drupal\Core\Render\Renderer->render() (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 128) Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90) Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray() call_user_func() (Line: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58) Drupal\Core\StackMiddleware\Session->handle() (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle() (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle() (Line: 106) Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85) Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle() (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704) Drupal\Core\DrupalKernel->handle() (Line: 19)
- 🇦🇹Austria maxilein
Only after re-enabling the geolocation_leaflet the nodes worked again.
So there is also something wrong with the uninstaller.
- 🇦🇹Austria maxilein
Background info: https://www.drupal.org/node/2487215#new →
- 🇵🇰Pakistan hmdnawaz
What should be the workaround then? Which settings do we need now? Is there any documentation?
- 🇩🇪Germany christianadamski Berlin, Germany
There are unified geolocation_map formatter/widget now for all supported Map providers. I will work on v3-v4 update soon.