- Issue created by @giordy
- 🇩🇪Germany a.dmitriiev
There is a known problem with exposed filters that work for anonymous users but not working with authenticated users. As anonymous user I see the hierarchical select:
Regarding the other views that are displayed like this
[view:lucentezza=default]
instead. Please make sure that the views with the corresponding names exists and have proper access settings.Also in your text format, there are settings for Insert view filter:
Make sure that your views are selected, or the list is empty, so all views are allowed.
Maybe you also have any logs available? From Drupal or from browser console?
- 🇮🇹Italy giordy
Now everything is visible perfectly.
There are no errors in the server and neither does Drupal report errors.
Instead there is this warning:
Warning: Undefined array key 1 in Drupal\Core\Asset\AssetResolver->getCssAssets() (line 130 of /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Asset/AssetResolver.php) #0 /home/hmcpdbiy/prova.gmpe.it/core/includes/bootstrap.inc(108): _drupal_error_handler_real(2, 'Undefined array...', '/home/hmcpdbiy/...', 130) #1 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Asset/AssetResolver.php(130): _drupal_error_handler(2, 'Undefined array...', '/home/hmcpdbiy/...', 130) #2 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(279): Drupal\Core\Asset\AssetResolver->getCssAssets(Object(Drupal\Core\Asset\AttachedAssets), false, Object(Drupal\Core\Language\Language)) #3 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php(123): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAssetLibraries(Object(Drupal\Core\Asset\AttachedAssets), Array) #4 /home/hmcpdbiy/prova.gmpe.it/core/modules/big_pipe/src/Render/BigPipeResponseAttachmentsProcessor.php(97): Drupal\Core\Render\HtmlResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse)) #5 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/EventSubscriber/HtmlResponseSubscriber.php(45): Drupal\big_pipe\Render\BigPipeResponseAttachmentsProcessor->processAttachments(Object(Drupal\Core\Render\HtmlResponse)) #6 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(246): Drupal\Core\EventSubscriber\HtmlResponseSubscriber->onRespond(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #7 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(206): Symfony\Component\EventDispatcher\EventDispatcher::Symfony\Component\EventDispatcher\{closure}(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response', Object(Symfony\Component\EventDispatcher\EventDispatcher)) #8 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/event-dispatcher/EventDispatcher.php(56): Symfony\Component\EventDispatcher\EventDispatcher->callListeners(Array, 'kernel.response', Object(Symfony\Component\HttpKernel\Event\ResponseEvent)) #9 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(216): Symfony\Component\EventDispatcher\EventDispatcher->dispatch(Object(Symfony\Component\HttpKernel\Event\ResponseEvent), 'kernel.response') #10 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(162): Symfony\Component\HttpKernel\HttpKernel->filterResponse(Object(Drupal\Core\Render\HtmlResponse), Object(Symfony\Component\HttpFoundation\Request), 1) #11 /home/hmcpdbiy/prova.gmpe.it/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1) #12 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/Session.php(53): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #13 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/KernelPreHandle.php(48): Drupal\Core\StackMiddleware\Session->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #14 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/ContentLength.php(28): Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #15 /home/hmcpdbiy/prova.gmpe.it/core/modules/big_pipe/src/StackMiddleware/ContentLength.php(32): Drupal\Core\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #16 /home/hmcpdbiy/prova.gmpe.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(106): Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #17 /home/hmcpdbiy/prova.gmpe.it/core/modules/page_cache/src/StackMiddleware/PageCache.php(85): Drupal\page_cache\StackMiddleware\PageCache->pass(Object(Symfony\Component\HttpFoundation\Request), 1, true) #18 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/ReverseProxyMiddleware.php(48): Drupal\page_cache\StackMiddleware\PageCache->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #19 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/NegotiationMiddleware.php(51): Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #20 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/AjaxPageState.php(36): Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #21 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/StackMiddleware/StackedHttpKernel.php(51): Drupal\Core\StackMiddleware\AjaxPageState->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #22 /home/hmcpdbiy/prova.gmpe.it/core/lib/Drupal/Core/DrupalKernel.php(709): Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true) #23 /home/hmcpdbiy/prova.gmpe.it/index.php(19): Drupal\Core\DrupalKernel->handle(Object(Symfony\Component\HttpFoundation\Request)) #24 {main}
Thank you very much
- 🇩🇪Germany a.dmitriiev
Now I remember what was the problem with authenticated users and exposed form, the problem is in BigPipe module. In case your main audience of the website are anonymous users, big pipe is not much of a benefit. Please try to disable the bigpipe module. In case of course you have a high number of authenticated users that use your site, then this is a problem. I remember once I have already tried to fix it, but it was in Drupal 8-9 times. Probably something has changed since then. I will try to check bigpipe+exposed filters problem.
- 🇮🇹Italy giordy
I checked with all browsers and the problem disappeared.
The warning, however, also concerns other pages.
I need to look into it because I don't understand anything about these things.Thanks for everything
- 🇮🇹Italy giordy
Unfortunately the problem is not solved. I noticed that with Chrome some views are not shown.
- 🇩🇪Germany a.dmitriiev
Please provide more details, if possible with links to the page and your version of Chrome at least. Also, are you checking as logged in user or anonymous user. Are there any logs with errors in "Recent log messages" in Drupal admin UI?
- 🇮🇹Italy giordy
- The page is the one in #1: https://prova.gmpe.it/chiavi-riconoscimento-minerali.
- Chrome 131.0.6778.205
- anonymous user
- No specific error in "recent log messages", but a warning for all pages visited: #3
- No problem with drupal 9 and 10Thanks and kind regards