🇫🇷France @karimbou

Account created on 2 December 2016, almost 8 years ago
  • Tech Lead at Smile 
#

Recent comments

🇫🇷France karimbou

We are also having this fatal error with PHP8.3.12 and Redis 1.8
On BO: /admin/reports/redis
DivisionByZeroError: Division by zero in Drupal\redis\Controller\ReportController->overview() (line 219 of /var/www/html/web/modules/contrib/redis/src/Controller/ReportController.php).

🇫🇷France karimbou

I think some domaine name as host don't work for some reason if you put an ip address instead it works ...
We're having this issue on platformsh for example using the variabe Platfrom_smpt_host which return a long domaine name but if we use the ip address it works fine...

🇫🇷France karimbou

To avoid some warnings on $form['#type'] array key, that might not exist i've added an isset to the patch.

🇫🇷France karimbou

Having this issue on production Drupal 9.5.x and rabbit_hole 2.0.0-alpha5
Creating a new article and trying to open entity browser through a paragraph (popup entity browser show the error)

The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\entity_browser\Form\EntityBrowserForm::getEntity() in Drupal\rabbit_hole\Plugin\Field\FieldWidget\RabbitHoleDefaultWidget->formElement() (line 151 of modules/contrib/rabbit_hole/src/Plugin/Field/FieldWidget/RabbitHoleDefaultWidget.php).
Drupal\rabbit_hole\Plugin\Field\FieldWidget\RabbitHoleDefaultWidget->formElement(Object, 0, Array, Array, Object) (Line: 353)
Drupal\Core\Field\WidgetBase->formSingleElement(Object, 0, Array, Array, Object) (Line: 220)
Drupal\Core\Field\WidgetBase->formMultipleElements(Object, Array, Object) (Line: 111)
Drupal\Core\Field\WidgetBase->form(Object, Array, Object) (Line: 183)
Drupal\Core\Entity\Entity\EntityFormDisplay->buildForm(Object, Array, Object) (Line: 190)
Drupal\inline_entity_form\Form\EntityInlineForm->entityForm(Array, Object) (Line: 152)
Drupal\inline_entity_form\Element\InlineEntityForm::processEntityForm(Array, Object, Array)
call_user_func_array(Array, Array) (Line: 1012)
Drupal\Core\Form\FormBuilder->doBuildForm('entity_browser_entity_browser_images_form', Array, Object) (Line: 1075)
Drupal\Core\Form\FormBuilder->doBuildForm('entity_browser_entity_browser_images_form', Array, Object) (Line: 1075)
Drupal\Core\Form\FormBuilder->doBuildForm('entity_browser_entity_browser_images_form', Array, Object) (Line: 579)
Drupal\Core\Form\FormBuilder->processForm('entity_browser_entity_browser_images_form', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 718)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

🇫🇷France karimbou

Same issue since Drupal 9.x
drush locale:check locale:update show errors 404 aswells as updating from backoffice.
The reason, it's trying to get en.po files which doesn't exists instead of en-GB.po files.

🇫🇷France karimbou

Okay great it's working, I thought it was only available from webform parameters and couldn't see the translation tab.

We can close this then.

Thanks

Production build 0.71.5 2024