https://mosregco.ru/localproject/27

ErrorController

Request

GET Parameters

No GET parameters

POST Parameters

No POST parameters

Uploaded Files

No files were uploaded

Request Attributes

Key Value
_controller
"error_controller"
_stopwatch_token
"409aaf"
exception
Twig\Error\RuntimeError {#992
  #message: "Impossible to access an attribute ("seoTitle") on a null variable."
  #code: 0
  #file: "/var/www/mosportal/templates/new/index/local_project.html.twig"
  #line: 3
  -lineno: 3
  -name: "new/index/local_project.html.twig"
  -rawMessage: "Impossible to access an attribute ("seoTitle") on a null variable."
  -sourcePath: "/var/www/mosportal/templates/new/index/local_project.html.twig"
  -sourceCode: """
    {% extends 'new/base.html.twig' %}\n
    \n
    {% block title %}{{ project.seoTitle }}{% endblock %}\n
    {% block seoDescription %}{{ project.seoDescription | raw }} {% endblock %}\n
    {% block seoKeywords %}{{ project.seoKeywords | raw }} {% endblock %}\n
    \n
    \n
    {% block opengraph %}\n
        <meta property="og:type" content="website">\n
        <meta property="og:url" content="https://mosregco.ru{{ app.request.pathInfo }}">\n
        <meta property="og:title" content="{{ project.Title | raw }}">\n
        <meta property="og:description" content="{{ project.content  | striptags | slice(0,150) }}">\n
        <meta property="og:image" content="https://mosregco.ru{{ vich_uploader_asset(project, 'imageFile') }}">\n
    {% endblock %}\n
    \n
    \n
    \n
    {% block body %}\n
    <div class="container  wow fadeInUp  mob-mt-35" style="margin-top: 63px">\n
        <nav aria-label="breadcrumb">\n
            <ol class="breadcrumb">\n
                <li class="breadcrumb-item"><a href="{{ path('app_index') }}">Главная</a></li>\n
                <li class="breadcrumb-item active" aria-current="page">{{ project.title | raw }}</li>\n
            </ol>\n
        </nav>\n
    </div>\n
        <div class="container mt75 mob-mt-35  wow fadeInUp">\n
            <div class="row">\n
                <div class="col-md-4">\n
                    <img src="{{ vich_uploader_asset(project, 'imageFile') }}" id="big-logo" style="max-width: 100%; width: 100%; margin-bottom: 10px">\n
    \n
                    <div class="slider owl-carousel  owl-theme" id="slider-local_project">\n
                        <div class="item">\n
                            <img src="{{ vich_uploader_asset(project, 'imageFile') }}" class="mini-logo">\n
                        </div>\n
                        {% for image in project.images  %}\n
                            <div class="item">\n
                                <img src="{{ vich_uploader_asset(image, 'imageFile') }}" class="mini-logo">\n
                            </div>\n
                        {% endfor %}\n
                    </div>\n
                    <div class="mt25 mob-mt-35">\n
                        <strong>Расположение</strong><br />\n
                        {{ project.location | raw }}\n
                    </div>\n
                    <div class="mt15">\n
                        <strong>Сумма инвестиций</strong><br />\n
                        {{ project.amountInvestment | raw }}\n
                    </div>\n
                    <div class="mt15">\n
                        <strong>Срок реализации</strong><br />\n
                        {{ project.implementationPeriod | raw }}\n
                    </div>\n
                    <div class="mt15">\n
                        <strong>Рабочих мест</strong><br />\n
                        {{ project.workPlace | raw }}\n
                    </div>\n
                </div>\n
                <div class="offset-md-1 col-md-7  mobb-mt-75">\n
                    <h2>{{ project.title | raw }}</h2>\n
                    <div class="mt50 mob-mt-35">\n
                        {{ project.content | raw }}\n
                    </div>\n
    \n
                </div>\n
            </div>\n
        </div>\n
    \n
        {% if project.smi | length > 0 %}\n
            <div class="container mt75  wow fadeInUp">\n
                <div class="row">\n
                    <div class="offset-md-5 col-md-6">\n
                        <h2 class="">Упоминания в СМИ</h2>\n
                    </div>\n
                </div>\n
    \n
                <div class="mt50 mob-mt-0 news-cards">\n
    {#                <div class="d-flex" style="gap: 10px">#}\n
                    <div class="owl-carousel owl-theme" id="owl-smi">\n
                    {% for publication in project.smi  %}\n
                        {{ include('new\\Element\\smi_card.html.twig') }}\n
                    {% endfor %}\n
    {#            </div>#}\n
                    </div>\n
                </div>\n
    \n
            </div>\n
        {% endif %}\n
    \n
    \n
        {{ include('new\\widgets\\index_project.html.twig', {'notId' : project.id }) }}\n
    \n
    \n
        {% if project.locX and project.locY %}\n
            <div class="container mt-big wow fadeInUp">\n
                <div  id="map">\n
                    <div class="blackandwhite" style="">\n
                        <div id="mapapi" style="height: 525px"></div>\n
                    </div>\n
    \n
                </div>\n
    \n
            </div>\n
        {% endif %}\n
    \n
        <div style="    margin-bottom: -100px;">\n
    \n
            {{ include('new\\widgets\\index_form.html.twig') }}\n
        </div>\n
    \n
    {% endblock %}\n
    \n
    {% block stylesheets %}\n
        {{ parent() }}\n
        <style>\n
            #owl-smi .card-new{\n
                width: auto;\n
            }\n
        </style>\n
    {% endblock %}\n
    \n
    \n
    {% block javascripts %}\n
        {{ parent() }}\n
        <script>\n
            $(document).ready(function (){\n
    \n
                $('#owl-smi').owlCarousel({\n
                    loop:true,\n
                    margin:10,\n
                    nav:false,\n
                    responsive:{\n
                        0:{\n
                            items:1\n
                        },\n
                        600:{\n
                            items:2\n
                        },\n
                        1000:{\n
                            items:3\n
                        }\n
                    }\n
                })\n
    \n
    \n
    \n
                $('body').on("click", ".mini-logo", function () {\n
                    $('#big-logo').attr('src', $(this).attr('src'));\n
                })\n
    \n
                var owlItog = $('#slider-local_project').owlCarousel({\n
                    loop:true,\n
                    margin:10,\n
                    smartSpeed: 500,\n
                    nav:true,\n
                    dots:false,\n
                    navText:["<div class='nav-btn prev-slide'></div>","<div class='nav-btn next-slide'></div>"],\n
                    // animateOut: 'fadeOutDownBig',\n
                    // animateIn: 'fadeInDownBig',\n
                    responsive: {\n
                        0: {\n
                            items: 4\n
                        },\n
                    },\n
    \n
                });\n
            });\n
    \n
            {% if project.locX and project.locY %}\n
            ymaps.ready(function () {\n
                var myMap = new ymaps.Map('mapapi', {\n
                        center: [{{ project.locX }}, {{ project.locY }}],\n
                        zoom: 11\n
                    }, {\n
                        searchControlProvider: false\n
                    }),\n
    \n
    \n
                    myPlacemark = new ymaps.Placemark([{{ project.locX }}, {{ project.locY }}], {\n
                        hintContent: '{{ project.title }}',\n
                        balloonContent: '{{ project.title }}'\n
                    }, {\n
                        // Опции.\n
                        // Необходимо указать данный тип макета.\n
                        iconLayout: 'default#image',\n
                        // Своё изображение иконки метки.\n
                        iconImageHref: '/assets/images/new/icon_loc_p.svg',\n
                        // Размеры метки.\n
                        iconImageSize: [60, 60],\n
                        // Смещение левого верхнего угла иконки относительно\n
                        // её "ножки" (точки привязки).\n
                        iconImageOffset: [-30, -70]\n
                    })\n
    \n
                myMap.geoObjects\n
                    .add(myPlacemark);\n
            });\n
            {% endif %}\n
        </script>\n
    {% endblock %}\n
    """
  trace: {
    /var/www/mosportal/templates/new/index/local_project.html.twig:3 {
      twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
      › 
      › {% block title %}{{ project.seoTitle }}{% endblock %}{% block seoDescription %}{{ project.seoDescription | raw }} {% endblock %}
    }
    /var/www/mosportal/var/cache/dev/twig/27/2782c227dd4ca619a01c0fbc26019c60.php:73 {
      __TwigTemplate_9d9a37d0ab751bef070c29531e7cbda0->block_title($context, array $blocks = []) …
      › 
      › echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["project"]) || array_key_exists("project", $context) ? $context["project"] : (function () { throw new RuntimeError('Variable "project" does not exist.', 3, $this->source); })()), "seoTitle", [], "any", false, false, false, 3), "html", null, true);}
    /var/www/mosportal/vendor/twig/twig/src/Template.php:171 {
      Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
      › try {    $template->$block($context, $blocks);} catch (Error $e) {
    }
    /var/www/mosportal/templates/new/base.html.twig:10 {
      __TwigTemplate_5682c8f47f677cca2d385ba75a34740d->doDisplay(array $context, array $blocks = []) …
      › <link rel="canonical" href="https://mosregco.ru{{ app.request.pathInfo }}" /><title>{% block title %}Корпорация развития Московской области - Главная страница{% endblock %}</title><meta name="description" content="{% block seoDescription %}{{ page is defined ? page.seoDescription | raw }}{% endblock %}" >
    }
    /var/www/mosportal/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/mosportal/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/mosportal/var/cache/dev/twig/27/2782c227dd4ca619a01c0fbc26019c60.php:54 {
      __TwigTemplate_9d9a37d0ab751bef070c29531e7cbda0->doDisplay(array $context, array $blocks = []) …
      › $this->parent = $this->loadTemplate("new/base.html.twig", "new/index/local_project.html.twig", 1);$this->parent->display($context, array_merge($this->blocks, $blocks));}
    /var/www/mosportal/vendor/twig/twig/src/Template.php:394 {
      Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
      › try {    $this->doDisplay($context, $blocks);} catch (Error $e) {
    }
    /var/www/mosportal/vendor/twig/twig/src/Template.php:367 {
      Twig\Template->display(array $context, array $blocks = []) …
      › {    $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));}
    }
    /var/www/mosportal/vendor/twig/twig/src/Template.php:379 {
      Twig\Template->render(array $context) …
      › try {    $this->display($context);} catch (\Throwable $e) {
    }
    /var/www/mosportal/vendor/twig/twig/src/TemplateWrapper.php:40 {
      Twig\TemplateWrapper->render(array $context = []): string …
      ›     // as it should only be used by internal code    return $this->template->render($context, \func_get_args()[1] ?? []);}
    }
    /var/www/mosportal/vendor/twig/twig/src/Environment.php:277 {
      Twig\Environment->render($name, array $context = []): string …
      › {    return $this->load($name)->render($context);}
    }
    /var/www/mosportal/vendor/symfony/framework-bundle/Controller/AbstractController.php:258 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->renderView(string $view, array $parameters = []): string …
      › 
      ›     return $this->container->get('twig')->render($view, $parameters);}
    }
    /var/www/mosportal/vendor/symfony/framework-bundle/Controller/AbstractController.php:266 {
      Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], Response $response = null): Response …
      › {    $content = $this->renderView($view, $parameters);}
    /var/www/mosportal/src/Controller/IndexController.php:1034 {
      App\Controller\IndexController->localproject(ManagerRegistry $doctrine, $id): Response …
      ›     'localProjectsCount'=>$localProjectsCount,    'project'=>$project,]);
    }
    /var/www/mosportal/vendor/symfony/http-kernel/HttpKernel.php:152 {
      Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
      › // call controller$response = $controller(...$arguments);}
    /var/www/mosportal/vendor/symfony/http-kernel/HttpKernel.php:74 {
      Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->handleRaw($request, $type);} catch (\Exception $e) {
    }
    /var/www/mosportal/vendor/symfony/http-kernel/Kernel.php:202 {
      Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
      › try {    return $this->getHttpKernel()->handle($request, $type, $catch);} finally {
    }
    /var/www/mosportal/vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35 {
      Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run(): int …
      › {    $response = $this->kernel->handle($this->request);    $response->send();
    }
    /var/www/mosportal/vendor/autoload_runtime.php:35 {
      require_once …
      ›         ->getRunner($app)        ->run());
    }
    /var/www/mosportal/public/index.php:4 {
      › 
      › require_once dirname(__DIR__).'/vendor/autoload_runtime.php';arguments: {
        "/var/www/mosportal/vendor/autoload_runtime.php"
      }
    }
  }
}
logger
Symfony\Bridge\Monolog\Logger {#151 …8}

Request Headers

Header Value
accept
"text/html, application/rss+xml, application/atom+xml, text/xml, text/rss+xml, application/xhtml+xml"
accept-encoding
"gzip,deflate"
connection
"close"
host
"mosregco.ru"
user-agent
"Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)"
x-php-ob-level
"1"

Request Content

Request content not available (it was retrieved as a resource).

Response

Response Headers

Header Value
cache-control
"no-cache, private"
content-type
"text/html; charset=UTF-8"
date
"Fri, 27 Feb 2026 00:23:54 GMT"
x-debug-exception
"Impossible%20to%20access%20an%20attribute%20%28%22seoTitle%22%29%20on%20a%20null%20variable."
x-debug-exception-file
"%2Fvar%2Fwww%2Fmosportal%2Ftemplates%2Fnew%2Findex%2Flocal_project.html.twig:3"
x-debug-token
"220aaf"

Cookies

Request Cookies

No request cookies

Response Cookies

No response cookies

Session

Session Metadata

No session metadata

Session Attributes

No session attributes

Session Usage

0 Usages
Stateless check enabled

Session not used.

Flashes

Flashes

No flash messages were created.

Server Parameters

Server Parameters

Defined in .env

Key Value
APP_ENV
"dev"
APP_SECRET
"b42a5a4d713d559e409f2d985ff402b3"
DATABASE_URL
"mysql://root:opk34543RE@127.0.0.1:3306/mos_portal?serverVersion=5.7&charset=utf8mb4"
MAILER_DSN
"smtp://smtp.mail.ru:465?encryption=ssl&auth_mode=login&username=marketing@mosregco.ru&password=MdXhQX0NpyZQ6uuhPPym"
MESSENGER_TRANSPORT_DSN
"doctrine://default?auto_setup=0"

Defined as regular env variables

Key Value
APP_DEBUG
"1"
CONTEXT_DOCUMENT_ROOT
"/var/www/mosportal/public"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/var/www/mosportal/public"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
HTTP_ACCEPT
"text/html, application/rss+xml, application/atom+xml, text/xml, text/rss+xml, application/xhtml+xml"
HTTP_ACCEPT_ENCODING
"gzip,deflate"
HTTP_CONNECTION
"close"
HTTP_HOST
"mosregco.ru"
HTTP_USER_AGENT
"Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
PHP_SELF
"/index.php"
QUERY_STRING
""
REDIRECT_HTTPS
"on"
REDIRECT_SSL_TLS_SNI
"mosregco.ru"
REDIRECT_STATUS
"200"
REDIRECT_URL
"/localproject/27"
REMOTE_ADDR
"185.191.171.16"
REMOTE_PORT
"25668"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"https"
REQUEST_TIME
1772151834
REQUEST_TIME_FLOAT
1772151834.5008
REQUEST_URI
"/localproject/27"
SCRIPT_FILENAME
"/var/www/mosportal/public/index.php"
SCRIPT_NAME
"/index.php"
SERVER_ADDR
"188.120.246.145"
SERVER_ADMIN
"webmaster@localhost"
SERVER_NAME
"mosregco.ru"
SERVER_PORT
"443"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
"<address>Apache/2.4.41 (Ubuntu) Server at mosregco.ru Port 443</address>\n"
SERVER_SOFTWARE
"Apache/2.4.41 (Ubuntu)"
SSL_TLS_SNI
"mosregco.ru"
SYMFONY_DOTENV_VARS
"MESSENGER_TRANSPORT_DSN,APP_ENV,APP_SECRET,DATABASE_URL,MAILER_DSN"

Parent Request

Return to parent request (token = 57cb28)

Key Value
_controller
"App\Controller\IndexController::localproject"
_firewall_context
"security.firewall.map.context.main"
_remove_csp_headers
true
_route
"app_localproject"
_route_params
[
  "id" => "27"
]
_security_firewall_run
"_security_main"
_stopwatch_token
"1fed0f"
id
"27"