Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-includes/functions.php on line 6121
Reviews – Verbrugge groep Whoops! There was an error.
Illuminate \ View \ ViewException (E_ERROR)
array_rand(): Argument #1 ($array) must be of type array, stdClass given (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php) (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php)
Previous exceptions
  • array_rand(): Argument #1 ($array) must be of type array, stdClass given (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php) (0)
  • array_rand(): Argument #1 ($array) must be of type array, stdClass given (0)
Illuminate\View\ViewException thrown with message "array_rand(): Argument #1 ($array) must be of type array, stdClass given (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php) (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php)" Stacktrace: #24 Illuminate\View\ViewException in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php:10 #23 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/PhpEngine.php:60 #22 Illuminate\View\ViewException in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php:10 #21 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/PhpEngine.php:60 #20 TypeError in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php:10 #19 array_rand in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php:10 #18 require in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php:107 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php:108 #16 Illuminate\Filesystem\Filesystem:getRequire in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/CompilerEngine.php:61 #14 Illuminate\View\Engines\CompilerEngine:get in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/View.php:139 #13 Illuminate\View\View:getContents in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/View.php:122 #12 Illuminate\View\View:renderContents in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/View.php:91 #11 Illuminate\View\View:render in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/08ff2dd5ea73c7044e89f01b464d14f4ba329a6e.php:9 #10 require in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php:107 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php:108 #8 Illuminate\Filesystem\Filesystem:getRequire in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/CompilerEngine.php:61 #6 Illuminate\View\Engines\CompilerEngine:get in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/index.php:18 #2 include in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-blog-header.php:19 #0 require in /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/index.php:17
24
Illuminate\View\ViewException
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php10
23
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
22
Illuminate\View\ViewException
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php10
21
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
20
TypeError
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php10
19
array_rand
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php10
18
require
/vendor/illuminate/filesystem/Filesystem.php107
17
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
16
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
15
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
14
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
13
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
12
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
11
Illuminate\View\View render
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/08ff2dd5ea73c7044e89f01b464d14f4ba329a6e.php9
10
require
/vendor/illuminate/filesystem/Filesystem.php107
9
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
8
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
6
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
5
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
4
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
3
Illuminate\View\View render
/index.php18
2
include
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-includes/template-loader.php106
1
require_once
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-blog-header.php19
0
require
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/index.php17
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php
<?php
    use BlackDesk\Advieskeuze\Reviews;
?>
 
<?php if(class_exists('BlackDesk\Advieskeuze\Reviews', true)): ?>
    <?php
        $reviews = new Reviews();
        try {
            $reviews = $reviews->get();
            $keys = array_rand($reviews, 10);
            shuffle($keys);
        } catch (\Exception $e) {
            $reviews = [];
            $keys = [];
        }
    ?>
 
    <?php if(!empty($reviews)): ?>
        <section <?php echo $module; ?>>
            <div class="container">
 
                <?php if($title = get_sub_field('title')): ?>
                    <div class="row">
                        <div class="col-12">
                            <h2 class="mb-0"><?php echo $title; ?></h2>
                                <?php if($subtitle = get_sub_field('subtitle')): ?>
                                    <h3 class="mb-0 processlider__subtitle"><?php echo $subtitle; ?></h3>
                                <?php endif; ?>
                        </div>
                    </div>
                <?php endif; ?>
 
                <div class="row">
                    <div class="col-12">
                        <div class="reviews-swiper swiper--grab mt-4 pt-2">
                            <div class="swiper-wrapper">
                                <?php for($i = 0; $i < 10; $i++): ?>
                                    <?php
                                        $review = $reviews[$keys[$i]] ?? null;
                                    ?>
Arguments
  1. "array_rand(): Argument #1 ($array) must be of type array, stdClass given (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php) (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php)"
    
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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();
 
        // 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 {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php
<?php
    use BlackDesk\Advieskeuze\Reviews;
?>
 
<?php if(class_exists('BlackDesk\Advieskeuze\Reviews', true)): ?>
    <?php
        $reviews = new Reviews();
        try {
            $reviews = $reviews->get();
            $keys = array_rand($reviews, 10);
            shuffle($keys);
        } catch (\Exception $e) {
            $reviews = [];
            $keys = [];
        }
    ?>
 
    <?php if(!empty($reviews)): ?>
        <section <?php echo $module; ?>>
            <div class="container">
 
                <?php if($title = get_sub_field('title')): ?>
                    <div class="row">
                        <div class="col-12">
                            <h2 class="mb-0"><?php echo $title; ?></h2>
                                <?php if($subtitle = get_sub_field('subtitle')): ?>
                                    <h3 class="mb-0 processlider__subtitle"><?php echo $subtitle; ?></h3>
                                <?php endif; ?>
                        </div>
                    </div>
                <?php endif; ?>
 
                <div class="row">
                    <div class="col-12">
                        <div class="reviews-swiper swiper--grab mt-4 pt-2">
                            <div class="swiper-wrapper">
                                <?php for($i = 0; $i < 10; $i++): ?>
                                    <?php
                                        $review = $reviews[$keys[$i]] ?? null;
                                    ?>
Arguments
  1. "array_rand(): Argument #1 ($array) must be of type array, stdClass given (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php)"
    
Exception message: array_rand(): Argument #1 ($array) must be of type array, stdClass given (View: /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/modules/reviews.blade.php)
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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();
 
        // 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 {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php
<?php
    use BlackDesk\Advieskeuze\Reviews;
?>
 
<?php if(class_exists('BlackDesk\Advieskeuze\Reviews', true)): ?>
    <?php
        $reviews = new Reviews();
        try {
            $reviews = $reviews->get();
            $keys = array_rand($reviews, 10);
            shuffle($keys);
        } catch (\Exception $e) {
            $reviews = [];
            $keys = [];
        }
    ?>
 
    <?php if(!empty($reviews)): ?>
        <section <?php echo $module; ?>>
            <div class="container">
 
                <?php if($title = get_sub_field('title')): ?>
                    <div class="row">
                        <div class="col-12">
                            <h2 class="mb-0"><?php echo $title; ?></h2>
                                <?php if($subtitle = get_sub_field('subtitle')): ?>
                                    <h3 class="mb-0 processlider__subtitle"><?php echo $subtitle; ?></h3>
                                <?php endif; ?>
                        </div>
                    </div>
                <?php endif; ?>
 
                <div class="row">
                    <div class="col-12">
                        <div class="reviews-swiper swiper--grab mt-4 pt-2">
                            <div class="swiper-wrapper">
                                <?php for($i = 0; $i < 10; $i++): ?>
                                    <?php
                                        $review = $reviews[$keys[$i]] ?? null;
                                    ?>
Arguments
  1. "array_rand(): Argument #1 ($array) must be of type array, stdClass given"
    
Exception message: array_rand(): Argument #1 ($array) must be of type array, stdClass given
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php
<?php
    use BlackDesk\Advieskeuze\Reviews;
?>
 
<?php if(class_exists('BlackDesk\Advieskeuze\Reviews', true)): ?>
    <?php
        $reviews = new Reviews();
        try {
            $reviews = $reviews->get();
            $keys = array_rand($reviews, 10);
            shuffle($keys);
        } catch (\Exception $e) {
            $reviews = [];
            $keys = [];
        }
    ?>
 
    <?php if(!empty($reviews)): ?>
        <section <?php echo $module; ?>>
            <div class="container">
 
                <?php if($title = get_sub_field('title')): ?>
                    <div class="row">
                        <div class="col-12">
                            <h2 class="mb-0"><?php echo $title; ?></h2>
                                <?php if($subtitle = get_sub_field('subtitle')): ?>
                                    <h3 class="mb-0 processlider__subtitle"><?php echo $subtitle; ?></h3>
                                <?php endif; ?>
                        </div>
                    </div>
                <?php endif; ?>
 
                <div class="row">
                    <div class="col-12">
                        <div class="reviews-swiper swiper--grab mt-4 pt-2">
                            <div class="swiper-wrapper">
                                <?php for($i = 0; $i < 10; $i++): ?>
                                    <?php
                                        $review = $reviews[$keys[$i]] ?? null;
                                    ?>
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/5e4dcbc7d5348d495ce618e2b1c874ff4b97ad9f.php"
    
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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();
 
        // 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 {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @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);
        }
 
        // 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($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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;
    }
 
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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());
    }
 
    /**
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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 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 (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/08ff2dd5ea73c7044e89f01b464d14f4ba329a6e.php
<?php $__env->startSection('content'); ?>
  <?php while(have_posts()): ?> <?php the_post() ?>
 
    <?php if(is_front_page()): ?>
        <?php echo $__env->make('partials.page-header-home', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endif; ?>
 
    <?php if (have_rows('modules')) : ?><?php while (have_rows('modules')) : the_row(); ?>
        <?php echo $__env->make('modules.'.strtolower(get_row_layout()), \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
    <?php endwhile; endif; ?>
 
  <?php endwhile; ?>
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/resources/views/template-flex.blade.php ENDPATH**/ ?>
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/cache/acorn/views/08ff2dd5ea73c7044e89f01b464d14f4ba329a6e.php"
    
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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();
 
        // 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 {
            $this->files->getRequire($path, $data);
        } catch (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/vendor/illuminate/view/Engines/CompilerEngine.php
     *
     * @param  string  $path
     * @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);
        }
 
        // 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($this->compiler->getCompiledPath($path), $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        $e = new ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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;
    }
 
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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());
    }
 
    /**
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/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 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 (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="theme-color" content="#008e5a">
    <?php wp_head(); ?>
    <?php if(function_exists('get_field') && $head_script = get_field('head_script', 'options')) : ?>
        <?= $head_script ?>
    <?php endif; ?>
  </head>
 
  <body <?php body_class(); ?>>
    <?php wp_body_open(); ?>
    <?php do_action('get_header'); ?>
 
    <div id="app">
      <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
    </div>
 
    <?php do_action('get_footer'); ?>
    <?php wp_footer(); ?>
    <?php if(function_exists('get_field') && $body_script = get_field('body_script', 'options')) : ?>
        <?= $body_script ?>
    <?php endif; ?>
  </body>
</html>
 
/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-includes/template-loader.php
            }
 
            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. "/home/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-content/themes/verbrugge/index.php"
    
/home/blackdev/domains/verbrugge.blackdesk.dev/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/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-includes/template-loader.php"
    
/home/blackdev/domains/verbrugge.blackdesk.dev/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/blackdev/domains/verbrugge.blackdesk.dev/public_html/wp-blog-header.php"
    

Environment & details:

Key Value
query_vars
array:2 [
  "page" => ""
  "pagename" => "reviews"
]
query_string
"pagename=reviews"
request
"reviews"
matched_rule
"(.?.+?)(?:/([0-9]+))?/?$"
matched_query
"pagename=reviews&page="
did_permalink
true
Key Value
query
array:2 [
  "page" => ""
  "pagename" => "reviews"
]
query_vars
array:66 [
  "page" => 0
  "pagename" => "reviews"
  "error" => ""
  "m" => ""
  "p" => 0
  "post_parent" => ""
  "subpost" => ""
  "subpost_id" => ""
  "attachment" => ""
  "attachment_id" => 0
  "name" => "reviews"
  "page_id" => 0
  "second" => ""
  "minute" => ""
  "hour" => ""
  "day" => 0
  "monthnum" => 0
  "year" => 0
  "w" => 0
  "category_name" => ""
  "tag" => ""
  "cat" => ""
  "tag_id" => ""
  "author" => ""
  "author_name" => ""
  "feed" => ""
  "tb" => ""
  "paged" => 0
  "meta_key" => ""
  "meta_value" => ""
  "preview" => ""
  "s" => ""
  "sentence" => ""
  "title" => ""
  "fields" => "all"
  "menu_order" => ""
  "embed" => ""
  "category__in" => []
  "category__not_in" => []
  "category__and" => []
  "post__in" => []
  "post__not_in" => []
  "post_name__in" => []
  "tag__in" => []
  "tag__not_in" => []
  "tag__and" => []
  "tag_slug__in" => []
  "tag_slug__and" => []
  "post_parent__in" => []
  "post_parent__not_in" => []
  "author__in" => []
  "author__not_in" => []
  "search_columns" => []
  "ignore_sticky_posts" => false
  "suppress_filters" => false
  "cache_results" => true
  "update_post_term_cache" => true
  "update_menu_item_cache" => false
  "lazy_load_term_meta" => true
  "update_post_meta_cache" => true
  "post_type" => ""
  "posts_per_page" => 10
  "nopaging" => false
  "comments_per_page" => "50"
  "no_found_rows" => false
  "order" => "DESC"
]
meta_query
WP_Meta_Query {#6745}
queried_object
WP_Post {#6742}
queried_object_id
369
request
"""
SELECT   wp_posts.*\n
\t\t\t\t\t FROM wp_posts \n
\t\t\t\t\t WHERE 1=1  AND (wp_posts.ID = '369') AND wp_posts.post_type = 'page'\n
\t\t\t\t\t \n
\t\t\t\t\t ORDER BY wp_posts.post_date DESC\n
\t\t\t\t\t 
"""
post_count
1
in_the_loop
true
current_comment
-1
found_posts
1
is_page
true
is_singular
true
Key Value
ID
369
post_author
"1"
post_date
"2021-12-13 14:09:51"
post_date_gmt
"2021-12-13 14:09:51"
post_content
""
post_title
"Reviews"
post_excerpt
""
post_status
"publish"
comment_status
"closed"
ping_status
"closed"
post_password
""
post_name
"reviews"
to_ping
""
pinged
""
post_modified
"2021-12-30 14:36:12"
post_modified_gmt
"2021-12-30 14:36:12"
post_content_filtered
""
post_parent
0
guid
"https://verbrugge.blackdesk.dev/?page_id=369"
menu_order
0
post_type
"page"
post_mime_type
""
comment_count
"0"
filter
"raw"
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2"
REQUEST_URI
"/reviews/"
USER
"blackdev"
HOME
"/home/blackdev"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/reviews/"
REMOTE_PORT
"41226"
SCRIPT_FILENAME
"/home/blackdev/domains/verbrugge.blackdesk.dev/private_html/index.php"
SERVER_ADMIN
"webmaster@verbrugge.blackdesk.dev"
CONTEXT_DOCUMENT_ROOT
"/home/blackdev/domains/verbrugge.blackdesk.dev/private_html"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/blackdev/domains/verbrugge.blackdesk.dev/private_html"
REMOTE_ADDR
"216.73.216.205"
SERVER_PORT
"443"
SERVER_ADDR
"185.223.163.48"
SERVER_NAME
"verbrugge.blackdesk.dev"
SERVER_SIGNATURE
""
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
HTTP_REFERER
"https://verbrugge.blackdesk.dev/reviews"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_FORWARDED_FOR
"216.73.216.205"
HTTP_HOST
"verbrugge.blackdesk.dev"
HTTP_X_ACCEL_INTERNAL
"/nginx_static_files"
proxy-nokeepalive
"1"
HTTPS
"on"
HTTP_AUTHORIZATION
""
SCRIPT_URI
"https://verbrugge.blackdesk.dev/reviews/"
SCRIPT_URL
"/reviews/"
UNIQUE_ID
"aDudAWKR57ZSwUhqCO9pLQAAAV0"
REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://verbrugge.blackdesk.dev/reviews/"
REDIRECT_SCRIPT_URL
"/reviews/"
REDIRECT_UNIQUE_ID
"aDudAWKR57ZSwUhqCO9pLQAAAV0"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1748737281.577
REQUEST_TIME
1748737281
empty
0. Whoops\Handler\PrettyPageHandler