Brussels
Account created on 13 January 2006, almost 19 years ago
#

Recent comments

🇧🇪Belgium Vacilando Brussels
The website encountered an unexpected error. Try again later.

Error: Call to a member function getName() on null in Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple() (line 206 of core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php).
Drupal\Core\Entity\EntityStorageBase->loadMultiple() (Line: 26)
entity_extra_field_entity_extra_field_info()
call_user_func_array(Object, Array) (Line: 416)
Drupal\Core\Extension\ModuleHandler->Drupal\Core\Extension\{closure}(Object, 'entity_extra_field') (Line: 395)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('entity_extra_field_info', Object) (Line: 423)
Drupal\Core\Extension\ModuleHandler->invokeAll('entity_extra_field_info') (Line: 676)
Drupal\Core\Entity\EntityFieldManager->loadExtraFields() (Line: 649)
Drupal\Core\Entity\EntityFieldManager->getExtraFields('node', 'problem') (Line: 173)
Drupal\Core\Entity\EntityDisplayBase->init() (Line: 155)
Drupal\Core\Entity\EntityDisplayBase->__construct(Array, 'entity_view_display') (Line: 181)
Drupal\Core\Entity\Entity\EntityViewDisplay->__construct(Array, 'entity_view_display') (Line: 418)
Drupal\Core\Entity\EntityStorageBase->mapFromStorageRecords(Array) (Line: 186)
Drupal\Core\Config\Entity\ConfigEntityStorage->doLoadMultiple(Array) (Line: 312)
Drupal\Core\Entity\EntityStorageBase->loadMultiple(Array) (Line: 121)
Drupal\Core\Entity\Entity\EntityViewDisplay::collectRenderDisplays(Array, 'full') (Line: 281)
Drupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 239)
Drupal\Core\Entity\EntityViewBuilder->build(Array)
call_user_func_array(Array, Array) (Line: 113)
Drupal\Core\Render\Renderer->doTrustedCallback(Array, Array, 'Render #pre_render callbacks must be methods of a class that implements \Drupal\Core\Security\TrustedCallbackInterface or be an anonymous function. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 870)
Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 432)
Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 248)
Drupal\Core\Render\Renderer->render(Array, ) (Line: 238)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 638)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)
call_user_func(Array, Object, 'kernel.view', Object) (Line: 111)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 53)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28)
Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->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: 36)
Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 741)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
🇧🇪Belgium Vacilando Brussels

#11 worked for me as well. Could this please be committed to dev at least?

🇧🇪Belgium Vacilando Brussels

#24 (based on #18) works perfectly, thanks!

Is there in the meantime a module that solves this problem in a generic way for views with this kind of relationships?

🇧🇪Belgium Vacilando Brussels

Well, in my experience turning off the Views cache improves things. Simple filters are remembered, but filters with multiple choices are not remembered and are all selected (see 🐛 BEF checkboxes - Allow multiple selections - Remember the last selection Active ).

🇧🇪Belgium Vacilando Brussels

Indeed, checked items are not remembered.
When returning to the filter later, all checkboxes are selected.

(BEF 8.x-5.2 & Drupal Core 9.5.8)

🇧🇪Belgium Vacilando Brussels

Olivero, but tried Seven as well - same behaviour.

In https://stackoverflow.com/questions/66011876/drupal-9-message-and-messag... they say something about outdated jQuery.js in the theme, but I don't see why that would be a problem in my sites since Olivero is a theme from Drupal core.

If I knew what to look for to help I would but at the moment I don't, plus my problem ( 🐛 No link to file download after batch finished Closed: works as designed ) is solved (albeit by switching off BigPipe).

🇧🇪Belgium Vacilando Brussels

Correct. Here's a second D 9.5.3 site I have with BigPipe enabled. I've just saved the block layout. There is no status message. If I disabled BigPipe, the status message would show.

🇧🇪Belgium Vacilando Brussels

Thanks solidegloria, thanks to you I've realized my "Status messages" block newer displayed.

The reason has something to do with BigPipe module, see https://stackoverflow.com/questions/66011876/drupal-9-message-and-messag...

Created a core issue to examine the problem: https://www.drupal.org/project/drupal/issues/3341735 💬 Status messages block not showing while BigPipe module enabled in contrib/custom admin theme Postponed: needs info

But this ticket can now close as there's no problem with views_data_export ✓

🇧🇪Belgium Vacilando Brussels

Upgraded to the dev version. No parameters in view or export link path. All kinds of config parameter combination. Still no download link after the batch finishes :-(

Could you perhaps post a screenshot so that I at least know where to look for the download link?

🇧🇪Belgium Vacilando Brussels

Solved by deleting and adding role "authenticated". Not sure why it was needed.

In any case, I suggest making
$role = Role::load('authenticated'); (https://git.drupalcode.org/project/google_analytics/-/blob/4.x/google_an...)
conditional, as it's not guaranteed that every system will have a role with that name.

Production build 0.71.5 2024