Whoops! There was an error.
Illuminate \ View \ ViewException (E_ERROR)
Trying to access array offset on value of type bool (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php) (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php)
Previous exceptions
  • Trying to access array offset on value of type bool (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php) (0)
  • Trying to access array offset on value of type bool (0)
Illuminate\View\ViewException thrown with message "Trying to access array offset on value of type bool (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php) (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php)" Stacktrace: #24 Illuminate\View\ViewException in /sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php:3 #23 Illuminate\View\Engines\CompilerEngine:handleViewException in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/Engines/PhpEngine.php:60 #22 Illuminate\View\ViewException in /sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php:3 #21 Illuminate\View\Engines\CompilerEngine:handleViewException in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/Engines/PhpEngine.php:60 #20 ErrorException in /sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php:3 #19 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php:3 #18 require in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/filesystem/Filesystem.php:107 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/filesystem/Filesystem.php:108 #16 Illuminate\Filesystem\Filesystem:getRequire in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/Engines/CompilerEngine.php:61 #14 Illuminate\View\Engines\CompilerEngine:get in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/View.php:139 #13 Illuminate\View\View:getContents in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/View.php:122 #12 Illuminate\View\View:renderContents in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/View.php:91 #11 Illuminate\View\View:render in /sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/f1fb40f61ce45e3b1b8433c715e9353af9d567da.php:3 #10 require in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/filesystem/Filesystem.php:107 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/filesystem/Filesystem.php:108 #8 Illuminate\Filesystem\Filesystem:getRequire in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/Engines/CompilerEngine.php:61 #6 Illuminate\View\Engines\CompilerEngine:get in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/index.php:14 #2 include in /sites/piccadilly-place.co.uk/files/wp-includes/template-loader.php:106 #1 require_once in /sites/piccadilly-place.co.uk/files/wp-blog-header.php:19 #0 require in /sites/piccadilly-place.co.uk/files/index.php:17
24
Illuminate\View\ViewException
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php3
23
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
22
Illuminate\View\ViewException
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php3
21
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
20
ErrorException
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php3
19
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php3
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
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/f1fb40f61ce45e3b1b8433c715e9353af9d567da.php3
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.php14
2
include
/sites/piccadilly-place.co.uk/files/wp-includes/template-loader.php106
1
require_once
/sites/piccadilly-place.co.uk/files/wp-blog-header.php19
0
require
/sites/piccadilly-place.co.uk/files/index.php17
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php
<?php
    $post_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'banner');
    $post_image = $post_image[0];
 
    $terms = get_the_terms( $post->ID, 'category' );
    if ( !empty( $terms ) ){
        // get the first term
        $term = array_shift( $terms );
        $main_cat = $term->name;
    }
 
?>
 
<div class="bg-black">
    <div class="container pit-2 pib-2">
        <div class="row">
            <div class="col-md-10 col-lg-8 mx-auto col-12 text-center">
                <div class="pt-5">
                    <p class="small mb-0 text-grey"><?php echo e($main_cat); ?></p>
                    <p class="small mb-0 text-white"><?php echo e(get_the_date()); ?></p>
                </div>
                <div class="pt-2">
                    <a class="btn btn--outline mt-3" href="#">Share this post</a>
                </div>
                <h1 class="h2 text-white mt-5 slide-vertical"><?php echo e(get_the_title()); ?></h1>
            </div>
        </div>
    </div>
</div>
 
<div class="psb-2">
    <?php echo $__env->make('partials.content-flexible', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
 
<?php echo $__env->make('flexible.content-related-posts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php ENDPATH**/ ?>
Arguments
  1. "Trying to access array offset on value of type bool (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php) (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php)"
    
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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();
        }
 
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php
<?php
    $post_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'banner');
    $post_image = $post_image[0];
 
    $terms = get_the_terms( $post->ID, 'category' );
    if ( !empty( $terms ) ){
        // get the first term
        $term = array_shift( $terms );
        $main_cat = $term->name;
    }
 
?>
 
<div class="bg-black">
    <div class="container pit-2 pib-2">
        <div class="row">
            <div class="col-md-10 col-lg-8 mx-auto col-12 text-center">
                <div class="pt-5">
                    <p class="small mb-0 text-grey"><?php echo e($main_cat); ?></p>
                    <p class="small mb-0 text-white"><?php echo e(get_the_date()); ?></p>
                </div>
                <div class="pt-2">
                    <a class="btn btn--outline mt-3" href="#">Share this post</a>
                </div>
                <h1 class="h2 text-white mt-5 slide-vertical"><?php echo e(get_the_title()); ?></h1>
            </div>
        </div>
    </div>
</div>
 
<div class="psb-2">
    <?php echo $__env->make('partials.content-flexible', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
 
<?php echo $__env->make('flexible.content-related-posts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php ENDPATH**/ ?>
Arguments
  1. "Trying to access array offset on value of type bool (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php)"
    
Exception message: Trying to access array offset on value of type bool (View: /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php)
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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();
        }
 
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php
<?php
    $post_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'banner');
    $post_image = $post_image[0];
 
    $terms = get_the_terms( $post->ID, 'category' );
    if ( !empty( $terms ) ){
        // get the first term
        $term = array_shift( $terms );
        $main_cat = $term->name;
    }
 
?>
 
<div class="bg-black">
    <div class="container pit-2 pib-2">
        <div class="row">
            <div class="col-md-10 col-lg-8 mx-auto col-12 text-center">
                <div class="pt-5">
                    <p class="small mb-0 text-grey"><?php echo e($main_cat); ?></p>
                    <p class="small mb-0 text-white"><?php echo e(get_the_date()); ?></p>
                </div>
                <div class="pt-2">
                    <a class="btn btn--outline mt-3" href="#">Share this post</a>
                </div>
                <h1 class="h2 text-white mt-5 slide-vertical"><?php echo e(get_the_title()); ?></h1>
            </div>
        </div>
    </div>
</div>
 
<div class="psb-2">
    <?php echo $__env->make('partials.content-flexible', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
 
<?php echo $__env->make('flexible.content-related-posts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php ENDPATH**/ ?>
Arguments
  1. "Trying to access array offset on value of type bool"
    
Exception message: Trying to access array offset on value of type bool
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php
<?php
    $post_image = wp_get_attachment_image_src( get_post_thumbnail_id(), 'banner');
    $post_image = $post_image[0];
 
    $terms = get_the_terms( $post->ID, 'category' );
    if ( !empty( $terms ) ){
        // get the first term
        $term = array_shift( $terms );
        $main_cat = $term->name;
    }
 
?>
 
<div class="bg-black">
    <div class="container pit-2 pib-2">
        <div class="row">
            <div class="col-md-10 col-lg-8 mx-auto col-12 text-center">
                <div class="pt-5">
                    <p class="small mb-0 text-grey"><?php echo e($main_cat); ?></p>
                    <p class="small mb-0 text-white"><?php echo e(get_the_date()); ?></p>
                </div>
                <div class="pt-2">
                    <a class="btn btn--outline mt-3" href="#">Share this post</a>
                </div>
                <h1 class="h2 text-white mt-5 slide-vertical"><?php echo e(get_the_title()); ?></h1>
            </div>
        </div>
    </div>
</div>
 
<div class="psb-2">
    <?php echo $__env->make('partials.content-flexible', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
</div>
 
<?php echo $__env->make('flexible.content-related-posts', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php /**PATH /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/partials/content-single.blade.php ENDPATH**/ ?>
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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. "/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/60de5dcd9c26d43c152a00beb257046e565af51d.php"
    
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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;
 
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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();
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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);
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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;
    }
 
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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());
    }
 
    /**
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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
/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/f1fb40f61ce45e3b1b8433c715e9353af9d567da.php
<?php $__env->startSection('content'); ?>
  <?php while(have_posts()): ?> <?php (the_post()); ?>
    <?php echo $__env->first(['partials.content-single-' . get_post_type(), 'partials.content-single'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  <?php endwhile; ?>
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/resources/views/single.blade.php ENDPATH**/ ?>
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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. "/sites/piccadilly-place.co.uk/files/wp-content/cache/acorn/views/f1fb40f61ce45e3b1b8433c715e9353af9d567da.php"
    
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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;
 
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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();
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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);
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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;
    }
 
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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());
    }
 
    /**
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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
/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/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">
    <?php wp_head(); ?>
  </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(); ?>
  </body>
</html>
 
/sites/piccadilly-place.co.uk/files/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. "/sites/piccadilly-place.co.uk/files/wp-content/themes/piccadilly-place/index.php"
    
/sites/piccadilly-place.co.uk/files/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. "/sites/piccadilly-place.co.uk/files/wp-includes/template-loader.php"
    
/sites/piccadilly-place.co.uk/files/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. "/sites/piccadilly-place.co.uk/files/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.22.1"
REQUEST_URI
"/location/colony/"
SPINUPWP_CACHE_KEY_SALT
"piccadilly-place.co.uk"
SPINUPWP_LOG_PATH
"/sites/piccadilly-place.co.uk/logs/debug.log"
SPINUPWP_SITE
"1"
USER
"piccadilly-place"
HOME
"/sites/piccadilly-place.co.uk"
HTTP_ACCEPT_ENCODING
"br,gzip"
HTTP_IF_MODIFIED_SINCE
"Sat, 25 May 2024 22:29:20 GMT"
HTTP_ACCEPT_LANGUAGE
"en-US,en;q=0.5"
HTTP_ACCEPT
"text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8"
HTTP_USER_AGENT
"CCBot/2.0 (https://commoncrawl.org/faq/)"
HTTP_HOST
"piccadilly-place.co.uk"
REDIRECT_STATUS
"200"
SERVER_NAME
"piccadilly-place.co.uk"
SERVER_PORT
"443"
SERVER_ADDR
"161.35.172.8"
REMOTE_USER
""
REMOTE_PORT
"49706"
REMOTE_ADDR
"98.84.18.52"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/2.0"
DOCUMENT_ROOT
"/sites/piccadilly-place.co.uk/files"
DOCUMENT_URI
"/index.php"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
""
SCRIPT_FILENAME
"/sites/piccadilly-place.co.uk/files/index.php"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1728968929.9007
REQUEST_TIME
1728968929
empty
0. Whoops\Handler\PrettyPageHandler