Additional uncaught exception thrown while handling exception.

Original

Error: Call to undefined method Drupal\taxonomy\Entity\Term::getVocabularyId() in shapen_theme_suggestions_page_alter() (line 184 of /home/users/psteffen/www/aquatechnic.lu/www/themes/shapen/shapen.theme).

shapen_theme_suggestions_page_alter() (Line: 449)
Drupal\Core\Theme\ThemeManager->alterForTheme() (Line: 458)
Drupal\Core\Theme\ThemeManager->alter() (Line: 245)
Drupal\Core\Theme\ThemeManager->render() (Line: 433)
Drupal\Core\Render\Renderer->doRender() (Line: 204)
Drupal\Core\Render\Renderer->render() (Line: 479)
Drupal\Core\Template\TwigExtension->escapeFilter() (Line: 120)
__TwigTemplate_bd3b9137feb264938d9e37a3f48158c0->doDisplay() (Line: 405)
Twig\Template->displayWithErrorHandling() (Line: 378)
Twig\Template->display() (Line: 390)
Twig\Template->render() (Line: 55)
twig_render_template() (Line: 384)
Drupal\Core\Theme\ThemeManager->render() (Line: 433)
Drupal\Core\Render\Renderer->doRender() (Line: 204)
Drupal\Core\Render\Renderer->render() (Line: 162)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 157)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 191)
Drupal\page_cache\StackMiddleware\PageCache->fetch() (Line: 128)
Drupal\page_cache\StackMiddleware\PageCache->lookup() (Line: 82)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 707)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Additional

Error: Call to undefined function error_log() in _drupal_log_error() (line 186 of /home/users/psteffen/www/aquatechnic.lu/www/core/includes/errors.inc).

_drupal_log_error() (Line: 365)
_drupal_exception_handler()