Error: Call to undefined method Drupal\views\Render\ViewsRenderPipelineMarkup::render()

Created on 6 July 2021, almost 4 years ago
Updated 20 June 2023, almost 2 years ago

Problem/Motivation

I get the error :

The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\views\Render\ViewsRenderPipelineMarkup::render() in Drupal\schema_metatag\Plugin\schema_metatag\PropertyType\BreadcrumbList->getItems() (line 82 of modules/contrib/schema_metatag/src/Plugin/schema_metatag/PropertyType/BreadcrumbList.php).
Drupal\schema_metatag\Plugin\schema_metatag\PropertyType\BreadcrumbList->getItems('Yes') (Line: 48)
Drupal\schema_metatag\Plugin\schema_metatag\PropertyType\ItemListElement->outputValue('Yes') (Line: 54)
Drupal\schema_metatag\Plugin\schema_metatag\PropertyType\BreadcrumbList->outputValue('Yes') (Line: 189)
Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase->outputValue('Yes') (Line: 161)
Drupal\schema_metatag\Plugin\metatag\Tag\SchemaNameBase->output() (Line: 583)
Drupal\metatag\MetatagManager->generateRawElements(Array, Object) (Line: 493)
Drupal\metatag\MetatagManager->generateElements(Array, Object) (Line: 528)
metatag_get_tags_from_route() (Line: 126)
metatag_page_attachments(Array) (Line: 312)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks(Array) (Line: 288)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)
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: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 80)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 57)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 47)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 52)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 716)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Steps to reproduce

I upgrade from drupal 8.9.16 to 9.2.0
I do a search from the searchbox with Search API, it works.
As soon I click on a facet filter, it crashes.

Thanks for your help !

🐛 Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

🇫🇷France mchamps Finistère

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.

  • First commit to issue fork.
Production build 0.71.5 2024