Error when trying to get in format settings Ajax

Created on 31 October 2023, about 1 year ago
Updated 13 February 2024, 10 months ago

When I try to go in settings next to format in Views I get error , I put a screenshot to show the problem.

Thank you,

Bjorn

🐛 Bug report
Status

Closed: cannot reproduce

Version

4.0

Component

Geolocation Field / Backend

Created by

🇧🇪Belgium bjorn.drachman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Status changed to Postponed: needs info about 1 year ago
  • 🇩🇪Germany christianadamski Berlin, Germany

    Could you solve the issue?

  • Hello,
    I have the same issue
    After fixing several issues related to the below ticket (4 functions delcarations to be adjusted in Drupal\geolocation_address\Plugin\geolocation\DataProvider\AddressFieldProvider).
    https://www.drupal.org/project/geolocation/issues/3388916 🐛 Declaration of Drupal\geolocation_address\Plugin\geolocation\DataProvider\AddressFieldProvider::create must be compatible with... Closed: duplicate
    Now I have the below error

    ArgumentCountError: Too few arguments to function Drupal\geolocation\DataProviderBase::__construct(), 4 passed in /var/www/vhosts/i.lgmed.fr/drupal/modules/contrib/geolocation/modules/geolocation_address/src/Plugin/geolocation/DataProvider/AddressFieldProvider.php on line 79 and exactly 6 expected in Drupal\geolocation\DataProviderBase->__construct() (line 34 of modules/contrib/geolocation/src/DataProviderBase.php). Drupal\geolocation_address\Plugin\geolocation\DataProvider\AddressFieldProvider->__construct() (Line: 102)
    Drupal\geolocation_address\Plugin\geolocation\DataProvider\AddressFieldProvider::create() (Line: 21)
    Drupal\Core\Plugin\Factory\ContainerFactory->createInstance() (Line: 83)
    Drupal\Component\Plugin\PluginManagerBase->createInstance() (Line: 46)
    Drupal\geolocation\DataProviderManager->getDataProviderByViewsField() (Line: 246)
    Drupal\geolocation\Plugin\views\style\GeolocationStyleBase->buildOptionsForm() (Line: 158)
    Drupal\geolocation\Plugin\views\style\CommonMap->buildOptionsForm() (Line: 1697)
    Drupal\views\Plugin\views\display\DisplayPluginBase->buildOptionsForm() (Line: 140)
    Drupal\views\Plugin\views\display\Attachment->buildOptionsForm() (Line: 74)
    Drupal\views_ui\Form\Ajax\Display->buildForm()
    call_user_func_array() (Line: 536)
    Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 283)
    Drupal\Core\Form\FormBuilder->buildForm() (Line: 215)
    Drupal\views_ui\Form\Ajax\ViewsFormBase->Drupal\views_ui\Form\Ajax\{closure}() (Line: 592)
    Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 217)
    Drupal\views_ui\Form\Ajax\ViewsFormBase->ajaxFormWrapper() (Line: 127)
    Drupal\views_ui\Form\Ajax\ViewsFormBase->getForm() (Line: 46)
    Drupal\views_ui\Form\Ajax\Display->getForm()
    call_user_func_array() (Line: 123)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
    Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
    Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 181)
    Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
    Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 44)
    Drupal\redirect_after_login\RedirectMiddleware->handle() (Line: 58)
    Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
    Drupal\Core\StackMiddleware\KernelPreHandle->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: 51)
    Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 704)
    Drupal\Core\DrupalKernel->handle() (Line: 19)
  • Status changed to Closed: cannot reproduce 11 months ago
  • 🇩🇪Germany christianadamski Berlin, Germany

    I assume this fixed in -dev

  • Hello,
    It seems fixed now with the last version 4.0.0-alpha4

Production build 0.71.5 2024