IndexController :: localproject
Request
GET Parameters
No GET parameters
POST Parameters
No POST parameters
Uploaded Files
No files were uploaded
Request Attributes
| 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" |
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 | "57cb28" |
| x-debug-token-link | "https://mosregco.ru/_profiler/220aaf" |
| x-previous-debug-token | "220aaf" |
| x-robots-tag | "noindex" |
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" |
Sub Requests 1
ErrorController (token = 220aaf)
| 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 """ : { { twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) … › › |
| logger | Symfony\Bridge\Monolog\Logger {#151 …8} |