Illuminate \ View \ ViewException (E_ERROR)
Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)
Previous exceptions
  • Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (0)
  • Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (0)
  • Attempt to read property "slug" on string (2)
Illuminate\View\ViewException thrown with message "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)" Stacktrace: #34 Illuminate\View\ViewException in /www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php:261 #33 Illuminate\View\Engines\CompilerEngine:handleViewException in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php:45 #32 Illuminate\View\ViewException in /www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php:261 #31 Illuminate\View\Engines\CompilerEngine:handleViewException in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php:45 #30 Illuminate\View\ViewException in /www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php:261 #29 Illuminate\View\Engines\CompilerEngine:handleViewException in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php:45 #28 Whoops\Exception\ErrorException in /www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php:261 #27 Whoops\Run:handleError in /www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php:261 #26 get_dynamic_pages in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Integrations/DynamicPages/DynamicPages.php:13 #25 Acrux\Integrations\DynamicPages\dynamic_pages_nav in /www/erocket_573/public/shared/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php:51 #24 include in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php:43 #23 Illuminate\View\Engines\PhpEngine:evaluatePath in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php:59 #22 Illuminate\View\Engines\CompilerEngine:get in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:143 #21 Illuminate\View\View:getContents in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:126 #20 Illuminate\View\View:renderContents in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:91 #19 Illuminate\View\View:render in /www/erocket_573/public/shared/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php:8 #18 include in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php:43 #17 Illuminate\View\Engines\PhpEngine:evaluatePath in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php:59 #16 Illuminate\View\Engines\CompilerEngine:get in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:143 #15 Illuminate\View\View:getContents in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:126 #14 Illuminate\View\View:renderContents in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:91 #13 Illuminate\View\View:render in /www/erocket_573/public/shared/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php:7 #12 include in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php:43 #11 Illuminate\View\Engines\PhpEngine:evaluatePath in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php:59 #10 Illuminate\View\Engines\CompilerEngine:get in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:143 #9 Illuminate\View\View:getContents in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:126 #8 Illuminate\View\View:renderContents in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php:91 #7 Illuminate\View\View:render in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/roots/sage-lib/Template/Blade.php:58 #6 Roots\Sage\Template\Blade:render in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Functions.php:78 #5 Acrux\Core\template in /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Blade/Setup.php:68 #4 Acrux\Core\Blade\Setup:renderBladePage in /www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/class-wp-hook.php:308 #3 WP_Hook:apply_filters in /www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/plugin.php:205 #2 apply_filters in /www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/template-loader.php:104 #1 require_once in /www/erocket_573/public/releases/20231106232239/web/wp/wp-blog-header.php:19 #0 require in /www/erocket_573/public/releases/20231106232239/web/index.php:6
Stack frames (35)
34
Illuminate\View\ViewException
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php261
33
Illuminate\View\Engines\CompilerEngine handleViewException
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php45
32
Illuminate\View\ViewException
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php261
31
Illuminate\View\Engines\CompilerEngine handleViewException
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php45
30
Illuminate\View\ViewException
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php261
29
Illuminate\View\Engines\CompilerEngine handleViewException
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php45
28
Whoops\Exception\ErrorException
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php261
27
Whoops\Run handleError
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php261
26
get_dynamic_pages
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Integrations/DynamicPages/DynamicPages.php13
25
Acrux\Integrations\DynamicPages\dynamic_pages_nav
/www/erocket_573/public/shared/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php51
24
include
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php43
23
Illuminate\View\Engines\PhpEngine evaluatePath
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php59
22
Illuminate\View\Engines\CompilerEngine get
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php143
21
Illuminate\View\View getContents
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php126
20
Illuminate\View\View renderContents
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php91
19
Illuminate\View\View render
/www/erocket_573/public/shared/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php8
18
include
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php43
17
Illuminate\View\Engines\PhpEngine evaluatePath
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php59
16
Illuminate\View\Engines\CompilerEngine get
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php143
15
Illuminate\View\View getContents
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php126
14
Illuminate\View\View renderContents
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php91
13
Illuminate\View\View render
/www/erocket_573/public/shared/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php7
12
include
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php43
11
Illuminate\View\Engines\PhpEngine evaluatePath
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php59
10
Illuminate\View\Engines\CompilerEngine get
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php143
9
Illuminate\View\View getContents
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php126
8
Illuminate\View\View renderContents
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php91
7
Illuminate\View\View render
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/roots/sage-lib/Template/Blade.php58
6
Roots\Sage\Template\Blade render
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Functions.php78
5
Acrux\Core\template
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Blade/Setup.php68
4
Acrux\Core\Blade\Setup renderBladePage
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/class-wp-hook.php308
3
WP_Hook apply_filters
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/plugin.php205
2
apply_filters
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/template-loader.php104
1
require_once
/www/erocket_573/public/releases/20231106232239/web/wp/wp-blog-header.php19
0
require
/www/erocket_573/public/releases/20231106232239/web/index.php6
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
            set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
        }
 
        $data = [];
        foreach ($posts as $key => $post) {
            unset($post->post_content);
            unset($post->guid);
 
            $seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
            $seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
            $seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
 
            if (($suffixes = $seo_this_post_suffixes_transient) == false) {
                $suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
                set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
            }
 
            if ($suffixes) {
                foreach ($suffixes as $term_id => $suffix) {
                    if (!isset($data[ $suffix->slug ])) {
                        $data[ $suffix->slug ] = [
                            'title' => $suffix->name,
                            'items' => [],
                        ];
                    }
 
                    $lang_slug = '';
                    if ($polylang) {
                        $lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
                        $lang_slug .= '/';
 
                        $polylang_settings = get_option('polylang');
                        if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
                            $lang_slug = '';
                        }
                    }
 
                    $entry = [
                        'title' => replace_suffix_tags($post->post_title, $suffix->name),
                        'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
  1. "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. Illuminate\View\ViewException {#11580
      #message: "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
      #code: 0
      #file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
      #line: 261
      -previous: Illuminate\View\ViewException {#11525
        #message: "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
        #code: 0
        #file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
        #line: 261
        -previous: Whoops\Exception\ErrorException {#11521
          #message: "Attempt to read property "slug" on string"
          #code: 2
          #file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
          #line: 261
          #severity: E_WARNING
        }
        #severity: E_ERROR
      }
      #severity: E_ERROR
    }
    
  2. 1
    
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
            set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
        }
 
        $data = [];
        foreach ($posts as $key => $post) {
            unset($post->post_content);
            unset($post->guid);
 
            $seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
            $seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
            $seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
 
            if (($suffixes = $seo_this_post_suffixes_transient) == false) {
                $suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
                set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
            }
 
            if ($suffixes) {
                foreach ($suffixes as $term_id => $suffix) {
                    if (!isset($data[ $suffix->slug ])) {
                        $data[ $suffix->slug ] = [
                            'title' => $suffix->name,
                            'items' => [],
                        ];
                    }
 
                    $lang_slug = '';
                    if ($polylang) {
                        $lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
                        $lang_slug .= '/';
 
                        $polylang_settings = get_option('polylang');
                        if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
                            $lang_slug = '';
                        }
                    }
 
                    $entry = [
                        'title' => replace_suffix_tags($post->post_title, $suffix->name),
                        'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
  1. "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
    
Exception message: Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php) (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. Illuminate\View\ViewException {#11525
      #message: "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
      #code: 0
      #file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
      #line: 261
      -previous: Whoops\Exception\ErrorException {#11521
        #message: "Attempt to read property "slug" on string"
        #code: 2
        #file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
        #line: 261
        #severity: E_WARNING
      }
      #severity: E_ERROR
    }
    
  2. 2
    
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
            set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
        }
 
        $data = [];
        foreach ($posts as $key => $post) {
            unset($post->post_content);
            unset($post->guid);
 
            $seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
            $seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
            $seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
 
            if (($suffixes = $seo_this_post_suffixes_transient) == false) {
                $suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
                set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
            }
 
            if ($suffixes) {
                foreach ($suffixes as $term_id => $suffix) {
                    if (!isset($data[ $suffix->slug ])) {
                        $data[ $suffix->slug ] = [
                            'title' => $suffix->name,
                            'items' => [],
                        ];
                    }
 
                    $lang_slug = '';
                    if ($polylang) {
                        $lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
                        $lang_slug .= '/';
 
                        $polylang_settings = get_option('polylang');
                        if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
                            $lang_slug = '';
                        }
                    }
 
                    $entry = [
                        'title' => replace_suffix_tags($post->post_title, $suffix->name),
                        'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
  1. "Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)"
    
Exception message: Attempt to read property "slug" on string (View: /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php)
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
Arguments
  1. Whoops\Exception\ErrorException {#11521
      #message: "Attempt to read property "slug" on string"
      #code: 2
      #file: "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
      #line: 261
      #severity: E_WARNING
    }
    
  2. 3
    
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
            set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
        }
 
        $data = [];
        foreach ($posts as $key => $post) {
            unset($post->post_content);
            unset($post->guid);
 
            $seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
            $seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
            $seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
 
            if (($suffixes = $seo_this_post_suffixes_transient) == false) {
                $suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
                set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
            }
 
            if ($suffixes) {
                foreach ($suffixes as $term_id => $suffix) {
                    if (!isset($data[ $suffix->slug ])) {
                        $data[ $suffix->slug ] = [
                            'title' => $suffix->name,
                            'items' => [],
                        ];
                    }
 
                    $lang_slug = '';
                    if ($polylang) {
                        $lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
                        $lang_slug .= '/';
 
                        $polylang_settings = get_option('polylang');
                        if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
                            $lang_slug = '';
                        }
                    }
 
                    $entry = [
                        'title' => replace_suffix_tags($post->post_title, $suffix->name),
                        'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
  1. "Attempt to read property "slug" on string"
    
Exception message: Attempt to read property "slug" on string
/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php
            set_transient($seo_posts_transient_name, $posts, $seo_posts_transient_expiration);
        }
 
        $data = [];
        foreach ($posts as $key => $post) {
            unset($post->post_content);
            unset($post->guid);
 
            $seo_this_post_suffixes_transient_name = "adwisemedia_seo_pages_suffixes_" . $post->ID;
            $seo_this_post_suffixes_transient_expiration = (12 * HOUR_IN_SECONDS);
            $seo_this_post_suffixes_transient = get_transient($seo_this_post_suffixes_transient_name);
 
            if (($suffixes = $seo_this_post_suffixes_transient) == false) {
                $suffixes = wp_get_post_terms($post->ID, 'seo-pages-suffixes', ['fields' => 'all']);
                set_transient($seo_this_post_suffixes_transient_name, $suffixes, $seo_this_post_suffixes_transient_expiration);
            }
 
            if ($suffixes) {
                foreach ($suffixes as $term_id => $suffix) {
                    if (!isset($data[ $suffix->slug ])) {
                        $data[ $suffix->slug ] = [
                            'title' => $suffix->name,
                            'items' => [],
                        ];
                    }
 
                    $lang_slug = '';
                    if ($polylang) {
                        $lang_slug = $_language = wp_get_post_terms($post->ID, 'language')[0]->slug;
                        $lang_slug .= '/';
 
                        $polylang_settings = get_option('polylang');
                        if (isset($polylang_settings['hide_default']) && $polylang_settings['hide_default'] === 1 && $default_language === $_language) {
                            $lang_slug = '';
                        }
                    }
 
                    $entry = [
                        'title' => replace_suffix_tags($post->post_title, $suffix->name),
                        'url' => home_url() . '/' . $lang_slug . $post->post_name . '-' . $suffix->slug . '/',
Arguments
  1. 2
    
  2. "Attempt to read property "slug" on string"
    
  3. "/www/erocket_573/public/releases/20231106232239/web/app/plugins/dynamic-pages/includes/plugin-functions.php"
    
  4. 261
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Integrations/DynamicPages/DynamicPages.php
<?php
 
namespace Acrux\Integrations\DynamicPages;
 
use function Acrux\Core\{is_iterable, locate_template, template};
 
/**
 * Display DynamicPages menu.
 */
function dynamic_pages_nav()
{
    if (function_exists('get_dynamic_pages')) {
        $pages = get_dynamic_pages();
 
        if (is_iterable($pages)) {
            echo template(locate_template('views/modules/dynamic-pages-menu.blade.php'), ['pages' => $pages]);
        }
    }
}
 
/www/erocket_573/public/shared/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php
    <?php $__env->endSlot(); ?>
<?php echo $__env->renderComponent(); ?>
 
<?php $__env->startComponent('modules.slideout', ['atts' => ['id' => 'slideout-orphan-pages-menu', 'size' => 'md', 'align' => 'right', 'class_body' => 'u-p-0', 'scroll' => false]]); ?>
    <?php $__env->slot('slideout_header'); ?>
        <?php $__env->startComponent('components.heading', ['atts' => ['element' => 'h3', 'size' => 'sm', 'class' => 'm-slideout__title']]); ?>
            <?php $__env->slot('heading_icon'); ?>
                <?php $__env->startComponent('components.icon', ['atts' => ['size' => 'lg']]); ?>
                    <?= \App::svg('map'); ?>
                <?php echo $__env->renderComponent(); ?>
            <?php $__env->endSlot(); ?>
 
            <?php echo e(__('Regions & places', 'acrux')); ?>
 
        <?php echo $__env->renderComponent(); ?>
    <?php $__env->endSlot(); ?>
 
    <?php if(function_exists('Acrux\Integrations\DynamicPages\dynamic_pages_nav') && function_exists('get_dynamic_pages')): ?>
        <?php
            dynamic_pages_nav();
        ?>
    <?php else: ?>
        <?php $__env->startComponent('components.alert', ['atts' => ['theme' => 'info']]); ?>
            <?php echo e(__('Sorry, no pages were found', 'acrux')); ?>
 
        <?php echo $__env->renderComponent(); ?>
    <?php endif; ?>
<?php echo $__env->renderComponent(); ?>
<?php /**PATH /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php ENDPATH**/ ?>
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
Arguments
  1. "/www/erocket_573/public/shared/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php"
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/uploads/sites/154/cache/75ef80691af2365fab6b0341185ed1f875948599.php"
    
  2. array:9 [
      "__env" => Illuminate\View\Factory {#7049}
      "app" => Roots\Sage\Container {#6279}
      "footer" => {#10662}
      "main" => {#10707}
      "header" => {#10709}
      "post" => WP_Post {#305}
      "obLevel" => 2
      "query" => WP_Query {#2348}
      "wp_query" => WP_Query {#2348}
    ]
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/partials/slideouts.blade.php"
    
  2. array:9 [
      "__env" => Illuminate\View\Factory {#7049}
      "app" => Roots\Sage\Container {#6279}
      "footer" => {#10662}
      "main" => {#10707}
      "header" => {#10709}
      "post" => WP_Post {#305}
      "obLevel" => 2
      "query" => WP_Query {#2348}
      "wp_query" => WP_Query {#2348}
    ]
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/www/erocket_573/public/shared/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php
<!doctype html>
<html <?php echo get_language_attributes(); ?>>
    <?php if ($__env->exists('partials.head')) echo $__env->make('partials.head', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <body <?php body_class(); ?>>
        <?php do_action('wp_body_open'); ?>
        <?php if ($__env->exists('layouts.header')) echo $__env->make('layouts.header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php if ($__env->exists('layouts.main')) echo $__env->make('layouts.main', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php if ($__env->exists('partials.slideouts')) echo $__env->make('partials.slideouts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php if ($__env->exists('partials.svg-defs')) echo $__env->make('partials.svg-defs', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
        <?php if ($__env->exists('layouts.footer')) echo $__env->make('layouts.footer', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    </body>
</html>
 
<?php /**PATH /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/templates/default.blade.php ENDPATH**/ ?>
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
Arguments
  1. "/www/erocket_573/public/shared/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php"
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/uploads/sites/154/cache/3fba5f68df0414e59816a809ac5056544f677a2f.php"
    
  2. array:9 [
      "__env" => Illuminate\View\Factory {#7049}
      "app" => Roots\Sage\Container {#6279}
      "footer" => {#10662}
      "main" => {#10707}
      "header" => {#10709}
      "post" => WP_Post {#305}
      "obLevel" => 1
      "query" => WP_Query {#2348}
      "wp_query" => & WP_Query {#2348}
    ]
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/templates/default.blade.php"
    
  2. array:9 [
      "__env" => Illuminate\View\Factory {#7049}
      "app" => Roots\Sage\Container {#6279}
      "footer" => {#10662}
      "main" => {#10707}
      "header" => {#10709}
      "post" => WP_Post {#305}
      "obLevel" => 1
      "query" => WP_Query {#2348}
      "wp_query" => & WP_Query {#2348}
    ]
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/www/erocket_573/public/shared/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php
<?php $__env->startSection('content'); ?>
    <?php if (empty($query)) : ?><?php global $wp_query; ?><?php $query = $wp_query; ?><?php endif; ?><?php if ($query->have_posts()) : ?><?php while ($query->have_posts()) : $query->the_post(); ?>
        <?php echo $__env->make('partials.post-types.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endwhile; wp_reset_postdata(); endif; ?>
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('templates.default', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php ENDPATH**/ ?>
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array  $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
Arguments
  1. "/www/erocket_573/public/shared/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php"
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array  $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/uploads/sites/154/cache/327529b16fb02730e8279ad49c3902624e44cecf.php"
    
  2. array:6 [
      "__env" => Illuminate\View\Factory {#7049}
      "app" => Roots\Sage\Container {#6279}
      "footer" => {#10662}
      "main" => {#10707}
      "header" => {#10709}
      "post" => WP_Post {#305}
    ]
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
    
  2. array:6 [
      "__env" => Illuminate\View\Factory {#7049}
      "app" => Roots\Sage\Container {#6279}
      "footer" => {#10662}
      "main" => {#10707}
      "header" => {#10709}
      "post" => WP_Post {#305}
    ]
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/illuminate/view/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/vendor/roots/sage-lib/Template/Blade.php
    public function compiler()
    {
        static $engineResolver;
        if (!$engineResolver) {
            $engineResolver = $this->getContainer()->make('view.engine.resolver');
        }
        return $engineResolver->resolve('blade')->getCompiler();
    }
 
    /**
     * @param string $view
     * @param array  $data
     * @param array  $mergeData
     * @return string
     */
    public function render($view, $data = [], $mergeData = [])
    {
        /** @var \Illuminate\Contracts\Filesystem\Filesystem $filesystem */
        $filesystem = $this->getContainer()['files'];
        return $this->{$filesystem->exists($view) ? 'file' : 'make'}($view, $data, $mergeData)->render();
    }
 
    /**
     * @param string $file
     * @param array  $data
     * @param array  $mergeData
     * @return string
     */
    public function compiledPath($file, $data = [], $mergeData = [])
    {
        $rendered = $this->file($file, $data, $mergeData);
        /** @var EngineInterface $engine */
        $engine = $rendered->getEngine();
 
        if (!($engine instanceof CompilerEngine)) {
            // Using PhpEngine, so just return the file
            return $file;
        }
 
        $compiler = $engine->getCompiler();
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Functions.php
    if (is_null($key)) {
        return sage('config');
    }
 
    if (is_array($key)) {
        return sage('config')->set($key);
    }
 
    return sage('config')->get($key);
}
 
/**
 * @param string $file
 * @param array  $data
 *
 * @return string
 */
function template($file, $data = [])
{
    return sage('blade')->render($file, $data);
}
 
/**
 * Retrieve path to a compiled blade view
 *
 * @param       $file
 * @param array $data
 *
 * @return string
 */
function template_path($file, $data = [])
{
    return sage('blade')->compiledPath($file, $data);
}
 
/**
 * @param $asset
 *
 * @return string
 */
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
    
  2. []
    
/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/app/Core/Blade/Setup.php
     * @return string|null
     */
    public function renderBladePage($template)
    {
        collect(['get_header', 'wp_head'])->each(function ($tag) {
            ob_start();
            do_action($tag);
            $output = ob_get_clean();
            remove_all_actions($tag);
            add_action($tag, function () use ($output) {
                echo $output;
            });
        });
 
        $data = collect(get_body_class())->reduce(function ($data, $class) use ($template) {
            return apply_filters("sage/template/{$class}/data", $data, $template);
        }, []);
 
        if ($template) {
            echo template($template, $data);
            return get_stylesheet_directory() . '/index.php';
        }
 
        return $template;
    }
 
    /**
     * Template Hierarchy should search for .blade.php files
     */
    public function initTemplateFilters()
    {
        collect([
            'index', '404', 'archive', 'author', 'category', 'tag', 'taxonomy', 'date', 'home',
            'frontpage', 'page', 'paged', 'search', 'single', 'singular', 'attachment', 'embed'
        ])->map(function ($type) {
            add_filter("{$type}_template_hierarchy", 'Acrux\Core\filter_templates');
        });
    }
 
 
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
    
  2. []
    
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/class-wp-hook.php
 
        $nesting_level = $this->nesting_level++;
 
        $this->iterations[ $nesting_level ] = array_keys( $this->callbacks );
        $num_args                           = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
            $priority                                 = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 == $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, (int) $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        $this->nesting_level--;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
    
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/plugin.php
        $all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
        _wp_call_all_hook( $all_args );
    }
 
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    // Pass the value to WP_Hook.
    array_unshift( $args, $value );
 
    $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() This function is identical, but the arguments passed to the
 *                      functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_filters        Stores the number of times each filter was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the filter hook.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
    
  2. array:1 [
      0 => "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
    ]
    
/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/template-loader.php
            if ( 'is_attachment' === $tag ) {
                remove_filter( 'the_content', 'prepend_attachment' );
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "template_include"
    
  2. "/www/erocket_573/public/releases/20231106232239/web/app/themes/acrux/resources/views/single-seo-pages.blade.php"
    
/www/erocket_573/public/releases/20231106232239/web/wp/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/wp/wp-includes/template-loader.php"
    
/www/erocket_573/public/releases/20231106232239/web/index.php
<?php
/**
 * WordPress View Bootstrapper
 */
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
 
Arguments
  1. "/www/erocket_573/public/releases/20231106232239/web/wp/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.25.2"
REQUEST_URI
"/bygg-goteborg/"
MAGICK_TEMPORARY_PATH
"/www/erocket_573/tmp"
USER
"erocket"
HOME
"/www/erocket_573"
HTTP_X_KINSTA_EDGE_LB
"KCW"
HTTP_X_KINSTA_EDGE_INCOMINGIP
"35.175.246.88"
HTTP_KI_REQUEST_METAL
"17"
HTTP_KI_REQUEST_COLO
"572"
HTTP_CF_DEVICE_TYPE
"desktop"
HTTP_CF_CONNECTING_IP
"35.175.246.88"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
HTTP_CDN_LOOP
"cloudflare; subreqs=1"
HTTP_CF_EW_VIA
"15"
HTTP_CF_VISITOR
"{\"scheme\":\"https\"}"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_CF_RAY
"86c083d602ff057d-ARN"
HTTP_X_FORWARDED_FOR
"35.175.246.88"
HTTP_ACCEPT_ENCODING
"gzip, br"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CF_WORKER
"kinsta.cloud"
SCRIPT_FILENAME
"/www/erocket_573/public/releases/20231106232239/web/index.php"
REDIRECT_STATUS
"200"
WP_ENVIRONMENT_TYPE
"production"
KINSTA_CACHE_ZONE
"KINSTAWP"
SERVER_NAME
"erocket.se"
SERVER_PORT
"443"
SERVER_ADDR
"10.0.8.212"
REMOTE_PORT
""
REMOTE_ADDR
"35.175.246.88"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_HOST
"byggservice-mk.se"
HTTPS
"on"
SERVER_PROTOCOL
"HTTP/2.0"
DOCUMENT_ROOT
"/www/erocket_573/public/current/web"
DOCUMENT_URI
"/index.php"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711722177.0861
REQUEST_TIME
1711722177
ACF_PRO_KEY
"b3JkZXJfaWQ9OTUyMTR8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTEyLTA4IDA5OjU2OjQ2"
AUTH_KEY
"1h9dvZIKeegq0GpRxCFR1iV2NJg1surQGdHRX0RBzoZUvZPHoB9kMDfsSUHzoR4p"
AUTH_SALT
"srnDhbJRc3FF8IQq5GGdVEf5aGEu9i1JKkEWqG0jtKTlcSyPUZCb5w5faGvWNrt9"
DB_HOST
"localhost"
DB_NAME
"erocket"
DB_PASSWORD
"svUjT5FwAoP50y8"
DB_USER
"erocket"
DISABLE_WP_CRON
"True"
DOMAIN_CURRENT_SITE
"erocket.se"
GIT_SHA
"c7abebf1d1f15afe4f2782329ef4d9da59a287b1"
LOGGED_IN_KEY
"eRkmYOVMa6lgwqccLevT5y9G6bSFfllRS1EINTgGcB82qw80hb3oj37O2hygEBcN"
LOGGED_IN_SALT
"rpSozcfcSlkvZq5lhjtlWly4dRgq1hxZSUhz0jhegxKIrbKCCxyjb9zIZmCoFArW"
NONCE_KEY
"AhYGVSx9wgbTWc2oNwYYu60x8BLoIhz0KMouf7W2WVK3fI6fbXVf0GcVp46COfY6"
NONCE_SALT
"7VHRCkmKuhb82PNJ4l2LbhIXr2q8fZhzoZKlvij2T52gN19M72dEgR9ZoUs3JAxH"
RELEASE_VERSION
"20231106232239"
SECURE_AUTH_KEY
"lBqUkJ1aP9xr54AJtokx2RdeFfnHpFE1JnudzuhpwOy9rC99uI5tZ6VPA1eglmFz"
SECURE_AUTH_SALT
"QefMmap5sSPeJ83hJJwVU5iFNfpasMPv2iFbYAnlLIPayA42f8U7hoqtfGBXhZ7c"
WP_DEBUG_LOG
"/www/erocket_573/public/logs/debug.log"
WP_ENV
"production"
WP_HOME
"https://erocket.se"
WP_SITEURL
"https://erocket.se/wp"
ENVIRONMENT
"development"
Key Value
ACF_PRO_KEY
"b3JkZXJfaWQ9OTUyMTR8dHlwZT1kZXZlbG9wZXJ8ZGF0ZT0yMDE2LTEyLTA4IDA5OjU2OjQ2"
AUTH_KEY
"1h9dvZIKeegq0GpRxCFR1iV2NJg1surQGdHRX0RBzoZUvZPHoB9kMDfsSUHzoR4p"
AUTH_SALT
"srnDhbJRc3FF8IQq5GGdVEf5aGEu9i1JKkEWqG0jtKTlcSyPUZCb5w5faGvWNrt9"
DB_HOST
"localhost"
DB_NAME
"erocket"
DB_PASSWORD
"svUjT5FwAoP50y8"
DB_USER
"erocket"
DISABLE_WP_CRON
"True"
DOMAIN_CURRENT_SITE
"erocket.se"
GIT_SHA
"c7abebf1d1f15afe4f2782329ef4d9da59a287b1"
LOGGED_IN_KEY
"eRkmYOVMa6lgwqccLevT5y9G6bSFfllRS1EINTgGcB82qw80hb3oj37O2hygEBcN"
LOGGED_IN_SALT
"rpSozcfcSlkvZq5lhjtlWly4dRgq1hxZSUhz0jhegxKIrbKCCxyjb9zIZmCoFArW"
NONCE_KEY
"AhYGVSx9wgbTWc2oNwYYu60x8BLoIhz0KMouf7W2WVK3fI6fbXVf0GcVp46COfY6"
NONCE_SALT
"7VHRCkmKuhb82PNJ4l2LbhIXr2q8fZhzoZKlvij2T52gN19M72dEgR9ZoUs3JAxH"
RELEASE_VERSION
"20231106232239"
SECURE_AUTH_KEY
"lBqUkJ1aP9xr54AJtokx2RdeFfnHpFE1JnudzuhpwOy9rC99uI5tZ6VPA1eglmFz"
SECURE_AUTH_SALT
"QefMmap5sSPeJ83hJJwVU5iFNfpasMPv2iFbYAnlLIPayA42f8U7hoqtfGBXhZ7c"
WP_DEBUG_LOG
"/www/erocket_573/public/logs/debug.log"
WP_ENV
"production"
WP_HOME
"https://erocket.se"
WP_SITEURL
"https://erocket.se/wp"
ENVIRONMENT
"development"
0. Whoops\Handler\PrettyPageHandler