/
var
/
www
/
html
/
restaurants
/
var
/
cache
/
prod
/
twig
/
35
/
Upload File
HOME
<?php use Twig\Environment; use Twig\Error\LoaderError; use Twig\Error\RuntimeError; use Twig\Extension\SandboxExtension; use Twig\Markup; use Twig\Sandbox\SecurityError; use Twig\Sandbox\SecurityNotAllowedTagError; use Twig\Sandbox\SecurityNotAllowedFilterError; use Twig\Sandbox\SecurityNotAllowedFunctionError; use Twig\Source; use Twig\Template; /* @Twig/Exception/error.html.twig */ class __TwigTemplate_b8afdbfa35ac4dc6b6c6ac4967caf86a826882cd5a219588771145ecaf1f6815 extends Template { private $source; private $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ ]; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 1 if (( !array_key_exists("legacy", $context) || ($context["legacy"] ?? null))) { // line 2 echo " "; $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 = (("The template \"" . $this->getTemplateName()) . "\" is deprecated since Symfony 4.4, will be removed in 5.0."); @trigger_error($__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4." (\"@Twig/Exception/error.html.twig\" at line 2).", E_USER_DEPRECATED); } // line 4 echo "<!DOCTYPE html> <html> <head> <meta charset=\""; // line 7 echo twig_escape_filter($this->env, $this->env->getCharset(), "html", null, true); echo "\" /> <title>An Error Occurred: "; // line 8 echo twig_escape_filter($this->env, ($context["status_text"] ?? null), "html", null, true); echo "</title> <style> body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, sans-serif; margin: 0; } .container { margin: 30px; max-width: 600px; } h1 { color: #dc3545; font-size: 24px; } h2 { font-size: 18px; } </style> </head> <body> <div class=\"container\"> <h1>Oops! An Error Occurred</h1> <h2>The server returned a \""; // line 19 echo twig_escape_filter($this->env, ($context["status_code"] ?? null), "html", null, true); echo " "; echo twig_escape_filter($this->env, ($context["status_text"] ?? null), "html", null, true); echo "\".</h2> <p> Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. </p> </div> </body> </html> "; } public function getTemplateName() { return "@Twig/Exception/error.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 67 => 19, 53 => 8, 49 => 7, 44 => 4, 39 => 2, 37 => 1,); } public function getSourceContext() { return new Source("", "@Twig/Exception/error.html.twig", "/var/www/html/restaurants/vendor/symfony/twig-bundle/Resources/views/Exception/error.html.twig"); } }