Error
Object of class WP_Error could not be converted to string Error thrown with message "Object of class WP_Error could not be converted to string" Stacktrace: #18 Error in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/Models/Other.php:157 #17 App\Models\Other:breadcrumbs in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/Controllers/SingleController.php:39 #16 App\Controllers\SingleController:init in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/Controllers/FrontController.php:53 #15 App\Controllers\FrontController:__construct in [internal]:0 #14 ReflectionClass:newInstanceArgs in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/container/Container.php:812 #13 Illuminate\Container\Container:build in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/container/Container.php:658 #12 Illuminate\Container\Container:resolve in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/container/Container.php:609 #11 Illuminate\Container\Container:make in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/soberwp/controller/controller.php:64 #10 Sober\Controller\{closure} in /home/expert/domains/expertdom.pl/public_html/wp-includes/class-wp-hook.php:292 #9 WP_Hook:apply_filters in /home/expert/domains/expertdom.pl/public_html/wp-includes/plugin.php:212 #8 apply_filters in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/filters.php:65 #7 App\{closure} in [internal]:0 #6 array_reduce in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/support/Collection.php:1415 #5 Illuminate\Support\Collection:reduce in /home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/filters.php:66 #4 App\{closure} in /home/expert/domains/expertdom.pl/public_html/wp-includes/class-wp-hook.php:292 #3 WP_Hook:apply_filters in /home/expert/domains/expertdom.pl/public_html/wp-includes/plugin.php:212 #2 apply_filters in /home/expert/domains/expertdom.pl/public_html/wp-includes/template-loader.php:104 #1 require_once in /home/expert/domains/expertdom.pl/public_html/wp-blog-header.php:19 #0 require in /home/expert/domains/expertdom.pl/public_html/index.php:17
Stack frames (19)
18
Error
/app/Models/Other.php157
17
App\Models\Other breadcrumbs
/app/Controllers/SingleController.php39
16
App\Controllers\SingleController init
/app/Controllers/FrontController.php53
15
App\Controllers\FrontController __construct
[internal]0
14
ReflectionClass newInstanceArgs
/vendor/illuminate/container/Container.php812
13
Illuminate\Container\Container build
/vendor/illuminate/container/Container.php658
12
Illuminate\Container\Container resolve
/vendor/illuminate/container/Container.php609
11
Illuminate\Container\Container make
/vendor/soberwp/controller/controller.php64
10
Sober\Controller\{closure}
/home/expert/domains/expertdom.pl/public_html/wp-includes/class-wp-hook.php292
9
WP_Hook apply_filters
/home/expert/domains/expertdom.pl/public_html/wp-includes/plugin.php212
8
apply_filters
/app/filters.php65
7
App\{closure}
[internal]0
6
array_reduce
/vendor/illuminate/support/Collection.php1415
5
Illuminate\Support\Collection reduce
/app/filters.php66
4
App\{closure}
/home/expert/domains/expertdom.pl/public_html/wp-includes/class-wp-hook.php292
3
WP_Hook apply_filters
/home/expert/domains/expertdom.pl/public_html/wp-includes/plugin.php212
2
apply_filters
/home/expert/domains/expertdom.pl/public_html/wp-includes/template-loader.php104
1
require_once
/home/expert/domains/expertdom.pl/public_html/wp-blog-header.php19
0
require
/home/expert/domains/expertdom.pl/public_html/index.php17
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/Models/Other.php
                    ];
                    
                    $breadcrumbs[] = [
                        'title' => get_the_title(),
                        'active' => true,
                    ];
                }
                
            } elseif ( !is_single() && !is_page() && get_post_type() != 'post' && !is_404() ) {
                $post_type = get_post_type_object(get_post_type());
                $breadcrumbs[] = [
                    'title' => $post_type->labels->name,
                    'active' => true,
                ];
                
            } elseif ( is_attachment() ) {
                $parent = get_post($post->post_parent);
                $cat = get_the_category($parent->ID);
                $cat = $cat[0];
                echo get_category_parents($cat, TRUE, '');
                echo '<li><a href="' . get_permalink($parent) . '">' . $parent->post_title . '</a></li>';
                
                
                $breadcrumbs[] = [
                    'title' => get_the_title(),
                    'active' => true,
                ];
                
            } elseif ( is_page() && !$post->post_parent ) {
                
                $breadcrumbs[] = [
                    'title' => get_the_title(),
                    'active' => true,
                ];
                
            } elseif ( is_page() && $post->post_parent ) {
                $parent_id  = $post->post_parent;
                $breadcrumbs_temp = [];
                while ($parent_id) {
                    $page = get_page($parent_id);
Arguments
  1. "Object of class WP_Error could not be converted to string"
    
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/Controllers/SingleController.php
 
    protected $modelClass = 'Page';
 
    protected function globalHooks()
    {
    }
 
 
    protected function initHooks()
    {
        add_action('wp_enqueue_scripts', 'wpcf7_recaptcha_enqueue_scripts', 10, 0);
 
    }
 
 
 
 
    protected function init()
    {
        $breadcrumbs  = Other::breadcrumbs();
 
        $this->data = [
            'breadcrumbs' => $breadcrumbs,
        ];
    }
}
 
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/Controllers/FrontController.php
            return;
        }
        $this->setCurrentTemplate();
 
 
 
        if (current_filter() == 'init') {
            $this->globalHooks();
        } elseif ((current_filter() == 'wp' || current_filter() == "sage/template/{$this->__getTemplateParam()}-data/data")
            && !empty($this->currentTemplate)
        ) {
 
            if ($this->template != $this->currentTemplate) {
                // $this->active = false;
                return;
            } elseif (current_filter() == 'wp') {
                $this->initHooks();
            } else {
                $this->setModel();
                $this->init();
            }
        }
    }
 
    /**
     * globalHooks function
     * 
     * hooks in this function run everywhere on each page/post/etc
     *
     * 
     * below hooks work only in globalHooks 
     * widgets_init / register_sidebar / wp_register_sidebar_widget / wp_loaded / parse_request / send_headers
     * parse_tax_query / parse_query / pre_get_posts / posts_selection 
     * 
     * @url http://rachievee.com/the-wordpress-hooks-firing-sequence/
     * @return void
     */
    protected function globalHooks()
    {
    }
[internal]
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/container/Container.php
        // we can just resolve the instances of the objects right away, without
        // resolving any other types or dependencies out of these containers.
        if (is_null($constructor)) {
            array_pop($this->buildStack);
 
            return new $concrete;
        }
 
        $dependencies = $constructor->getParameters();
 
        // Once we have all the constructor's parameters we can create each of the
        // dependency instances and then use the reflection instances to make a
        // new instance of this class, injecting the created dependencies in.
        $instances = $this->resolveDependencies(
            $dependencies
        );
 
        array_pop($this->buildStack);
 
        return $reflector->newInstanceArgs($instances);
    }
 
    /**
     * Resolve all of the dependencies from the ReflectionParameters.
     *
     * @param  array  $dependencies
     * @return array
     */
    protected function resolveDependencies(array $dependencies)
    {
        $results = [];
 
        foreach ($dependencies as $dependency) {
            // If this dependency has a override for this particular build we will use
            // that instead as the value. Otherwise, we will continue with this run
            // of resolutions and let reflection attempt to determine the result.
            if ($this->hasParameterOverride($dependency)) {
                $results[] = $this->getParameterOverride($dependency);
 
                continue;
Arguments
  1. []
    
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/container/Container.php
        $needsContextualBuild = ! empty($parameters) || ! is_null(
            $this->getContextualConcrete($abstract)
        );
 
        // If an instance of the type is currently being managed as a singleton we'll
        // just return an existing instance instead of instantiating new instances
        // so the developer can keep using the same objects instance every time.
        if (isset($this->instances[$abstract]) && ! $needsContextualBuild) {
            return $this->instances[$abstract];
        }
 
        $this->with[] = $parameters;
 
        $concrete = $this->getConcrete($abstract);
 
        // We're ready to instantiate an instance of the concrete type registered for
        // the binding. This will instantiate the types, as well as resolve any of
        // its "nested" dependencies recursively until all have gotten resolved.
        if ($this->isBuildable($concrete, $abstract)) {
            $object = $this->build($concrete);
        } else {
            $object = $this->make($concrete);
        }
 
        // If we defined any extenders for this type, we'll need to spin through them
        // and apply them to the object being built. This allows for the extension
        // of services, such as changing configuration or decorating the object.
        foreach ($this->getExtenders($abstract) as $extender) {
            $object = $extender($object, $this);
        }
 
        // If the requested type is registered as a singleton we'll want to cache off
        // the instances in "memory" so we can return it later without creating an
        // entirely new instance of an object on each subsequent request for it.
        if ($this->isShared($abstract) && ! $needsContextualBuild) {
            $this->instances[$abstract] = $object;
        }
 
        $this->fireResolvingCallbacks($abstract, $object);
 
Arguments
  1. "App\Controllers\SingleController"
    
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/container/Container.php
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function makeWith($abstract, array $parameters = [])
    {
        return $this->make($abstract, $parameters);
    }
 
    /**
     * Resolve the given type from the container.
     *
     * @param  string  $abstract
     * @param  array  $parameters
     * @return mixed
     */
    public function make($abstract, array $parameters = [])
    {
        return $this->resolve($abstract, $parameters);
    }
 
    /**
     *  {@inheritdoc}
     */
    public function get($id)
    {
        try {
            return $this->resolve($id);
        } catch (Exception $e) {
            if ($this->has($id)) {
                throw $e;
            }
 
            throw new EntryNotFoundException;
        }
    }
 
    /**
     * Resolve the given type from the container.
Arguments
  1. "App\Controllers\SingleController"
    
  2. []
    
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/soberwp/controller/controller.php
 
    // Loop over each class
    foreach ($loader->getClassesToRun() as $class) {
 
        // Create the class on the DI container
        $controller = $container->make($class);
 
        // Set the params required for template param
        $controller->__setParams();
 
 
        if (current_filter() == 'init') {
            // Determine template location to expose data
            $location = "sage/template/{$controller->__getTemplateParam()}-data/data";
 
            // Pass data to filter
            add_filter($location, function ($data) use ($container, $class) {
                // Recreate the class so that $post is included
 
                $controller = $container->make($class);
 
                // Params
                $controller->__setParams();
 
                // Lifecycle
                $controller->__before();
 
                // Data
                $controller->__setData($data);
 
                // Lifecycle
                $controller->__after();
 
                // Return
                return $controller->__getData();
            }, 10, 2);
        }
    }
}
 
Arguments
  1. "App\Controllers\SingleController"
    
/home/expert/domains/expertdom.pl/public_html/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. array:6 [
      "post" => WP_Post {#5697}
      "model" => false
      "__blade" => array:2 [
        0 => {#5744}
        1 => {#5735}
      ]
      "section" => null
      "__app" => array:3 [
        "post" => WP_Post {#5697}
        "model" => false
        "__blade" => array:1 [
          0 => {#5744}
        ]
      ]
      "__store" => array:6 [
        "post" => WP_Post {#5697}
        "model" => false
        "__blade" => array:2 [
          0 => {#5744}
          1 => {#5735}
        ]
        "__app" => array:3 [
          "post" => WP_Post {#5697}
          "model" => false
          "__blade" => array:1 [
            0 => {#5744}
          ]
        ]
        "__store" => array:4 [
          "__blade" => array:1 [
            0 => {#5744}
          ]
          "post" => WP_Post {#5697}
          "model" => false
          "__app" => array:3 [
            "post" => WP_Post {#5697}
            "model" => false
            "__blade" => array:1 [
              0 => {#5744}
            ]
          ]
        ]
        "section" => null
      ]
    ]
    
  2. "/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/resources/views/single.blade.php"
    
/home/expert/domains/expertdom.pl/public_html/wp-includes/plugin.php
    if ( isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
        _wp_call_all_hook( $args );
    }
 
    if ( ! isset( $wp_filter[ $tag ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
    }
 
    // Don't pass the tag name to WP_Hook.
    array_shift( $args );
 
    $filtered = $wp_filter[ $tag ]->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 `$tag` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $tag  The name of the filter hook.
 * @param array  $args The arguments supplied to the functions hooked to $tag.
 * @return mixed The filtered value after all hooked functions are applied to it.
Arguments
  1. array:6 [
      "post" => WP_Post {#5697}
      "model" => false
      "__blade" => array:2 [
        0 => {#5744}
        1 => {#5735}
      ]
      "section" => null
      "__app" => array:3 [
        "post" => WP_Post {#5697}
        "model" => false
        "__blade" => array:1 [
          0 => {#5744}
        ]
      ]
      "__store" => array:6 [
        "post" => WP_Post {#5697}
        "model" => false
        "__blade" => array:2 [
          0 => {#5744}
          1 => {#5735}
        ]
        "__app" => array:3 [
          "post" => WP_Post {#5697}
          "model" => false
          "__blade" => array:1 [
            0 => {#5744}
          ]
        ]
        "__store" => array:4 [
          "__blade" => array:1 [
            0 => {#5744}
          ]
          "post" => WP_Post {#5697}
          "model" => false
          "__app" => array:3 [
            "post" => WP_Post {#5697}
            "model" => false
            "__blade" => array:1 [
              0 => {#5744}
            ]
          ]
        ]
        "section" => null
      ]
    ]
    
  2. array:2 [
      0 => array:6 [
        "post" => WP_Post {#5697}
        "model" => false
        "__blade" => array:2 [
          0 => {#5744}
          1 => {#5735}
        ]
        "section" => null
        "__app" => array:3 [
          "post" => WP_Post {#5697}
          "model" => false
          "__blade" => array:1 [
            0 => {#5744}
          ]
        ]
        "__store" => array:6 [
          "post" => WP_Post {#5697}
          "model" => false
          "__blade" => array:2 [
            0 => {#5744}
            1 => {#5735}
          ]
          "__app" => array:3 [
            "post" => WP_Post {#5697}
            "model" => false
            "__blade" => array:1 [
              0 => {#5744}
            ]
          ]
          "__store" => array:4 [
            "__blade" => array:1 [
              0 => {#5744}
            ]
            "post" => WP_Post {#5697}
            "model" => false
            "__app" => array:3 [
              "post" => WP_Post {#5697}
              "model" => false
              "__blade" => array:1 [
                0 => {#5744}
              ]
            ]
          ]
          "section" => null
        ]
      ]
      1 => "/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/resources/views/single.blade.php"
    ]
    
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/filters.php
    'frontpage', 'page', 'paged', 'search', 'single', 'singular', 'attachment', 'embed'
])->map(function ($type) {   
    add_filter("{$type}_template_hierarchy", 'filter_templates');
});
 
/**
 * Render page using Blade
 */
add_filter('template_include', function ($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 view($template, $data);
        return get_stylesheet_directory().'/index.php';
    }
    return $template;
}, PHP_INT_MAX);
 
/**
 * Render comments.blade.php
 */
add_filter('comments_template', function ($comments_template) {
    $comments_template = str_replace(
        [get_stylesheet_directory(), get_template_directory()],
        '',
        $comments_template
    );
 
Arguments
  1. "sage/template/single-data/data"
    
  2. array:5 [
      "post" => WP_Post {#5697}
      "model" => false
      "__blade" => array:1 [
        0 => {#5744}
      ]
      "__app" => array:3 [
        "post" => WP_Post {#5697}
        "model" => false
        "__blade" => array:1 [
          0 => {#5744}
        ]
      ]
      "__store" => array:4 [
        "__blade" => array:1 [
          0 => {#5744}
        ]
        "post" => WP_Post {#5697}
        "model" => false
        "__app" => array:3 [
          "post" => WP_Post {#5697}
          "model" => false
          "__blade" => array:1 [
            0 => {#5744}
          ]
        ]
      ]
    ]
    
  3. "/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/resources/views/single.blade.php"
    
[internal]
Arguments
  1. array:5 [
      "post" => WP_Post {#5697}
      "model" => false
      "__blade" => array:1 [
        0 => {#5744}
      ]
      "__app" => array:3 [
        "post" => WP_Post {#5697}
        "model" => false
        "__blade" => array:1 [
          0 => {#5744}
        ]
      ]
      "__store" => array:4 [
        "__blade" => array:1 [
          0 => {#5744}
        ]
        "post" => WP_Post {#5697}
        "model" => false
        "__app" => array:3 [
          "post" => WP_Post {#5697}
          "model" => false
          "__blade" => array:1 [
            0 => {#5744}
          ]
        ]
      ]
    ]
    
  2. "single-data"
    
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/vendor/illuminate/support/Collection.php
     */
    public function random($number = null)
    {
        if (is_null($number)) {
            return Arr::random($this->items);
        }
 
        return new static(Arr::random($this->items, $number));
    }
 
    /**
     * Reduce the collection to a single value.
     *
     * @param  callable  $callback
     * @param  mixed  $initial
     * @return mixed
     */
    public function reduce(callable $callback, $initial = null)
    {
        return array_reduce($this->items, $callback, $initial);
    }
 
    /**
     * Create a collection of all elements that do not pass a given truth test.
     *
     * @param  callable|mixed  $callback
     * @return static
     */
    public function reject($callback)
    {
        if ($this->useAsCallable($callback)) {
            return $this->filter(function ($value, $key) use ($callback) {
                return ! $callback($value, $key);
            });
        }
 
        return $this->filter(function ($item) use ($callback) {
            return $item != $callback;
        });
    }
Arguments
  1. array:21 [
      0 => "attachment"
      1 => "attachment-template-default"
      2 => "single"
      3 => "single-attachment"
      4 => "postid-1074"
      5 => "attachmentid-1074"
      6 => "attachment-jpeg"
      7 => "wp-custom-logo"
      8 => "k12"
      9 => "app-data"
      10 => "index-data"
      11 => "singular-data"
      14 => "single-data"
      17 => "single-attachment-data"
      20 => "single-attachment-k12-data"
      23 => "attachment-data"
      26 => "image_jpeg-data"
      29 => "jpeg-data"
      32 => "image-data"
      35 => "user-"
      36 => "user-desktop"
    ]
    
  2. Closure($data, $class) {#5752 …2}
    
  3. []
    
/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/app/filters.php
])->map(function ($type) {   
    add_filter("{$type}_template_hierarchy", 'filter_templates');
});
 
/**
 * Render page using Blade
 */
add_filter('template_include', function ($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 view($template, $data);
        return get_stylesheet_directory().'/index.php';
    }
    return $template;
}, PHP_INT_MAX);
 
/**
 * Render comments.blade.php
 */
add_filter('comments_template', function ($comments_template) {
    $comments_template = str_replace(
        [get_stylesheet_directory(), get_template_directory()],
        '',
        $comments_template
    );
 
    $data = collect(get_body_class())->reduce(function ($data, $class) use ($comments_template) {
Arguments
  1. Closure($data, $class) {#5752 …2}
    
  2. []
    
/home/expert/domains/expertdom.pl/public_html/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. "/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/resources/views/single.blade.php"
    
/home/expert/domains/expertdom.pl/public_html/wp-includes/plugin.php
    if ( isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
        _wp_call_all_hook( $args );
    }
 
    if ( ! isset( $wp_filter[ $tag ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $tag;
    }
 
    // Don't pass the tag name to WP_Hook.
    array_shift( $args );
 
    $filtered = $wp_filter[ $tag ]->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 `$tag` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $tag  The name of the filter hook.
 * @param array  $args The arguments supplied to the functions hooked to $tag.
 * @return mixed The filtered value after all hooked functions are applied to it.
Arguments
  1. "/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/resources/views/single.blade.php"
    
  2. array:1 [
      0 => "/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/resources/views/single.blade.php"
    ]
    
/home/expert/domains/expertdom.pl/public_html/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. "/home/expert/domains/expertdom.pl/public_html/wp-content/themes/expertdom/resources/views/single.blade.php"
    
/home/expert/domains/expertdom.pl/public_html/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. "/home/expert/domains/expertdom.pl/public_html/wp-includes/template-loader.php"
    
/home/expert/domains/expertdom.pl/public_html/index.php
<?php
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */
 
/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */
define( 'WP_USE_THEMES', true );
 
/** Loads the WordPress Environment and Template */
require __DIR__ . '/wp-blog-header.php';
 
Arguments
  1. "/home/expert/domains/expertdom.pl/public_html/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2"
REQUEST_URI
"/zdjecia/kollataja-11-12/attachment/k12/"
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
CONTENT_LENGTH
"0"
HTTP_HOST
"expertdom.pl"
HTTP_REFERER
"https://expertdom.pl/?p=1074"
HTTP_USER_AGENT
"claudebot"
HTTP_X_FORWARDED_FOR
"3.144.244.44"
HTTP_X_ACCEL_INTERNAL
"/nginx_static_files"
REDIRECT_UNIQUE_ID
"ZiE7Uw8Owi9BCE6fYVKqfAAAAFk"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_STATUS
"200"
UNIQUE_ID
"ZiE7Uw8Owi9BCE6fYVKqfAAAAFk"
HTTP_AUTHORIZATION
""
HTTPS
"on"
SERVER_SIGNATURE
""
SERVER_NAME
"expertdom.pl"
SERVER_ADDR
"144.76.242.41"
SERVER_PORT
"443"
REMOTE_ADDR
"3.144.244.44"
DOCUMENT_ROOT
"/home/expert/domains/expertdom.pl/private_html"
REQUEST_SCHEME
"https"
CONTEXT_PREFIX
""
CONTEXT_DOCUMENT_ROOT
"/home/expert/domains/expertdom.pl/private_html"
SERVER_ADMIN
"webmaster@expertdom.pl"
SCRIPT_FILENAME
"/home/expert/domains/expertdom.pl/private_html/index.php"
REMOTE_PORT
"40154"
REDIRECT_URL
"/zdjecia/kollataja-11-12/attachment/k12/"
SERVER_PROTOCOL
"HTTP/1.0"
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_NAME
"/index.php"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1713453907.9473
REQUEST_TIME
1713453907
Key Value
PATH
"/usr/local/bin:/usr/bin:/bin"
TEMP
"/tmp"
TMP
"/tmp"
TMPDIR
"/tmp"
PWD
"/"
0. Whoops\Handler\PrettyPageHandler