Twig \ Error \ RuntimeError
An exception has been thrown during the rendering of a template ("Phalcon\Translate\Adapter\AbstractAdapter::t(): Passing null to parameter #1 ($translateKey) of type string is deprecated").
Previous exceptions
  • Phalcon\Translate\Adapter\AbstractAdapter::t(): Passing null to parameter #1 ($translateKey) of type string is deprecated (8192)
Twig\Error\RuntimeError thrown with message "An exception has been thrown during the rendering of a template ("Phalcon\Translate\Adapter\AbstractAdapter::t(): Passing null to parameter #1 ($translateKey) of type string is deprecated")." Stacktrace: #26 Twig\Error\RuntimeError in /app/src/Modules/App/views/news/view.twig:87 #25 Library\Twig\Twig:render in [internal]:0 #24 Phalcon\Mvc\View:engineRender in [internal]:0 #23 Phalcon\Mvc\View:processRender in [internal]:0 #22 Modules\App\Controllers\NewsController:viewAction in [internal]:0 #21 Phalcon\Dispatcher\AbstractDispatcher:callActionMethod in [internal]:0 #20 Phalcon\Dispatcher\AbstractDispatcher:dispatch in [internal]:0 #19 Whoops\Exception\ErrorException in /app/vendor/twig/twig/src/Extension/CoreExtension.php:1635 #18 Phalcon\Translate\Adapter\AbstractAdapter:t in /app/vendor/twig/twig/src/Extension/CoreExtension.php:1635 #17 twig_get_attribute in /app/cache/dd/dd39faac700062d66e96c7cde2e2ea58.php:216 #16 __TwigTemplate_5b14757bab6b8d51755fef632eb0aabb:doDisplay in /app/vendor/twig/twig/src/Template.php:394 #15 Twig\Template:displayWithErrorHandling in /app/vendor/twig/twig/src/Template.php:367 #14 Twig\Template:display in /app/vendor/twig/twig/src/Template.php:379 #13 Twig\Template:render in /app/vendor/twig/twig/src/TemplateWrapper.php:38 #12 Twig\TemplateWrapper:render in /app/vendor/twig/twig/src/Environment.php:280 #11 Twig\Environment:render in /app/src/Library/Twig/Twig.php:263 #10 Library\Twig\Twig:render in [internal]:0 #9 Phalcon\Mvc\View:engineRender in [internal]:0 #8 Phalcon\Mvc\View:processRender in [internal]:0 #7 Phalcon\Mvc\View:render in /app/src/Framework/ControllerBase.php:841 #6 Framework\ControllerBase:render in /app/src/Framework/ControllerBase.php:817 #5 Framework\ControllerBase:defaultRender in /app/src/Modules/App/src/Controllers/NewsController.php:306 #4 Modules\App\Controllers\NewsController:viewAction in [internal]:0 #3 Phalcon\Dispatcher\AbstractDispatcher:callActionMethod in [internal]:0 #2 Phalcon\Dispatcher\AbstractDispatcher:dispatch in [internal]:0 #1 Phalcon\Mvc\Application:handle in /app/src/Framework/App.php:59 #0 Framework\App:terminate in /app/web/index.php:13
Stack frames (27)
26
Twig\Error\RuntimeError
/src/Modules/App/views/news/view.twig87
25
Library\Twig\Twig render
[internal]0
24
Phalcon\Mvc\View engineRender
[internal]0
23
Phalcon\Mvc\View processRender
[internal]0
22
Modules\App\Controllers\NewsController viewAction
[internal]0
21
Phalcon\Dispatcher\AbstractDispatcher callActionMethod
[internal]0
20
Phalcon\Dispatcher\AbstractDispatcher dispatch
[internal]0
19
Whoops\Exception\ErrorException
/vendor/twig/twig/src/Extension/CoreExtension.php1635
18
Phalcon\Translate\Adapter\AbstractAdapter t
/vendor/twig/twig/src/Extension/CoreExtension.php1635
17
twig_get_attribute
/cache/dd/dd39faac700062d66e96c7cde2e2ea58.php216
16
__TwigTemplate_5b14757bab6b8d51755fef632eb0aabb doDisplay
/vendor/twig/twig/src/Template.php394
15
Twig\Template displayWithErrorHandling
/vendor/twig/twig/src/Template.php367
14
Twig\Template display
/vendor/twig/twig/src/Template.php379
13
Twig\Template render
/vendor/twig/twig/src/TemplateWrapper.php38
12
Twig\TemplateWrapper render
/vendor/twig/twig/src/Environment.php280
11
Twig\Environment render
/src/Library/Twig/Twig.php263
10
Library\Twig\Twig render
[internal]0
9
Phalcon\Mvc\View engineRender
[internal]0
8
Phalcon\Mvc\View processRender
[internal]0
7
Phalcon\Mvc\View render
/src/Framework/ControllerBase.php841
6
Framework\ControllerBase render
/src/Framework/ControllerBase.php817
5
Framework\ControllerBase defaultRender
/src/Modules/App/src/Controllers/NewsController.php306
4
Modules\App\Controllers\NewsController viewAction
[internal]0
3
Phalcon\Dispatcher\AbstractDispatcher callActionMethod
[internal]0
2
Phalcon\Dispatcher\AbstractDispatcher dispatch
[internal]0
1
Phalcon\Mvc\Application handle
/src/Framework/App.php59
0
Framework\App terminate
/web/index.php13
/app/src/Modules/App/views/news/view.twig
                                        {# <p class="news-carousel__video-time">1:03</p> #}
                                    </picture>
                                </div>
                            {% endfor %}
                            {% for it in item.img %}
                                <div class="swiper-slide news-carousel__slide">
                                    <picture class="news-carousel__pic">
                                        <img src="{{ it }}" alt="" class="news-carousel__img">
                                    </picture>
                                </div>
                            {% endfor %}
                        </div>
                    </div>
                </div>
 
                <div class="news-content">
                    {{ item.text|raw }}
                </div>
 
                <p class="news-editor">{{ t.t('editor') }}: {{ t.t(item.author.name) }}</p>
 
                <div class="news-bottom">
                    <div class="news-bottom__left">
                        <div class="bottom-button @@className" data-b_modal-open="modal-app-comment">
                            <img src="/img/common/comments.svg" alt="">
                            <span>{{ item.comments_num }}</span>
                        </div>
                        <div class="bottom-button @@className" data-b_modal-open="modal-app-comment">
                            <img src="/img/common/like.svg" alt="">
                            <span>{{ item.likes_num }}</span>
                        </div>
                    </div>
                    <div class="news-bottom__right">
                        <p class="news-bottom__date">{{ item.publishDate|date('F j, Y') }}</p>
                        <div class="news-bottom-share" data-b_modal-open="modal-share">
                            <img src="/img/common/share.svg" alt="">
                        </div>
                    </div>
                </div>
                <hr class="news-divider">
Arguments
  1. "An exception has been thrown during the rendering of a template ("Phalcon\Translate\Adapter\AbstractAdapter::t(): Passing null to parameter #1 ($translateKey) of type string is deprecated")."
    
[internal]
Arguments
  1. "/app/src/Modules/App/views/news/view.twig"
    
  2. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
  3. true
    
[internal]
Arguments
  1. array:2 [
      ".twig" => Library\Twig\Twig {#262}
      ".phtml" => Phalcon\Mvc\View\Engine\Php {#276}
    ]
    
  2. "news/view"
    
  3. true
    
[internal]
Arguments
  1. "news"
    
  2. "view"
    
  3. []
    
[internal]
Arguments
  1. "en"
    
  2. "3981"
    
[internal]
Arguments
  1. Modules\App\Controllers\NewsController {#208}
    
  2. "viewAction"
    
  3. array:2 [
      "lang" => "en"
      "id" => "3981"
    ]
    
[internal]
/app/vendor/twig/twig/src/Extension/CoreExtension.php
 
        if ($ignoreStrictCheck || !$env->isStrictVariables()) {
            return;
        }
 
        throw new RuntimeError(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%1$s()"/"is%1$s()"/"has%1$s()" or "__call()" exist and have public access in class "%2$s".', $item, $class), $lineno, $source);
    }
 
    if ($isDefinedTest) {
        return true;
    }
 
    if ($sandboxed) {
        $env->getExtension(SandboxExtension::class)->checkMethodAllowed($object, $method, $lineno, $source);
    }
 
    // Some objects throw exceptions when they have __call, and the method we try
    // to call is not supported. If ignoreStrictCheck is true, we should return null.
    try {
        $ret = $object->$method(...$arguments);
    } catch (\BadMethodCallException $e) {
        if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
            return;
        }
        throw $e;
    }
 
    return $ret;
}
 
/**
 * Returns the values from a single column in the input array.
 *
 * <pre>
 *  {% set items = [{ 'fruit' : 'apple'}, {'fruit' : 'orange' }] %}
 *
 *  {% set fruits = items|column('fruit') %}
 *
 *  {# fruits now contains ['apple', 'orange'] #}
 * </pre>
Arguments
  1. "Phalcon\Translate\Adapter\AbstractAdapter::t(): Passing null to parameter #1 ($translateKey) of type string is deprecated"
    
Exception message: Phalcon\Translate\Adapter\AbstractAdapter::t(): Passing null to parameter #1 ($translateKey) of type string is deprecated
/app/vendor/twig/twig/src/Extension/CoreExtension.php
 
        if ($ignoreStrictCheck || !$env->isStrictVariables()) {
            return;
        }
 
        throw new RuntimeError(sprintf('Neither the property "%1$s" nor one of the methods "%1$s()", "get%1$s()"/"is%1$s()"/"has%1$s()" or "__call()" exist and have public access in class "%2$s".', $item, $class), $lineno, $source);
    }
 
    if ($isDefinedTest) {
        return true;
    }
 
    if ($sandboxed) {
        $env->getExtension(SandboxExtension::class)->checkMethodAllowed($object, $method, $lineno, $source);
    }
 
    // Some objects throw exceptions when they have __call, and the method we try
    // to call is not supported. If ignoreStrictCheck is true, we should return null.
    try {
        $ret = $object->$method(...$arguments);
    } catch (\BadMethodCallException $e) {
        if ($call && ($ignoreStrictCheck || !$env->isStrictVariables())) {
            return;
        }
        throw $e;
    }
 
    return $ret;
}
 
/**
 * Returns the values from a single column in the input array.
 *
 * <pre>
 *  {% set items = [{ 'fruit' : 'apple'}, {'fruit' : 'orange' }] %}
 *
 *  {% set fruits = items|column('fruit') %}
 *
 *  {# fruits now contains ['apple', 'orange'] #}
 * </pre>
Arguments
  1. null
    
/app/cache/dd/dd39faac700062d66e96c7cde2e2ea58.php
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_iterated'], $context['_key'], $context['it'], $context['_parent'], $context['loop']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 79
        echo "                        </div>
                    </div>
                </div>
 
                <div class=\"news-content\">
                    ";
        // line 84
        echo twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "text", [], "any", false, false, false, 84);
        echo "
                </div>
 
                <p class=\"news-editor\">";
        // line 87
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["t"] ?? null), "t", ["editor"], "method", false, false, false, 87), "html", null, true);
        echo ": ";
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["t"] ?? null), "t", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "author", [], "any", false, false, false, 87), "name", [], "any", false, false, false, 87)], "method", false, false, false, 87), "html", null, true);
        echo "</p>
 
                <div class=\"news-bottom\">
                    <div class=\"news-bottom__left\">
                        <div class=\"bottom-button @@className\" data-b_modal-open=\"modal-app-comment\">
                            <img src=\"/img/common/comments.svg\" alt=\"\">
                            <span>";
        // line 93
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "comments_num", [], "any", false, false, false, 93), "html", null, true);
        echo "</span>
                        </div>
                        <div class=\"bottom-button @@className\" data-b_modal-open=\"modal-app-comment\">
                            <img src=\"/img/common/like.svg\" alt=\"\">
                            <span>";
        // line 97
        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["item"] ?? null), "likes_num", [], "any", false, false, false, 97), "html", null, true);
        echo "</span>
                        </div>
                    </div>
                    <div class=\"news-bottom__right\">
Arguments
  1. Library\Twig\Twig\Environment {#290}
    
  2. Twig\Source {#344}
    
  3. Phalcon\Translate\Adapter\NativeArray {#285}
    
  4. "t"
    
  5. array:1 [
      0 => null
    ]
    
  6. "method"
    
  7. false
    
  8. false
    
  9. false
    
  10. 87
    
/app/vendor/twig/twig/src/Template.php
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
            // this is mostly useful for \Twig\Error\LoaderError exceptions
            // see \Twig\Error\LoaderError
            if (-1 === $e->getTemplateLine()) {
                $e->guess();
            }
 
            throw $e;
        } catch (\Throwable $e) {
            $e = new RuntimeError(sprintf('An exception has been thrown during the rendering of a template ("%s").', $e->getMessage()), -1, $this->getSourceContext(), $e);
            $e->guess();
 
            throw $e;
        }
    }
 
Arguments
  1. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
  2. []
    
/app/vendor/twig/twig/src/Template.php
    {
        return $this;
    }
 
    /**
     * Returns all blocks.
     *
     * This method is for internal use only and should never be called
     * directly.
     *
     * @return array An array of blocks
     */
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
Arguments
  1. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
  2. []
    
/app/vendor/twig/twig/src/Template.php
    public function getBlocks()
    {
        return $this->blocks;
    }
 
    public function display(array $context, array $blocks = [])
    {
        $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
    }
 
    public function render(array $context)
    {
        $level = ob_get_level();
        if ($this->env->isDebug()) {
            ob_start();
        } else {
            ob_start(function () { return ''; });
        }
        try {
            $this->display($context);
        } catch (\Throwable $e) {
            while (ob_get_level() > $level) {
                ob_end_clean();
            }
 
            throw $e;
        }
 
        return ob_get_clean();
    }
 
    protected function displayWithErrorHandling(array $context, array $blocks = [])
    {
        try {
            $this->doDisplay($context, $blocks);
        } catch (Error $e) {
            if (!$e->getSourceContext()) {
                $e->setSourceContext($this->getSourceContext());
            }
 
Arguments
  1. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
/app/vendor/twig/twig/src/TemplateWrapper.php
final class TemplateWrapper
{
    private $env;
    private $template;
 
    /**
     * This method is for internal use only and should never be called
     * directly (use Twig\Environment::load() instead).
     *
     * @internal
     */
    public function __construct(Environment $env, Template $template)
    {
        $this->env = $env;
        $this->template = $template;
    }
 
    public function render(array $context = []): string
    {
        return $this->template->render($context);
    }
 
    public function display(array $context = [])
    {
        // using func_get_args() allows to not expose the blocks argument
        // as it should only be used by internal code
        $this->template->display($context, \func_get_args()[1] ?? []);
    }
 
    public function hasBlock(string $name, array $context = []): bool
    {
        return $this->template->hasBlock($name, $context);
    }
 
    /**
     * @return string[] An array of defined template block names
     */
    public function getBlockNames(array $context = []): array
    {
        return $this->template->getBlockNames($context);
Arguments
  1. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
/app/vendor/twig/twig/src/Environment.php
     */
    public function getTemplateClass(string $name, int $index = null): string
    {
        $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
 
        return $this->templateClassPrefix.hash(\PHP_VERSION_ID < 80100 ? 'sha256' : 'xxh128', $key).(null === $index ? '' : '___'.$index);
    }
 
    /**
     * Renders a template.
     *
     * @param string|TemplateWrapper $name The template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function render($name, array $context = []): string
    {
        return $this->load($name)->render($context);
    }
 
    /**
     * Displays a template.
     *
     * @param string|TemplateWrapper $name The template name
     *
     * @throws LoaderError  When the template cannot be found
     * @throws SyntaxError  When an error occurred during compilation
     * @throws RuntimeError When an error occurred during rendering
     */
    public function display($name, array $context = []): void
    {
        $this->load($name)->display($context);
    }
 
    /**
     * Loads a template.
     *
     * @param string|TemplateWrapper $name The template name
Arguments
  1. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
/app/src/Library/Twig/Twig.php
     * @param boolean $mustClean
     */
    public function render(string $path, $params, bool $mustClean = false): void
    {
        $view = $this->view;
        if (!isset($params['content'])) {
            $params['content'] = $view->getContent();
        }
 
        if (!isset($params['view'])) {
            $params['view'] = $view;
        }
 
        $relativePath = str_replace(
            $view->getViewsDir(),
            '',
            $path
        );
 
        $content = $this->twig->render($relativePath, $params);
 
        if ($mustClean) {
            $this->view->setContent($content);
        } else {
            echo $content;
        }
    }
 
    public function getTwig() : Environment
    {
        return $this->twig;
    }
}
 
Arguments
  1. "news/view.twig"
    
  2. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
[internal]
Arguments
  1. "/app/src/Modules/App/views/news/view.twig"
    
  2. array:30 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
      "languages" => array:1 [
        "items" => array:21 [
          "en" => 1
          "ru" => 2
          "de" => 4
          "fr" => 5
          "es" => 7
          "ar" => 10
          "it" => 11
          "ja" => 12
          "ko" => 13
          "ms" => 14
          "nl" => 15
          "pt" => 16
          "tr" => 17
          "el" => 18
          "zh" => 19
          "hi" => 20
          "id" => 21
          "kk" => 25
          "ky" => 28
          "hy" => 29
          "uk" => 32
        ]
      ]
      "currentLanguage" => "en"
      "content" => ""
      "view" => Phalcon\Mvc\View {#210}
    ]
    
  3. true
    
[internal]
Arguments
  1. array:2 [
      ".twig" => Library\Twig\Twig {#262}
      ".phtml" => Phalcon\Mvc\View\Engine\Php {#276}
    ]
    
  2. "news/view"
    
  3. true
    
[internal]
Arguments
  1. "news"
    
  2. "view"
    
  3. []
    
/app/src/Framework/ControllerBase.php
    }
 
    protected function getLanguages(): array
    {
        return $this->locale->availableLanguages();
    }
 
    protected function render(array $path, array $params = null): View|\Phalcon\Mvc\ViewInterface|bool
    {
        $_lng = $this->lang;
 
        $params = $params ?? [];
 
        $params['languages']['items'] = $this->getLanguages();
 
        $params['currentLanguage'] = $_lng;
 
        $this->view->setVars($params);
 
        return $this->view->render(...$path);
    }
 
    public function beforeExecuteRoute(Dispatcher $dispatcher): bool
    {
        $controllerName = $dispatcher->getControllerName();
 
        // Get the current identity
        $auth = $this->getDI()->get('auth');
 
        $token = $this->request->getHeader("Authorization");
        if ($token == '') {
            $this->CURRENT_USER_ID = 0;
        } else {
            list($type, $BearerToken) = explode(" ", $token, 2);
            if (!$type || stripos($type, 'Bearer') !== 0) {
                $this->CURRENT_USER_ID = 0;
            } else {
                if ($BearerToken == '') {
                    $this->CURRENT_USER_ID = -2;
                } else {
Arguments
  1. "news"
    
  2. "view"
    
/app/src/Framework/ControllerBase.php
    {
        $controllerName = $controllerName ?? $this->dispatcher->getControllerName();
        $actionName = $actionName ?? $this->dispatcher->getActionName();
 
        $this->setDefaultRenderParams($params);
 
        return $this->render([
            $controllerName,
            $actionName,
        ],
            $params
        );
    }
 
    public function defaultRender(array $params = []): View|bool
    {
        $this->setDefaultRenderParams($params);
 
        return $this->render([
            $this->dispatcher->getControllerName(),
            $this->dispatcher->getActionName(),
        ],
            $params
        );
    }
 
    protected function getLanguages(): array
    {
        return $this->locale->availableLanguages();
    }
 
    protected function render(array $path, array $params = null): View|\Phalcon\Mvc\ViewInterface|bool
    {
        $_lng = $this->lang;
 
        $params = $params ?? [];
 
        $params['languages']['items'] = $this->getLanguages();
 
        $params['currentLanguage'] = $_lng;
Arguments
  1. null
    
  2. null
    
/app/src/Modules/App/src/Controllers/NewsController.php
                    'user' => [
                        'id' => $user->id,
                        'first_name' => $user->first_name,
                        'last_name' => $user->last_name,
                        'nickname' => $user->nickname,
                        'avatar_link' => $user->avatar_link,
                    ],
                ];
            }
        }
 
        if ($ajax != 0) {
            $this->response->setJsonContent(['items' => $comments, 'totalPages' => ceil($countComments / $limit)]);
            return $this->response;
        }
 
        $recently_viewed = $this->get_news(10, 0, 0, 'dateof DESC', [], $this->get_viewed('news'));
 
        return $this->defaultRender([
            'comment_news' => $this->get_last_news(false, 10, 'dateof DESC'),
            'item' => $item,
            'topic' => $topic,
            'comments' => $comments,
            'recently_viewed' => $recently_viewed,
            'is_preview' => true
        ]);
    }
 
    protected function get_news($limit = 10, $offset = 0, $topic_id = 0, $sort_by = 'dateof DESC', $paramsFilter = [], $viewedIDs = [])
    {
        $filters = '';
        $binds = [];
 
        if (!empty($paramsFilter['query'])) {
            $filters .= " AND (title LIKE '%" . $paramsFilter['query'] . "%' OR text LIKE '%" . $paramsFilter['query'] . "%')";
        }
 
        $topic_cond = ($topic_id == 0) ? '' : ' AND topic_id = ' . $topic_id;
        $viewed_cond = '';
        if (is_array($viewedIDs) && count($viewedIDs) > 0) {
Arguments
  1. array:26 [
      "comment_news" => array:10 [
        0 => array:8 [
          "id" => 59865
          "title" => "Meet the TechArt GTstreet R Touring, a Porsche 911 tuning kit worth $100k+"
          "publishDate" => "2024-03-12 15:30:00"
          "url" => "/en/news/view/59865.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/21/14/k0maV8chRiE6.jpg"
          "images_num" => 15
          "videos_num" => 0
          "comments_num" => 8
        ]
        1 => array:8 [
          "id" => 59911
          "title" => "Porsche Macan Electric sales surpass expectations"
          "publishDate" => "2024-03-15 10:30:00"
          "url" => "/en/news/view/59911.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/25/39/NUHvFLbBECZh.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 4
        ]
        2 => array:8 [
          "id" => 59972
          "title" => "BMW announces a limited-run, manual M3 for Japan"
          "publishDate" => "2024-03-18 15:30:00"
          "url" => "/en/news/view/59972.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/30/68/5st81WqrtFdV.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 3
        ]
        3 => array:8 [
          "id" => 59950
          "title" => "Militem-tuned Ram 1500 TRX will set you back €165k before options"
          "publishDate" => "2024-03-17 12:00:00"
          "url" => "/en/news/view/59950.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/47/2b5FWkgo4CuR.jpg"
          "images_num" => 8
          "videos_num" => 1
          "comments_num" => 3
        ]
        4 => array:8 [
          "id" => 59960
          "title" => "Rare modern Porsche 911 up for grabs for $450k+"
          "publishDate" => "2024-03-18 12:30:00"
          "url" => "/en/news/view/59960.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/29/42/6uibKluedN45.jpg"
          "images_num" => 14
          "videos_num" => 1
          "comments_num" => 2
        ]
        5 => array:8 [
          "id" => 59948
          "title" => "Designing exhausts for hybrids isn’t easy but worth it, says Milltek"
          "publishDate" => "2024-03-17 11:30:00"
          "url" => "/en/news/view/59948.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/33/zxoc6JDgxN15.jpg"
          "images_num" => 6
          "videos_num" => 1
          "comments_num" => 1
        ]
        6 => array:8 [
          "id" => 59944
          "title" => "Yet another newborn EV brand plots yet another Tesla Model Y assassination"
          "publishDate" => "2024-03-17 10:30:00"
          "url" => "/en/news/view/59944.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/28/12/zv9pFVKwQB24.png"
          "images_num" => 5
          "videos_num" => 0
          "comments_num" => 1
        ]
        7 => array:8 [
          "id" => 59940
          "title" => "Have a look at a Land Rover Defender with 9 inches of extra ground clearance"
          "publishDate" => "2024-03-16 12:30:00"
          "url" => "/en/news/view/59940.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/86/6KZsAoBEGgp5.jpg"
          "images_num" => 9
          "videos_num" => 1
          "comments_num" => 1
        ]
        8 => array:8 [
          "id" => 59938
          "title" => "Mansory previews wheels for the Rolls-Royce Spectre EV"
          "publishDate" => "2024-03-16 12:00:00"
          "url" => "/en/news/view/59938.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/71/8wZWFgwhwdAK.jpg"
          "images_num" => 6
          "videos_num" => 2
          "comments_num" => 1
        ]
        9 => array:8 [
          "id" => 59936
          "title" => "Watch the Porsche Taycan Turbo GT rip up the North Loop"
          "publishDate" => "2024-03-16 11:30:00"
          "url" => "/en/news/view/59936.html"
          "img" => "https://www.formacar.com/storage/images_news/00/44/27/55/s0VkkYBWIA6Q.jpg"
          "images_num" => 10
          "videos_num" => 1
          "comments_num" => 1
        ]
      ]
      "item" => Modules\News\Models\News {#269}
      "topic" => Modules\News\Models\NewsTopics {#267}
      "comments" => []
      "recently_viewed" => array:1 [
        0 => array:8 [
          "id" => 3981
          "title" => "A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
          "publishDate" => "January 09, 2018"
          "url" => "/en/news/view/3981.html"
          "img" => "https://www.formacar.com/storage/images_news/00/02/43/42/QdNOIAnnBuji.jpg"
          "images_num" => 22
          "videos_num" => 1
          "comments_num" => 0
        ]
      ]
      "is_preview" => true
      "is_mobile" => false
      "page_title" => "Formacar: A unique Rolls-Royce Dawn Black Diamond exhibited in Abu Dhabi"
      "shop_url" => "https://shop.formacar.com"
      "assets" => Phalcon\Assets\Manager {#277}
      "_me" => null
      "_cdn" => "https://www.formacar.com"
      "_dispatcher" => Phalcon\Mvc\Dispatcher {#212}
      "session_id" => "eab95a1699861bbc7dcd26a161b44954"
      "t" => Phalcon\Translate\Adapter\NativeArray {#285}
      "_uperm" => Models\RolePermission {#255}
      "lang" => "en"
      "langs" => array:16 [
        0 => array:4 [
          "id" => 1
          "skey" => "en"
          "title" => "English"
          "link" => "https://www.formacar.com/en/news/view/3981.html"
        ]
        1 => array:4 [
          "id" => 4
          "skey" => "de"
          "title" => "Deutsch"
          "link" => "https://www.formacar.com/de/news/view/3981.html"
        ]
        2 => array:4 [
          "id" => 5
          "skey" => "fr"
          "title" => "France"
          "link" => "https://www.formacar.com/fr/news/view/3981.html"
        ]
        3 => array:4 [
          "id" => 7
          "skey" => "es"
          "title" => "Español"
          "link" => "https://www.formacar.com/es/news/view/3981.html"
        ]
        4 => array:4 [
          "id" => 10
          "skey" => "ar"
          "title" => "العربية"
          "link" => "https://www.formacar.com/ar/news/view/3981.html"
        ]
        5 => array:4 [
          "id" => 11
          "skey" => "it"
          "title" => "Italiano"
          "link" => "https://www.formacar.com/it/news/view/3981.html"
        ]
        6 => array:4 [
          "id" => 12
          "skey" => "ja"
          "title" => "日本語"
          "link" => "https://www.formacar.com/ja/news/view/3981.html"
        ]
        7 => array:4 [
          "id" => 13
          "skey" => "ko"
          "title" => "한국의"
          "link" => "https://www.formacar.com/ko/news/view/3981.html"
        ]
        8 => array:4 [
          "id" => 14
          "skey" => "ms"
          "title" => "Malay"
          "link" => "https://www.formacar.com/ms/news/view/3981.html"
        ]
        9 => array:4 [
          "id" => 15
          "skey" => "nl"
          "title" => "Nederlands"
          "link" => "https://www.formacar.com/nl/news/view/3981.html"
        ]
        10 => array:4 [
          "id" => 16
          "skey" => "pt"
          "title" => "Português"
          "link" => "https://www.formacar.com/pt/news/view/3981.html"
        ]
        11 => array:4 [
          "id" => 17
          "skey" => "tr"
          "title" => "Türkçe"
          "link" => "https://www.formacar.com/tr/news/view/3981.html"
        ]
        12 => array:4 [
          "id" => 18
          "skey" => "el"
          "title" => "Ελληνικά"
          "link" => "https://www.formacar.com/el/news/view/3981.html"
        ]
        13 => array:4 [
          "id" => 19
          "skey" => "zh"
          "title" => "汉语"
          "link" => "https://www.formacar.com/zh/news/view/3981.html"
        ]
        14 => array:4 [
          "id" => 20
          "skey" => "hi"
          "title" => "हिंदी"
          "link" => "https://www.formacar.com/hi/news/view/3981.html"
        ]
        15 => array:4 [
          "id" => 21
          "skey" => "id"
          "title" => "Indonesian"
          "link" => "https://www.formacar.com/id/news/view/3981.html"
        ]
      ]
      "current_lang" => Models\Langs {#247}
      "lang_id" => 1
      "home_url" => "https://www.formacar.com"
      "search_story" => []
      "current_section" => "/news/"
      "current_sub_section" => "/home/"
      "banners_links" => array:2 [
        "crypto" => "https://t.me/formacarcrypto"
        "scl" => "https://scl-performance.com/ru"
      ]
      "_domain" => "www.formacar.com"
    ]
    
[internal]
Arguments
  1. "en"
    
  2. "3981"
    
[internal]
Arguments
  1. Modules\App\Controllers\NewsController {#208}
    
  2. "viewAction"
    
  3. array:2 [
      "lang" => "en"
      "id" => "3981"
    ]
    
[internal]
/app/src/Framework/App.php
     */
    protected function loadModules(Builder $builder): void
    {
        $this->registerModules($builder->modules()->toArray());
    }
 
    /**
     * Terminate application
     * @throws Throwable
     */
    public function terminate()
    {
        if ($this->debug() && class_exists(Run::class)) {
            //new \Whoops\Provider\Phalcon\WhoopsServiceProvider();
            $this->builder->whoops();
        }
 
        try {
            $response = $this->handle(
                $this->builder->urlPath()
            );
        } catch (Throwable $throwable) {
            if ($this->debug()) {
                if (class_exists(Run::class) && str_starts_with($this->request->getURI(), '/api/')) {
                    $this->builder->whoopsApi();
                }
                throw $throwable;
            }
            $response = $this->handle('/404');
        }
 
        //echo $response->getContent();
 
        $response->send();
 
        if (function_exists('\fastcgi_finish_request')) {
            fastcgi_finish_request();
        }
 
        die;
Arguments
  1. "/en/news/view/3981.html"
    
/app/web/index.php
<?php
 
//var_dump($_REQUEST);exit();
 
error_reporting(E_ALL);
ini_set('display_errors', 1);
 
define('BASE_PATH', dirname(__DIR__));
define('PUBLIC_PATH', __DIR__);
include_once BASE_PATH . '/vendor/autoload.php';
 
$builder = new \Framework\Builder(BASE_PATH);
$builder->app()->terminate();
 

Environment & details:

empty
empty
empty
empty
Key Value
LANG
"en"
currentLanguage
"en"
viewed_news
"[3981]"
Key Value
SUPERVISOR_GROUP_NAME
"php-fpm"
WEB_DOCUMENT_INDEX
"index.php"
SUPERVISOR_SERVER_URL
"unix:///.supervisor.sock"
HOSTNAME
"9ecb39cc2003"
PHP_VERSION
"8.1.13"
PHP_SENDMAIL_PATH
"/usr/sbin/sendmail -t -i"
PHP_INI_DIR
"/usr/local/etc/php"
GPG_KEYS
"528995BFEDFBA7191D46839EF9BA0ADA31CBD89E 39B641343D8C104B2B146DC3F9C39DC0B9698544 F1F692238FBC1666E5A5CCD4199F9DFEF6FFBAFD"
PHP_LDFLAGS
"-Wl,-O1 -pie"
WEB_DOCUMENT_ROOT
"/app/web"
PWD
"/app/web"
WEB_ALIAS_DOMAIN
"*.vm"
WEB_PHP_TIMEOUT
"600"
SERVICE_NGINX_CLIENT_MAX_BODY_SIZE
"50m"
LD_PRELOAD
"/usr/lib/preloadable_libiconv.so"
HOME
"/home/application"
LANG
"C.UTF-8"
APPLICATION_GID
"1000"
DOCKER_CONF_HOME
"/opt/docker/"
PHP_SHA256
"b15ef0ccdd6760825604b3c4e3e73558dcf87c75ef1d68ef4289d8fd261ac856"
PHPIZE_DEPS
"autoconf \t\tdpkg-dev dpkg \t\tfile \t\tg++ \t\tgcc \t\tlibc-dev \t\tmake \t\tpkgconf \t\tre2c"
WEB_PHP_SOCKET
"127.0.0.1:9000"
TERM
"xterm"
PHP_URL
"https://www.php.net/distributions/php-8.1.13.tar.xz"
APPLICATION_GROUP
"application"
SHLVL
"0"
COMPOSER_VERSION
"2"
APPLICATION_USER
"application"
PHP_CFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
LOCAL_DEV
"true"
PHP_DATE_TIMEZONE
"Europe/Moscow"
APPLICATION_UID
"1000"
LOG_STDOUT
"/proc/1/fd/1"
SUPERVISOR_PROCESS_NAME
"php-fpmd"
LC_ALL
"C.UTF-8"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
LOG_STDERR
"/proc/1/fd/2"
CONTAINER_UID
"application"
APPLICATION_PATH
"/app"
PHP_ASC_URL
"https://www.php.net/distributions/php-8.1.13.tar.xz.asc"
PHP_CPPFLAGS
"-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
SUPERVISOR_ENABLED
"1"
VIPSHOME
"/usr"
USER
"application"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CDN_LOOP
"cloudflare"
HTTP_CF_CONNECTING_IP
"107.23.85.179"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CF_VISITOR
"{"scheme":"https"}"
HTTP_CF_RAY
"866b3f8c2ae08251-IAD"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CONNECTION
"upgrade"
HTTP_X_NGINX_PROXY
"true"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_FOR
"107.23.85.179, 172.70.174.147"
HTTP_X_REAL_IP
"172.70.174.147"
HTTP_HOST
"www.formacar.com"
REDIRECT_STATUS
"200"
SERVER_NAME
"formacar.local"
SERVER_PORT
"80"
SERVER_ADDR
"172.29.0.2"
REMOTE_PORT
"51702"
REMOTE_ADDR
"91.230.54.46"
SERVER_SOFTWARE
"nginx/1.22.1"
GATEWAY_INTERFACE
"CGI/1.1"
REQUEST_SCHEME
"http"
SERVER_PROTOCOL
"HTTP/1.1"
DOCUMENT_ROOT
"/app/web"
DOCUMENT_URI
"/index.php"
REQUEST_URI
"/en/news/view/3981.html"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_FILENAME
"/app/web/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1710828090.8569
REQUEST_TIME
1710828090
argv
[]
argc
0
empty
0. Whoops\Handler\PrettyPageHandler