ErrorException (E_ERROR)
Undefined array key "page_sections" (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php) (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php)
Previous exceptions
  • Undefined array key "page_sections" (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php) (0)
  • Undefined array key "page_sections" (0)
ErrorException thrown with message "Undefined array key "page_sections" (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php) (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php)" Stacktrace: #24 ErrorException in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php:1 #23 Illuminate\View\Engines\CompilerEngine:handleViewException in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/Engines/PhpEngine.php:60 #22 ErrorException in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php:1 #21 Illuminate\View\Engines\CompilerEngine:handleViewException in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/Engines/PhpEngine.php:60 #20 ErrorException in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php:1 #19 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php:1 #18 require in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/filesystem/Filesystem.php:107 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/filesystem/Filesystem.php:108 #16 Illuminate\Filesystem\Filesystem:getRequire in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/Engines/CompilerEngine.php:61 #14 Illuminate\View\Engines\CompilerEngine:get in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php:139 #13 Illuminate\View\View:getContents in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php:122 #12 Illuminate\View\View:renderContents in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php:91 #11 Illuminate\View\View:render in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/f9b9293eae01d07c1c07ceff80a33ec98dc74b63.php:108 #10 require in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/filesystem/Filesystem.php:107 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/filesystem/Filesystem.php:108 #8 Illuminate\Filesystem\Filesystem:getRequire in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/Engines/CompilerEngine.php:61 #6 Illuminate\View\Engines\CompilerEngine:get in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/index.php:1 #2 include in /srv/users/serverpilot/apps/green-street/public/wp-includes/template-loader.php:106 #1 require_once in /srv/users/serverpilot/apps/green-street/public/wp-blog-header.php:19 #0 require in /srv/users/serverpilot/apps/green-street/public/index.php:17
24
ErrorException
/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php1
23
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
22
ErrorException
/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php1
21
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
20
ErrorException
/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php1
19
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php1
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
/storage/framework/views/f9b9293eae01d07c1c07ceff80a33ec98dc74b63.php108
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.php1
2
include
/srv/users/serverpilot/apps/green-street/public/wp-includes/template-loader.php106
1
require_once
/srv/users/serverpilot/apps/green-street/public/wp-blog-header.php19
0
require
/srv/users/serverpilot/apps/green-street/public/index.php17
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php
<?php if($fields['page_sections']): ?>
    <?php $__currentLoopData = $fields['page_sections']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($data['acf_fc_layout'] == 'icon_block' ): ?>
 
            <?php echo $__env->make('blocks.icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'two_column_block' ): ?>
 
            <?php echo $__env->make('blocks.two-columns', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_section' ): ?>
 
            <?php echo $__env->make('blocks.text-section', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_icons_block' ): ?>
 
            <?php echo $__env->make('blocks.text-icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'image_block' ): ?>
 
            <?php echo $__env->make('blocks.fluid-image', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'slider_block' ): ?>
 
            <?php echo $__env->make('blocks.slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_slider_block' ): ?>
 
            <?php echo $__env->make('blocks.text-slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'accordion_block' ): ?>
 
            <?php echo $__env->make('blocks.accordion-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'global_blocks' ): ?>
 
            <?php if($data['blocks'] == 'principles'): ?>
 
                <?php echo $__env->make('partials.principles', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
Arguments
  1. "Undefined array key "page_sections" (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php) (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php)"
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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();
        }
 
Arguments
  1. ErrorException {#14043
      #message: "Undefined array key "page_sections" (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php)"
      #code: 0
      #file: "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php"
      #line: 1
      -previous: ErrorException {#14030
        #message: "Undefined array key "page_sections""
        #code: 0
        #file: "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php"
        #line: 1
        #severity: E_WARNING
      }
      #severity: E_ERROR
    }
    
  2. 2
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php
<?php if($fields['page_sections']): ?>
    <?php $__currentLoopData = $fields['page_sections']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($data['acf_fc_layout'] == 'icon_block' ): ?>
 
            <?php echo $__env->make('blocks.icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'two_column_block' ): ?>
 
            <?php echo $__env->make('blocks.two-columns', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_section' ): ?>
 
            <?php echo $__env->make('blocks.text-section', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_icons_block' ): ?>
 
            <?php echo $__env->make('blocks.text-icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'image_block' ): ?>
 
            <?php echo $__env->make('blocks.fluid-image', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'slider_block' ): ?>
 
            <?php echo $__env->make('blocks.slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_slider_block' ): ?>
 
            <?php echo $__env->make('blocks.text-slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'accordion_block' ): ?>
 
            <?php echo $__env->make('blocks.accordion-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'global_blocks' ): ?>
 
            <?php if($data['blocks'] == 'principles'): ?>
 
                <?php echo $__env->make('partials.principles', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
Arguments
  1. "Undefined array key "page_sections" (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php)"
    
Exception message: Undefined array key "page_sections" (View: /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php)
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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();
        }
 
Arguments
  1. ErrorException {#14030
      #message: "Undefined array key "page_sections""
      #code: 0
      #file: "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php"
      #line: 1
      #severity: E_WARNING
    }
    
  2. 4
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php
<?php if($fields['page_sections']): ?>
    <?php $__currentLoopData = $fields['page_sections']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($data['acf_fc_layout'] == 'icon_block' ): ?>
 
            <?php echo $__env->make('blocks.icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'two_column_block' ): ?>
 
            <?php echo $__env->make('blocks.two-columns', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_section' ): ?>
 
            <?php echo $__env->make('blocks.text-section', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_icons_block' ): ?>
 
            <?php echo $__env->make('blocks.text-icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'image_block' ): ?>
 
            <?php echo $__env->make('blocks.fluid-image', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'slider_block' ): ?>
 
            <?php echo $__env->make('blocks.slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_slider_block' ): ?>
 
            <?php echo $__env->make('blocks.text-slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'accordion_block' ): ?>
 
            <?php echo $__env->make('blocks.accordion-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'global_blocks' ): ?>
 
            <?php if($data['blocks'] == 'principles'): ?>
 
                <?php echo $__env->make('partials.principles', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
Arguments
  1. "Undefined array key "page_sections""
    
Exception message: Undefined array key "page_sections"
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php
<?php if($fields['page_sections']): ?>
    <?php $__currentLoopData = $fields['page_sections']; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $data): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <?php if($data['acf_fc_layout'] == 'icon_block' ): ?>
 
            <?php echo $__env->make('blocks.icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'two_column_block' ): ?>
 
            <?php echo $__env->make('blocks.two-columns', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_section' ): ?>
 
            <?php echo $__env->make('blocks.text-section', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_icons_block' ): ?>
 
            <?php echo $__env->make('blocks.text-icons', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'image_block' ): ?>
 
            <?php echo $__env->make('blocks.fluid-image', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'slider_block' ): ?>
 
            <?php echo $__env->make('blocks.slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'text_slider_block' ): ?>
 
            <?php echo $__env->make('blocks.text-slider-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'accordion_block' ): ?>
 
            <?php echo $__env->make('blocks.accordion-block', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
        <?php elseif( $data['acf_fc_layout'] == 'global_blocks' ): ?>
 
            <?php if($data['blocks'] == 'principles'): ?>
 
                <?php echo $__env->make('partials.principles', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
Arguments
  1. 2
    
  2. "Undefined array key "page_sections""
    
  3. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php"
    
  4. 1
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php"
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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();
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php"
    
  2. array:18 [
      "__env" => Illuminate\View\Factory {#8496}
      "app" => Roots\Acorn\Application {#8411}
      "siteName" => "Green Street"
      "title" => "Project Two"
      "fields" => array:3 [
        "enable_coming_soon" => false
        "author" => false
        "post_image" => "https://greenstreet.org.uk/wp-content/uploads/2023/02/Green_Street_Bradford_-5592.jpg"
      ]
      "contact" => array:7 [
        "email" => "hello@greenstreet.org.uk"
        "phone" => ""
        "youtube" => "https://www.youtube.com/channel/UCc-O_1Bimp1XnCmTNK7Eclw"
        "twitter" => "https://twitter.com/__greenstreet"
        "facebook" => "https://www.facebook.com/We-Are-Green-Street-109579081611682/"
        "instagram" => "https://www.instagram.com/__greenstreet/"
        "address" => ""
      ]
      "cta" => array:2 [
        "text" => ""
        "image" => false
      ]
      "global" => array:2 [
        "get_a_quote_text" => ""
        "our_principles_text" => """
          <p><strong>Simple principles to make you greener</strong></p>\n
          <h1 class="mt0">6 planet friendly principles<br />\n
          for businesses</h1>\n
          <p>Interested in learning more about what we do or how can you<br />\n
          get involved in our projects?</p>\n
          <p><a class="button" href="mailto:hello@greenstreet.org.uk">Contact Us</a></p>\n
          """
      ]
      "featured_image" => false
      "principles" => WP_Query {#13989}
      "blog_posts" => WP_Query {#13995}
      "wp_query" => & WP_Query {#14000}
      "paged" => & 1
      "args" => array:5 [
        "post_type" => "post"
        "orderby" => "date"
        "order" => "DESC"
        "posts_per_page" => 7
        "paged" => 1
      ]
      "__currentLoopData" => array:7 [
        0 => WP_Post {#14046}
        1 => WP_Post {#14048}
        2 => WP_Post {#14051}
        3 => WP_Post {#14020}
        4 => WP_Post {#14021}
        5 => WP_Post {#14028}
        6 => WP_Post {#14032}
      ]
      "blog_post" => WP_Post {#14032}
      "loop" => null
      "coming_soon" => false
    ]
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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 ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/59b556e55875f94b908ac8e6685074c61311ad3f.php"
    
  2. array:18 [
      "__env" => Illuminate\View\Factory {#8496}
      "app" => Roots\Acorn\Application {#8411}
      "siteName" => "Green Street"
      "title" => "Project Two"
      "fields" => array:3 [
        "enable_coming_soon" => false
        "author" => false
        "post_image" => "https://greenstreet.org.uk/wp-content/uploads/2023/02/Green_Street_Bradford_-5592.jpg"
      ]
      "contact" => array:7 [
        "email" => "hello@greenstreet.org.uk"
        "phone" => ""
        "youtube" => "https://www.youtube.com/channel/UCc-O_1Bimp1XnCmTNK7Eclw"
        "twitter" => "https://twitter.com/__greenstreet"
        "facebook" => "https://www.facebook.com/We-Are-Green-Street-109579081611682/"
        "instagram" => "https://www.instagram.com/__greenstreet/"
        "address" => ""
      ]
      "cta" => array:2 [
        "text" => ""
        "image" => false
      ]
      "global" => array:2 [
        "get_a_quote_text" => ""
        "our_principles_text" => """
          <p><strong>Simple principles to make you greener</strong></p>\n
          <h1 class="mt0">6 planet friendly principles<br />\n
          for businesses</h1>\n
          <p>Interested in learning more about what we do or how can you<br />\n
          get involved in our projects?</p>\n
          <p><a class="button" href="mailto:hello@greenstreet.org.uk">Contact Us</a></p>\n
          """
      ]
      "featured_image" => false
      "principles" => WP_Query {#13989}
      "blog_posts" => WP_Query {#13995}
      "wp_query" => & WP_Query {#14000}
      "paged" => & 1
      "args" => array:5 [
        "post_type" => "post"
        "orderby" => "date"
        "order" => "DESC"
        "posts_per_page" => 7
        "paged" => 1
      ]
      "__currentLoopData" => array:7 [
        0 => WP_Post {#14046}
        1 => WP_Post {#14048}
        2 => WP_Post {#14051}
        3 => WP_Post {#14020}
        4 => WP_Post {#14021}
        5 => WP_Post {#14028}
        6 => WP_Post {#14032}
      ]
      "blog_post" => WP_Post {#14032}
      "loop" => null
      "coming_soon" => false
    ]
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/partials/flexible-content.blade.php"
    
  2. array:18 [
      "__env" => Illuminate\View\Factory {#8496}
      "app" => Roots\Acorn\Application {#8411}
      "siteName" => "Green Street"
      "title" => "Project Two"
      "fields" => array:3 [
        "enable_coming_soon" => false
        "author" => false
        "post_image" => "https://greenstreet.org.uk/wp-content/uploads/2023/02/Green_Street_Bradford_-5592.jpg"
      ]
      "contact" => array:7 [
        "email" => "hello@greenstreet.org.uk"
        "phone" => ""
        "youtube" => "https://www.youtube.com/channel/UCc-O_1Bimp1XnCmTNK7Eclw"
        "twitter" => "https://twitter.com/__greenstreet"
        "facebook" => "https://www.facebook.com/We-Are-Green-Street-109579081611682/"
        "instagram" => "https://www.instagram.com/__greenstreet/"
        "address" => ""
      ]
      "cta" => array:2 [
        "text" => ""
        "image" => false
      ]
      "global" => array:2 [
        "get_a_quote_text" => ""
        "our_principles_text" => """
          <p><strong>Simple principles to make you greener</strong></p>\n
          <h1 class="mt0">6 planet friendly principles<br />\n
          for businesses</h1>\n
          <p>Interested in learning more about what we do or how can you<br />\n
          get involved in our projects?</p>\n
          <p><a class="button" href="mailto:hello@greenstreet.org.uk">Contact Us</a></p>\n
          """
      ]
      "featured_image" => false
      "principles" => WP_Query {#13989}
      "blog_posts" => WP_Query {#13995}
      "wp_query" => & WP_Query {#14000}
      "paged" => & 1
      "args" => array:5 [
        "post_type" => "post"
        "orderby" => "date"
        "order" => "DESC"
        "posts_per_page" => 7
        "paged" => 1
      ]
      "__currentLoopData" => array:7 [
        0 => WP_Post {#14046}
        1 => WP_Post {#14048}
        2 => WP_Post {#14051}
        3 => WP_Post {#14020}
        4 => WP_Post {#14021}
        5 => WP_Post {#14028}
        6 => WP_Post {#14032}
      ]
      "blog_post" => WP_Post {#14032}
      "loop" => null
      "coming_soon" => false
    ]
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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());
    }
 
    /**
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/f9b9293eae01d07c1c07ceff80a33ec98dc74b63.php
                            <?php if(!$coming_soon): ?></a><?php endif; ?>
                        </article>
                    </div>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <div class="grid-x grid-margin-x text-center mt3">
                <div class="cell">
                    <?php if( get_next_posts_link() ) : ?>
                        <nav class="load-more text-link">
                            <?php next_posts_link( 'Load More Posts' ); ?>
                        </nav>
                    <?php endif; ?>
                </div>
            </div>
        </div>
    </section>
 
    <?php echo $__env->make('partials.blog-content', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
    <?php echo $__env->make('partials.flexible-content', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
 
<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/index.blade.php ENDPATH**/ ?>
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/f9b9293eae01d07c1c07ceff80a33ec98dc74b63.php"
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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();
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/f9b9293eae01d07c1c07ceff80a33ec98dc74b63.php"
    
  2. array:11 [
      "__env" => Illuminate\View\Factory {#8496}
      "app" => Roots\Acorn\Application {#8411}
      "siteName" => "Green Street"
      "title" => "Project Two"
      "fields" => array:3 [
        "enable_coming_soon" => false
        "author" => false
        "post_image" => "https://greenstreet.org.uk/wp-content/uploads/2023/02/Green_Street_Bradford_-5592.jpg"
      ]
      "contact" => array:7 [
        "email" => "hello@greenstreet.org.uk"
        "phone" => ""
        "youtube" => "https://www.youtube.com/channel/UCc-O_1Bimp1XnCmTNK7Eclw"
        "twitter" => "https://twitter.com/__greenstreet"
        "facebook" => "https://www.facebook.com/We-Are-Green-Street-109579081611682/"
        "instagram" => "https://www.instagram.com/__greenstreet/"
        "address" => ""
      ]
      "cta" => array:2 [
        "text" => ""
        "image" => false
      ]
      "global" => array:2 [
        "get_a_quote_text" => ""
        "our_principles_text" => """
          <p><strong>Simple principles to make you greener</strong></p>\n
          <h1 class="mt0">6 planet friendly principles<br />\n
          for businesses</h1>\n
          <p>Interested in learning more about what we do or how can you<br />\n
          get involved in our projects?</p>\n
          <p><a class="button" href="mailto:hello@greenstreet.org.uk">Contact Us</a></p>\n
          """
      ]
      "featured_image" => false
      "principles" => WP_Query {#13989}
      "blog_posts" => WP_Query {#13995}
    ]
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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 ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/storage/framework/views/f9b9293eae01d07c1c07ceff80a33ec98dc74b63.php"
    
  2. array:11 [
      "__env" => Illuminate\View\Factory {#8496}
      "app" => Roots\Acorn\Application {#8411}
      "siteName" => "Green Street"
      "title" => "Project Two"
      "fields" => array:3 [
        "enable_coming_soon" => false
        "author" => false
        "post_image" => "https://greenstreet.org.uk/wp-content/uploads/2023/02/Green_Street_Bradford_-5592.jpg"
      ]
      "contact" => array:7 [
        "email" => "hello@greenstreet.org.uk"
        "phone" => ""
        "youtube" => "https://www.youtube.com/channel/UCc-O_1Bimp1XnCmTNK7Eclw"
        "twitter" => "https://twitter.com/__greenstreet"
        "facebook" => "https://www.facebook.com/We-Are-Green-Street-109579081611682/"
        "instagram" => "https://www.instagram.com/__greenstreet/"
        "address" => ""
      ]
      "cta" => array:2 [
        "text" => ""
        "image" => false
      ]
      "global" => array:2 [
        "get_a_quote_text" => ""
        "our_principles_text" => """
          <p><strong>Simple principles to make you greener</strong></p>\n
          <h1 class="mt0">6 planet friendly principles<br />\n
          for businesses</h1>\n
          <p>Interested in learning more about what we do or how can you<br />\n
          get involved in our projects?</p>\n
          <p><a class="button" href="mailto:hello@greenstreet.org.uk">Contact Us</a></p>\n
          """
      ]
      "featured_image" => false
      "principles" => WP_Query {#13989}
      "blog_posts" => WP_Query {#13995}
    ]
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
Arguments
  1. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/resources/views/index.blade.php"
    
  2. array:11 [
      "__env" => Illuminate\View\Factory {#8496}
      "app" => Roots\Acorn\Application {#8411}
      "siteName" => "Green Street"
      "title" => "Project Two"
      "fields" => array:3 [
        "enable_coming_soon" => false
        "author" => false
        "post_image" => "https://greenstreet.org.uk/wp-content/uploads/2023/02/Green_Street_Bradford_-5592.jpg"
      ]
      "contact" => array:7 [
        "email" => "hello@greenstreet.org.uk"
        "phone" => ""
        "youtube" => "https://www.youtube.com/channel/UCc-O_1Bimp1XnCmTNK7Eclw"
        "twitter" => "https://twitter.com/__greenstreet"
        "facebook" => "https://www.facebook.com/We-Are-Green-Street-109579081611682/"
        "instagram" => "https://www.instagram.com/__greenstreet/"
        "address" => ""
      ]
      "cta" => array:2 [
        "text" => ""
        "image" => false
      ]
      "global" => array:2 [
        "get_a_quote_text" => ""
        "our_principles_text" => """
          <p><strong>Simple principles to make you greener</strong></p>\n
          <h1 class="mt0">6 planet friendly principles<br />\n
          for businesses</h1>\n
          <p>Interested in learning more about what we do or how can you<br />\n
          get involved in our projects?</p>\n
          <p><a class="button" href="mailto:hello@greenstreet.org.uk">Contact Us</a></p>\n
          """
      ]
      "featured_image" => false
      "principles" => WP_Query {#13989}
      "blog_posts" => WP_Query {#13995}
    ]
    
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/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());
    }
 
    /**
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/vendor/illuminate/view/View.php
        $this->view = $view;
        $this->path = $path;
        $this->engine = $engine;
        $this->factory = $factory;
 
        $this->data = $data instanceof Arrayable ? $data->toArray() : (array) $data;
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return array|string
     *
     * @throws \Throwable
     */
    public function render(callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/index.php
<?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
/srv/users/serverpilot/apps/green-street/public/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. "/srv/users/serverpilot/apps/green-street/public/wp-content/themes/green_street/index.php"
    
/srv/users/serverpilot/apps/green-street/public/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. "/srv/users/serverpilot/apps/green-street/public/wp-includes/template-loader.php"
    
/srv/users/serverpilot/apps/green-street/public/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. "/srv/users/serverpilot/apps/green-street/public/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.58 (Unix) OpenSSL/1.0.2g"
REQUEST_URI
"/projects/"
TMP
"/srv/users/serverpilot/tmp/green-street"
TEMP
"/srv/users/serverpilot/tmp/green-street"
TMPDIR
"/srv/users/serverpilot/tmp/green-street"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
USER
"serverpilot"
HOME
"/srv/users/serverpilot"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/projects/"
REMOTE_PORT
"43315"
SCRIPT_FILENAME
"/srv/users/serverpilot/apps/green-street/public/index.php"
SERVER_ADMIN
"webmaster@"
CONTEXT_DOCUMENT_ROOT
"/srv/users/serverpilot/apps/green-street/public"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/srv/users/serverpilot/apps/green-street/public"
REMOTE_ADDR
"34.204.169.230"
SERVER_PORT
"443"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"greenstreet.org.uk"
SERVER_SIGNATURE
""
LD_LIBRARY_PATH
"/opt/sp/apache/lib:/opt/sp/apache/lib"
HTTP_ACCEPT_ENCODING
"br,gzip"
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_CONNECTION
"close"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SSL
"on"
HTTP_X_FORWARDED_FOR
"34.204.169.230"
HTTP_HOST
"greenstreet.org.uk"
HTTP_AUTHORIZATION
""
SCRIPT_URI
"https://greenstreet.org.uk/projects/"
SCRIPT_URL
"/projects/"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://greenstreet.org.uk/projects/"
REDIRECT_SCRIPT_URL
"/projects/"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1708674501.3597
REQUEST_TIME
1708674501
argv
[]
argc
0
Key Value
TMP
"/srv/users/serverpilot/tmp/green-street"
TEMP
"/srv/users/serverpilot/tmp/green-street"
TMPDIR
"/srv/users/serverpilot/tmp/green-street"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
USER
"serverpilot"
HOME
"/srv/users/serverpilot"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/projects/"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/projects/"
REMOTE_PORT
"43315"
SCRIPT_FILENAME
"/srv/users/serverpilot/apps/green-street/public/index.php"
SERVER_ADMIN
"webmaster@"
CONTEXT_DOCUMENT_ROOT
"/srv/users/serverpilot/apps/green-street/public"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/srv/users/serverpilot/apps/green-street/public"
REMOTE_ADDR
"34.204.169.230"
SERVER_PORT
"443"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"greenstreet.org.uk"
SERVER_SOFTWARE
"Apache/2.4.58 (Unix) OpenSSL/1.0.2g"
SERVER_SIGNATURE
""
LD_LIBRARY_PATH
"/opt/sp/apache/lib:/opt/sp/apache/lib"
HTTP_ACCEPT_ENCODING
"br,gzip"
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_CONNECTION
"close"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_X_FORWARDED_SSL
"on"
HTTP_X_FORWARDED_FOR
"34.204.169.230"
HTTP_HOST
"greenstreet.org.uk"
HTTP_AUTHORIZATION
""
SCRIPT_URI
"https://greenstreet.org.uk/projects/"
SCRIPT_URL
"/projects/"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://greenstreet.org.uk/projects/"
REDIRECT_SCRIPT_URL
"/projects/"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1708674501.3597
REQUEST_TIME
1708674501
argv
[]
argc
0
0. Whoops\Handler\PrettyPageHandler