Dobrý deň,
chcel som si naklikať vo Views filter podľa Vášho videa z youtube, ale mám problém :-(.
views dependent filter v D11 konči bielou smrťou. Inštaloval som verziu views_dependent_filters 8.x-1.2. Chybu som nahral do prílohy. Viete ma prosím nasmerovať ako chybu odstrániť? Drupal beží na localhost. Ďakujem.
Tohle se obávám, že nemá řešení bez zkoumání konkrétního webu.
Ďakujem, môj web je len testovacie "pieskovisko", takže skúmať to moc nie je potrebné :-). Skúsil som nainštalovať verziu D10 a tam view dependent filter funguje korektne. Ďakujem za Vaše návody. Či na vašom blogu, knihách alebo na youtube.
Nevidím tu prílohu s chybou, tak ju vložím sem:
--------------------------------------------------------
The website encountered an unexpected error. Try again later.
TypeError: Drupal\Component\Utility\Html::escape(): Argument #1 ($text) must be of type string, null given, called in /var/www/merika/drupal/web/core/lib/Drupal/Component/Render/FormattableMarkup.php on line 256 in Drupal\Component\Utility\Html::escape() (line 431 of core/lib/Drupal/Component/Utility/Html.php).
Drupal\Component\Render\FormattableMarkup::placeholderEscape() (Line: 205)
Drupal\Component\Render\FormattableMarkup::placeholderFormat() (Line: 195)
Drupal\Core\StringTranslation\TranslatableMarkup->render() (Line: 15)
Drupal\Core\StringTranslation\TranslatableMarkup->__toString() (Line: 1149)
Drupal\views_ui\ViewEditForm->getFormBucket() (Line: 624)
Drupal\views_ui\ViewEditForm->getDisplayDetails() (Line: 396)
Drupal\views_ui\ViewEditForm->getDisplayTab() (Line: 213)
Drupal\views_ui\ViewEditForm->form() (Line: 107)
Drupal\Core\Entity\EntityForm->buildForm() (Line: 42)
Drupal\views_ui\ViewFormBase->buildForm()
call_user_func_array() (Line: 528)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 279)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 48)
Drupal\Core\Entity\EntityFormBuilder->getForm() (Line: 220)
Drupal\views_ui\Controller\ViewsUIController->edit()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::wrapControllerExecutionInRenderContext():121}() (Line: 593)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 121)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->{closure:Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber::onController():96}() (Line: 183)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 53)
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: 709)
Drupal\Core\DrupalKernel->handle() (Line: 19)