
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81) See ', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 788)ĭrupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 374)ĭrupal\Core\Render\Renderer->doRender(Array, ) (Line: 204)ĭrupal\Core\Render\Renderer->render(Array, ) (Line: 242)ĭrupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\() (Line: 580)ĭrupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 243)ĭrupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 132)ĭrupal\Core\Render\MainContent\HtmlRenderer->renderResponse(Array, Object, Object) (Line: 90)ĭrupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray(Object, 'kernel.view', Object)Ĭall_user_func(Array, Object, 'kernel.view', Object) (Line: 142)ĭrupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 174)

Drupal\responsive_bg_image_formatter\Plugin\Field\FieldFormatter\ResponsiveBgImageFormatter->viewElements(Object, 'en') (Line: 89)ĭrupal\Core\Field\FormatterBase->view(Object, 'en') (Line: 76)ĭrupal\Core\Field\Plugin\Field\FieldFormatter\EntityReferenceFormatterBase->view(Object, NULL) (Line: 265)ĭrupal\Core\Entity\Entity\EntityViewDisplay->buildMultiple(Array) (Line: 340)ĭrupal\Core\Entity\EntityViewBuilder->buildComponents(Array, Array, Array, 'full') (Line: 24)ĭrupal\node\NodeViewBuilder->buildComponents(Array, Array, Array, 'full') (Line: 282)ĭrupal\Core\Entity\EntityViewBuilder->buildMultiple(Array) (Line: 239)ĭrupal\Core\Entity\EntityViewBuilder->build(Array)Ĭall_user_func_array(Array, Array) (Line: 101)ĭrupal\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.


Warning: Undefined variable $index in Drupal\responsive_bg_image_formatter\Plugin\Field\FieldFormatter\ResponsiveBgImageFormatter->viewElements() (line 95 of modules/custom/responsive_bg_image_formatter/src/Plugin/Field/FieldFormatter/ResponsiveBgImageFormatter.php).
