Log Messages
Info. & Errors 1
Informational and error log messages generated during the execution of the application.
| Level | Channel | Message |
|---|---|---|
| CRITICAL | request |
Uncaught PHP Exception Twig\Error\RuntimeError: "Impossible to access an attribute ("metaTitle") on a null variable." at /home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/About/news_item.html.twig line 4
[ "exception" => Twig\Error\RuntimeError {#652 -lineno: 4 -name: "TroikaRealEstateBundle:About:news_item.html.twig" -rawMessage: "Impossible to access an attribute ("metaTitle") on a null variable." -sourcePath: "/home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/About/news_item.html.twig" -sourceCode: """ {% extends 'TroikaRealEstateBundle:Default:layout.html.twig' %}\n \n \n {% block title %}{{ news.metaTitle }}{% endblock %}\n {% block description %}{{ news.metaDescription }}{% endblock %}\n {% block keywords %}{{ news.metaKeywords }}{% endblock %}\n \n {% block ogTitle %}{{ news.name }}{% endblock %}\n {% block ogImg %}{% for photo in news.photos %}\n {% if photo.main %}\n https://troikaestate.ru/cache{{ photo.webPathImage|replace({"." : "_720x496."}) }}\n {% endif %}\n {% endfor %}{% endblock %}\n \n {% block main %}\n <div id="content" class="content">\n <div class="wrapper news">\n <ul class="hb hide__phone hide__tablet hbtmfix">\n <li><a href="/">Элитная недвижимость</a></li>\n <li><a href="/news">Блог</a></li>\n <li class="current">{{ news.name }}</li>\n </ul>\n <div id="layout" class="layout">\n <div class="layout-column-left">\n <div id="btn-delivery" class="btn btn-orange btn__block" style="margin-bottom: 12px">подписаться</div>\n <div class="panel panel__white panel__list hide__phone hide__tablet">\n <ul class="list__clean fontOpenSans lh24">\n <li><a href="/news/2019/" class="link link__underlined">2019 год</a></li>\n <li><a href="/news/2020/" class="link link__underlined">2020 год</a></li>\n </ul>\n </div>\n <div class="block hide__phone hide__tablet">\n {{ render(controller('TroikaRealEstateBundle:Banner:getBanner', { 'banner': 3 })) }}\n </div>\n </div>\n <div class="layout-column-right">\n <div class="block block-select hide__desktop" style="margin-left: -2px">\n <select name="" id="news-select">\n <option value="2019" {% if (news.date > "2019.01.01" and news.date < "2020.01.01") %}selected{% endif %}>\n 2019\n год\n </option>\n <option value="2020" {% if (news.date > "2020.01.01") %}selected{% endif %} >2020 год</option>\n </select>\n </div>\n <div class="cards cards__list cards__list__news">\n <h1>{{ news.name }}</h1>\n \n {{ news.text|raw }}\n </div>\n \n </div>\n \n <div class="news_list_in_item">\n <ul>\n {% for link in links %}\n <li>\n <a href="/news/item/{{ link.id }}">{{ link.name }}</a>\n </li>\n {% endfor %}\n </ul>\n </div>\n </div>\n \n </div>\n </div>\n \n <div class="modal fade" id="deliveryNews">\n <div class="modal-dialog">\n <div class="modal-content">\n <div class="modal-header">\n <h4 class="modal-title" style="font-size: 18px; font-weight: 100;">подписаться на аналитику</h4>\n </div>\n <div class="modal-body">\n <div id="newsModalError" class="panel-container error-content ModalError">\n <p></p>\n </div>\n <div class="panel-container__left">\n <div class="panel-container modal-panel">\n <input type="text" class="control control__icon-before" placeholder="Имя" id="dName">\n <i class="fa fa__control fa-user pull-left gray-dark"></i>\n </div>\n <div class="panel-container modal-panel">\n <input type="text" class="control control__icon-before" placeholder="Компания" id="dCompany">\n <i class="fa fa__control fa-home pull-left gray-dark"></i>\n </div>\n <div class="panel-container modal-panel">\n <input type="text" class="control control__icon-before" placeholder="E-mail" id="dMail">\n <i class="fa fa__control fa-envelope pull-left gray-dark"></i>\n </div>\n </div>\n </div>\n <div class="modal-footer">\n \n <div class="btn" id="btn-ok" style="width: 280px;">подписаться</div>\n </div>\n </div><!-- /.modal-content -->\n </div><!-- /.modal-dialog -->\n </div><!-- /.modal -->\n <style>\n .cards.cards__list.cards__list__news h1 img,\n .cards.cards__list.cards__list__news p img {\n width: 100%;\n height: auto;\n }\n \n \n .cards__list__news p, .cards__list__news li {\n font-family: "Open Sans", Arial, sans-serif;\n font-size: 14px;\n line-height: 21px;\n color: #171717;\n margin-bottom: 5px;\n }\n \n .cards.cards__list.cards__list__news h1, .cards.cards__list.cards__list__news h2, .cards.cards__list.cards__list__news h3, .cards.cards__list.cards__list__news h4, .cards.cards__list.cards__list__news h5 {\n font-family: Open Sans, sans-serif;\n color: rgb(57, 57, 57);\n font-weight: 600;\n margin-bottom: 10px;\n }\n \n .news .cards.cards__list.cards__list__news > h5 {\n font-size: 14px;\n }\n \n .news .cards.cards__list.cards__list__news > h4 {\n font-size: 15px;\n }\n \n .news .cards.cards__list.cards__list__news > h3 {\n font-size: 16px !important;\n }\n \n .news .cards.cards__list.cards__list__news > h2 {\n font-size: 18px;\n }\n \n .news .cards.cards__list.cards__list__news > h1 {\n font-size: 20px;\n }\n \n \n @media (min-width: 700px) {\n .cards.cards__list.cards__list__news {\n width: 70%;\n }\n \n div#layout {\n position: relative;\n }\n \n .news_list_in_item {\n position: absolute;\n top: 85px;\n right: 0px;\n width: 27%;\n border: solid #e5e0db 1px;\n border-radius: 2px;\n padding: 11px;\n font-size: 13px;\n }\n \n .news_list_in_item li {\n margin-bottom: 8px;\n line-height: 16px;\n }\n \n .news_list_in_item a {\n color: #393939;\n text-decoration: underline;\n }\n }\n \n .cards.cards__list.cards__list__news li {\n list-style: circle;\n margin-left: 16px;\n }\n \n @media (max-width: 700px) {\n .news_list_in_item {\n display: none;\n }\n }\n </style>\n <script>\n $('#btn-delivery').on('click', function () {\n $('#deliveryNews').modal();\n $('#deliveryNews h4.modal-title').text('подписаться на новости');\n $('#btn-ok').on('click', function () {\n \n $('.error').each(function () {\n $(this).removeClass('error');\n });\n errorText = '';\n \n error = 0;\n if ($.trim($('#dName').val()) == '') {\n error = 1;\n errorText += 'Не заполнено поле "Имя" \n';\n $('#dName').addClass('error');\n }\n if ($.trim($('#dCompany').val()) == '') {\n error = 1;\n errorText += 'Не заполнено поле "Компания" \n';\n $('#dCompany').addClass('error');\n }\n if (!isValidMail($('#dMail').val())) {\n error = 1;\n errorText += 'Не заполнено поле "E-mail" \n';\n $('#dMail').addClass('error');\n }\n console.log(errorText);\n \n if (error != 1) {\n $('#newsModalError').html('');\n $('#newsModalError').hide();\n $.ajax({\n url: '/api/newsClient',\n type: 'POST',\n data: {\n name: $('#dName').val(),\n company: $('#dCompany').val(),\n mail: $('#dMail').val()\n }\n }).done(function () {\n $('#deliveryNews').modal('hide');\n $('#questionSuccessModal').modal();\n $('#questionSuccessModal h4.modal-title').text('подписаться на новости');\n $('#questionSuccessModal .modal-body').text('Спасибо!');\n \n $('#quest-close').click(function () {\n $('#questionSuccessModal').modal('hide');\n });\n });\n } else {\n $('#newsModalError').html(errorText);\n $('#newsModalError').html($('#newsModalError').html().replace(/\n/g, '<br/>'));\n $('#newsModalError').show();\n }\n \n });\n });\n </script>\n <script src="/js/lightbox.min.js"></script>\n <link rel="stylesheet" type="text/css" href="/css/lightbox.css">\n {% endblock %} """ #message: "Impossible to access an attribute ("metaTitle") on a null variable." #code: 0 #file: "/home/troikaestate/public_html/src/Troika/RealEstateBundle/Resources/views/About/news_item.html.twig" #line: 4 : { { twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) … › › {
{
twig_get_attribute(Environment $env, Source $source, $object, $item, array $arguments = [], $type = 'any', $isDefinedTest = false, $ignoreStrictCheck = false, $sandboxed = false, int $lineno = -1) …
›
›
|
Deprecations 25
Log messages generated by using features marked as deprecated.
| Time | Channel | Message |
|---|---|---|
| n/a (2 times) |
The "framework.templating" configuration is deprecated since Symfony 4.3. Configure the "twig" section provided by the Twig Bundle instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1010 +count: 2 -severity: E_USER_DEPRECATED : { { Symfony\Component\Config\Definition\ArrayNode->finalizeValue($value) … › {
{
Symfony\Component\Config\Definition\ArrayNode->finalizeValue($value) …
›
|
|
| n/a |
Enabling the Templating component is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1005 +count: 1 -severity: E_USER_DEPRECATED : { { Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(array $configs, ContainerBuilder $container) … › {
{
Symfony\Bundle\FrameworkBundle\DependencyInjection\FrameworkExtension->load(array $configs, ContainerBuilder $container) …
›
|
|
| n/a (2 times) |
The "twig.exception_controller" configuration key has been deprecated in Symfony 4.4, set it to "null" and use "framework.error_controller" configuration key instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1007 +count: 2 -severity: E_USER_DEPRECATED : { { Symfony\Bundle\TwigBundle\DependencyInjection\Configuration::Symfony\Bundle\TwigBundle\DependencyInjection\{closure} … › {
{
Symfony\Bundle\TwigBundle\DependencyInjection\Configuration::Symfony\Bundle\TwigBundle\DependencyInjection\{closure} …
›
|
|
| n/a |
Loading Twig templates for "TwigBundle" from the "/home/troikaestate/public_html/app/Resources/TwigBundle/views" directory is deprecated since Symfony 4.2, use "/home/troikaestate/public_html/templates/bundles/TwigBundle" instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1004 +count: 1 -severity: E_USER_DEPRECATED : { { Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension->getBundleTemplatePaths(ContainerBuilder $container, array $config): array … › {
{
Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension->getBundleTemplatePaths(ContainerBuilder $container, array $config): array …
›
|
|
| n/a |
Loading Twig templates from the "/home/troikaestate/public_html/app/Resources/views" directory is deprecated since Symfony 4.2, use "/home/troikaestate/public_html/templates" instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1003 +count: 1 -severity: E_USER_DEPRECATED : { { Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension->load(array $configs, ContainerBuilder $container) … › {
{
Symfony\Bundle\TwigBundle\DependencyInjection\TwigExtension->load(array $configs, ContainerBuilder $container) …
›
|
|
| n/a |
Enabling the "sensio_framework_extra.router.annotations" configuration is deprecated since version 5.2. Set it to false and use the "Symfony\Component\Routing\Annotation\Route" annotation from Symfony itself.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1002 +count: 1 -severity: E_USER_DEPRECATED : { { Sensio\Bundle\FrameworkExtraBundle\DependencyInjection\SensioFrameworkExtraExtension->load(array $configs, ContainerBuilder $container) … › {
{
Sensio\Bundle\FrameworkExtraBundle\DependencyInjection\SensioFrameworkExtraExtension->load(array $configs, ContainerBuilder $container) …
›
|
|
| n/a |
Using Groups is deprecated since version 2.2 and will be removed in 3.0.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1001 +count: 1 -severity: E_USER_DEPRECATED : { { FOS\UserBundle\DependencyInjection\FOSUserExtension->load(array $configs, ContainerBuilder $container) … › {
{
FOS\UserBundle\DependencyInjection\FOSUserExtension->load(array $configs, ContainerBuilder $container) …
›
|
|
| n/a |
The Sonata\AdminBundle\Admin\Admin class is deprecated since version 3.1 and will be removed in 4.0. Use Sonata\AdminBundle\Admin\AbstractAdmin instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1000 +count: 1 -severity: E_USER_DEPRECATED : { { include … › {
{
include …
›
|
|
| n/a |
The Symfony\Bundle\TwigBundle\CacheWarmer\TemplateCacheCacheWarmer class is deprecated since version 4.4 and will be removed in 5.0; use Twig instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#999 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
The "Symfony\Component\HttpKernel\EventListener\ExceptionListener" class is deprecated since Symfony 4.4, use "ErrorListener" instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#998 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
The "Symfony\Bundle\FrameworkBundle\Command\ContainerAwareCommand" class is deprecated since Symfony 4.2, use "Symfony\Component\Console\Command\Command" with dependency injection instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#997 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
The Sonata\Form\Type\EqualType class is deprecated since version 1.2 and will be removed in 2.0. Use Sonata\AdminBundle\Form\Type\Operator\EqualOperatorType instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#994 +count: 1 -severity: E_USER_DEPRECATED : { { include … › {
{
include …
›
|
|
| n/a |
The "templating.cache_warmer.template_paths" service is deprecated since Symfony 4.3 and will be removed in 5.0.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#995 +count: 1 -severity: E_USER_DEPRECATED : { { require … › › {
{
require …
›
›
|
|
| n/a |
The Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplatePathsCacheWarmer class is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#996 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
The "templating.finder" service is deprecated since Symfony 4.3 and will be removed in 5.0.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1133 +count: 1 -severity: E_USER_DEPRECATED : { { require … › › {
{
require …
›
›
|
|
| n/a |
The Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder class is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1091 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
The Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinderInterface interface is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1121 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
The Symfony\Bundle\FrameworkBundle\Templating\TemplateFilenameParser class is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1619 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
The "templating.locator" service is deprecated since Symfony 4.3 and will be removed in 5.0.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1620 +count: 1 -severity: E_USER_DEPRECATED : { { require … › › {
{
require …
›
›
|
|
| n/a |
The Symfony\Bundle\FrameworkBundle\Templating\Loader\TemplateLocator class is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1621 +count: 1 -severity: E_USER_DEPRECATED : { { include … › › {
{
include …
›
›
|
|
| n/a |
YAML mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to annotation or XML driver.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1622 +count: 1 -severity: E_USER_DEPRECATED : { { Doctrine\ORM\Mapping\Driver\YamlDriver->__construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION) … › {
{
Doctrine\ORM\Mapping\Driver\YamlDriver->__construct($locator, $fileExtension = self::DEFAULT_FILE_EXTENSION) …
›
|
|
| n/a |
The Sonata\Doctrine\Types\JsonType class is deprecated since 1.2 in favor of Doctrine\DBAL\Types\JsonType, and will be removed in 2.0.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1623 +count: 1 -severity: E_USER_DEPRECATED : { { include … › {
{
include …
›
|
|
| n/a |
The "twig.cache_warmer" service is deprecated since Symfony 4.4 and will be removed in 5.0.
[ "exception" => Symfony\Component\ErrorHandler\Exception\SilencedErrorContext {#1624 +count: 1 -severity: E_USER_DEPRECATED : { { require … › › {
{
require …
›
›
|
Debug 0
Unimportant log messages generated during the execution of the application.
There are no log messages of this level.
PHP Notices 0
Log messages generated by PHP notices silenced with the @ operator.
There are no log messages of this level.
Container 903
Log messages generated during the compilation of the service container.
| Class | Messages |
|---|---|
Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass
|
57 |
Symfony\Component\DependencyInjection\Compiler\RemovePrivateAliasesPass
|
194 |
Symfony\Component\DependencyInjection\Compiler\ReplaceAliasByActualDefinitionPass
|
228 |
Symfony\Component\DependencyInjection\Compiler\RemoveAbstractDefinitionsPass
|
90 |
Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass
|
78 |
Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass
|
252 |
Symfony\Bundle\FrameworkBundle\DependencyInjection\Compiler\UnusedTagsPass
|
4 |