Image
Error message
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
Warning: Undefined array key "slug" in eval() (line 20 of modules/php/php.module(81) : eval()'d code).
eval() (Line: 81) php_eval('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ') (Line: 26) Drupal\php\Plugin\Filter\Php->process('<?php $url = 'https://www.reus.cat/xmlfeed_noticia.php?categoria_id=399&from=2021-01-01&to=' . date('Y-m-d'); $xml = simplexml_load_file($url); if($xml === FALSE) { echo "No se encontró el evento"; } else { $data= $xml->item; echo ""; echo "" ; $break = false; foreach ($data as $publicat) { if ( strpos($publicat->title, 'Reus Horitzó' ) !== false || strpos($publicat->body, 'Reus Horitzó') !== false ){ if(substr($publicat->path, strrpos($publicat->path,'/') + 1) == $_GET["slug"]){ echo ""; echo ""; echo ""; echo ""; echo " " . $publicat->title . " "; echo ""; echo "field_arxius_imatges_0 . ")'>"; echo ""; if (empty($publicat->field_noticia_subtitol)) { echo "".$publicat->field_noticia_subtitol .""; } echo "" . $publicat->body . ""; echo ""; if ($publicat->field_arxius_fitxers_count && strpos($publicat->field_arxius_fitxers_0, 'pdf') !== false ) { echo "<a class='descarrega-post'>field_arxius_fitxers_0."'>Descarregar</a>"; } echo ""; echo ""; echo ""; break; $break = true; } } if($break) break; } echo ""; echo ""; } ?> ', 'en') (Line: 118) Drupal\filter\Element\ProcessedText::preRenderText(Array) call_user_func_array(Array, Array) (Line: 111) Drupal\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. The callback was %s. See https://www.drupal.org/node/2966725', 'exception', 'Drupal\Core\Render\Element\RenderCallbackInterface') (Line: 858) Drupal\Core\Render\Renderer->doCallback('#pre_render', Array, Array) (Line: 421) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 88) __TwigTemplate_d93e35097e8fb4301c4b5a89b8f1a967->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 46) __TwigTemplate_9729b2c52797306a915a93cbfcb8af3f->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array, Array) (Line: 43) __TwigTemplate_622de81b299cd81d27c9e3e602df4a9b->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/classy/field/field--text-with-summary.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('field', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 85) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->block_content(Array, Array) (Line: 171) Twig\Template->displayBlock('content', Array, Array) (Line: 68) __TwigTemplate_9520386b787a64f129a24d4b1c72afe0->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/block.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('block', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 52) __TwigTemplate_326b33c5d366242af76dffbbe2ca9a56->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('core/modules/layout_discovery/layouts/onecol/layout--onecol.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('layout__onecol', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array) (Line: 493) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array) (Line: 475) Drupal\Core\Template\TwigExtension->escapeFilter(Object, Array, 'html', NULL, 1) (Line: 110) __TwigTemplate_7d7fb6b3f3fd2f5cb0b5cabf66858612->doDisplay(Array, Array) (Line: 394) Twig\Template->displayWithErrorHandling(Array, Array) (Line: 367) Twig\Template->display(Array) (Line: 379) Twig\Template->render(Array) (Line: 38) Twig\TemplateWrapper->render(Array) (Line: 39) twig_render_template('themes/bartik/templates/node.html.twig', Array) (Line: 348) Drupal\Core\Theme\ThemeManager->render('node', Array) (Line: 480) Drupal\Core\Render\Renderer->doRender(Array, ) (Line: 240) Drupal\Core\Render\Renderer->render(Array, ) (Line: 238) Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 627) Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 239) Drupal\Core\Render\MainContent\HtmlRenderer->prepare(Array, Object, Object) (Line: 128) 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: 111) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch(Object, 'kernel.view') (Line: 186) Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76) Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58) Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 28) Drupal\Core\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 32) Drupal\big_pipe\StackMiddleware\ContentLength->handle(Object, 1, 1) (Line: 191) Drupal\page_cache\StackMiddleware\PageCache->fetch(Object, 1, 1) (Line: 128) Drupal\page_cache\StackMiddleware\PageCache->lookup(Object, 1, 1) (Line: 82) Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48) Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 36) Drupal\Core\StackMiddleware\AjaxPageState->handle(Object, 1, 1) (Line: 51) Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704) Drupal\Core\DrupalKernel->handle(Object) (Line: 19)