ErrorException (E_ERROR)
Call to undefined function gravity_form() (View: /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/resources/views/partials/content-single-commercial-use.blade.php) (View: /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/resources/views/partials/content-single-commercial-use.blade.php)
Previous exceptions
  • Call to undefined function gravity_form() (View: /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/resources/views/partials/content-single-commercial-use.blade.php) (0)
  • Call to undefined function gravity_form() (0)
ErrorException thrown with message "Call to undefined function gravity_form() (View: /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/resources/views/partials/content-single-commercial-use.blade.php) (View: /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/resources/views/partials/content-single-commercial-use.blade.php)" Stacktrace: #22 ErrorException in /nas/content/live/oxfordgarden/wp-content/uploads/cache/ca962c594f4e2e37f644494c8f6fe2bacc594cc8.php:9 #21 Illuminate\View\Engines\CompilerEngine:handleViewException in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php:45 #20 Illuminate\View\Engines\CompilerEngine:handleViewException in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php:47 #19 Symfony\Component\Debug\Exception\FatalThrowableError in /nas/content/live/oxfordgarden/wp-content/uploads/cache/ca962c594f4e2e37f644494c8f6fe2bacc594cc8.php:9 #18 include in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php:43 #17 Illuminate\View\Engines\PhpEngine:evaluatePath in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/CompilerEngine.php:59 #16 Illuminate\View\Engines\CompilerEngine:get in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php:142 #15 Illuminate\View\View:getContents in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php:125 #14 Illuminate\View\View:renderContents in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php:90 #13 Illuminate\View\View:render in /nas/content/live/oxfordgarden/wp-content/uploads/cache/d05b817cf593b4f3554c616039e9a17764f37933.php:3 #12 include in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php:43 #11 Illuminate\View\Engines\PhpEngine:evaluatePath in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/CompilerEngine.php:59 #10 Illuminate\View\Engines\CompilerEngine:get in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php:142 #9 Illuminate\View\View:getContents in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php:125 #8 Illuminate\View\View:renderContents in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php:90 #7 Illuminate\View\View:render in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/roots/sage-lib/Template/Blade.php:58 #6 Roots\Sage\Template\Blade:render in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/app/helpers.php:55 #5 App\template in /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/app/filters.php:73 #4 App\{closure} in /nas/content/live/oxfordgarden/wp-includes/class-wp-hook.php:324 #3 WP_Hook:apply_filters in /nas/content/live/oxfordgarden/wp-includes/plugin.php:205 #2 apply_filters in /nas/content/live/oxfordgarden/wp-includes/template-loader.php:104 #1 require_once in /nas/content/live/oxfordgarden/wp-blog-header.php:19 #0 require in /nas/content/live/oxfordgarden/index.php:17
Stack frames (23)
22
ErrorException
/nas/content/live/oxfordgarden/wp-content/uploads/cache/ca962c594f4e2e37f644494c8f6fe2bacc594cc8.php9
21
Illuminate\View\Engines\CompilerEngine handleViewException
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php45
20
Illuminate\View\Engines\CompilerEngine handleViewException
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php47
19
Symfony\Component\Debug\Exception\FatalThrowableError
/nas/content/live/oxfordgarden/wp-content/uploads/cache/ca962c594f4e2e37f644494c8f6fe2bacc594cc8.php9
18
include
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php43
17
Illuminate\View\Engines\PhpEngine evaluatePath
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/CompilerEngine.php59
16
Illuminate\View\Engines\CompilerEngine get
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php142
15
Illuminate\View\View getContents
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php125
14
Illuminate\View\View renderContents
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php90
13
Illuminate\View\View render
/nas/content/live/oxfordgarden/wp-content/uploads/cache/d05b817cf593b4f3554c616039e9a17764f37933.php3
12
include
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php43
11
Illuminate\View\Engines\PhpEngine evaluatePath
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/CompilerEngine.php59
10
Illuminate\View\Engines\CompilerEngine get
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php142
9
Illuminate\View\View getContents
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php125
8
Illuminate\View\View renderContents
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/View.php90
7
Illuminate\View\View render
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/roots/sage-lib/Template/Blade.php58
6
Roots\Sage\Template\Blade render
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/app/helpers.php55
5
App\template
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/app/filters.php73
4
App\{closure}
/nas/content/live/oxfordgarden/wp-includes/class-wp-hook.php324
3
WP_Hook apply_filters
/nas/content/live/oxfordgarden/wp-includes/plugin.php205
2
apply_filters
/nas/content/live/oxfordgarden/wp-includes/template-loader.php104
1
require_once
/nas/content/live/oxfordgarden/wp-blog-header.php19
0
require
/nas/content/live/oxfordgarden/index.php17
/nas/content/live/oxfordgarden/wp-content/uploads/cache/ca962c594f4e2e37f644494c8f6fe2bacc594cc8.php
<?php echo $__env->make('partials.page-header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<article <?php post_class('column-container') ?>>
  <div class="entry-content">
    <?php echo get_the_post_thumbnail(null, 'full'); ?>
 
    <?php the_content() ?>
  </div>
  <div class="entry-form">
    <?php echo gravity_form( 
      \carbon_get_the_post_meta('contact_form'), 
      $display_title = false, 
      $display_description = true, 
      $display_inactive = false, 
      $field_values = null, 
      $ajax = true, 
      $tabindex = 99, 
      $echo = false); ?>
 
  </div>
</article>
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
Exception message: Call to undefined function gravity_form() (View: /nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/resources/views/partials/content-single-commercial-use.blade.php)
/nas/content/live/oxfordgarden/wp-content/uploads/cache/ca962c594f4e2e37f644494c8f6fe2bacc594cc8.php
<?php echo $__env->make('partials.page-header', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
<article <?php post_class('column-container') ?>>
  <div class="entry-content">
    <?php echo get_the_post_thumbnail(null, 'full'); ?>
 
    <?php the_content() ?>
  </div>
  <div class="entry-form">
    <?php echo gravity_form( 
      \carbon_get_the_post_meta('contact_form'), 
      $display_title = false, 
      $display_description = true, 
      $display_inactive = false, 
      $field_values = null, 
      $ajax = true, 
      $tabindex = 99, 
      $echo = false); ?>
 
  </div>
</article>
Exception message: Call to undefined function gravity_form()
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/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
     */
    protected 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;
    }
 
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/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());
    }
 
    /**
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/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) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/nas/content/live/oxfordgarden/wp-content/uploads/cache/d05b817cf593b4f3554c616039e9a17764f37933.php
<?php $__env->startSection('content'); ?>
  <?php while(have_posts()): ?> <?php the_post() ?>
    <?php echo $__env->make('partials.content-single-'.get_post_type(), array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
  <?php endwhile; ?>
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('layouts.app', array_except(get_defined_vars(), array('__data', '__path')))->render(); ?>
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/PhpEngine.php
    /**
     * Get the evaluated contents of the view at the given path.
     *
     * @param  string  $__path
     * @param  array   $__data
     * @return string
     */
    protected function evaluatePath($__path, $__data)
    {
        $obLevel = ob_get_level();
 
        ob_start();
 
        extract($__data, EXTR_SKIP);
 
        // We'll evaluate the contents of the view inside a try/catch block so we can
        // flush out any stray output that might get out before an error occurs or
        // an exception is thrown. This prevents any partial views from leaking.
        try {
            include $__path;
        } catch (Exception $e) {
            $this->handleViewException($e, $obLevel);
        } catch (Throwable $e) {
            $this->handleViewException(new FatalThrowableError($e), $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/illuminate/view/Engines/CompilerEngine.php
     * @param  array   $data
     * @return string
     */
    public function get($path, array $data = [])
    {
        $this->lastCompiled[] = $path;
 
        // If this given view has expired, which means it has simply been edited since
        // it was last compiled, we will re-compile the views so we can evaluate a
        // fresh copy of the view. We'll pass the compiler the path of the view.
        if ($this->compiler->isExpired($path)) {
            $this->compiler->compile($path);
        }
 
        $compiled = $this->compiler->getCompiledPath($path);
 
        // Once we have the path to the compiled file, we will evaluate the paths with
        // typical PHP just like any other templates. We also keep a stack of views
        // which have been rendered for right exception messages to be generated.
        $results = $this->evaluatePath($compiled, $data);
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Exception  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Exception
     */
    protected function handleViewException(Exception $e, $obLevel)
    {
        $e = new ErrorException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/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
     */
    protected 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;
    }
 
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/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());
    }
 
    /**
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/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) ? call_user_func($callback, $this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Exception $e) {
            $this->factory->flushState();
 
            throw $e;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/vendor/roots/sage-lib/Template/Blade.php
    public function compiler()
    {
        static $engineResolver;
        if (!$engineResolver) {
            $engineResolver = $this->getContainer()->make('view.engine.resolver');
        }
        return $engineResolver->resolve('blade')->getCompiler();
    }
 
    /**
     * @param string $view
     * @param array  $data
     * @param array  $mergeData
     * @return string
     */
    public function render($view, $data = [], $mergeData = [])
    {
        /** @var \Illuminate\Contracts\Filesystem\Filesystem $filesystem */
        $filesystem = $this->getContainer()['files'];
        return $this->{$filesystem->exists($view) ? 'file' : 'make'}($view, $data, $mergeData)->render();
    }
 
    /**
     * @param string $file
     * @param array  $data
     * @param array  $mergeData
     * @return string
     */
    public function compiledPath($file, $data = [], $mergeData = [])
    {
        $rendered = $this->file($file, $data, $mergeData);
        /** @var EngineInterface $engine */
        $engine = $rendered->getEngine();
 
        if (!($engine instanceof CompilerEngine)) {
            // Using PhpEngine, so just return the file
            return $file;
        }
 
        $compiler = $engine->getCompiler();
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/app/helpers.php
 */
function config($key = null, $default = null)
{
    if (is_null($key)) {
        return sage('config');
    }
    if (is_array($key)) {
        return sage('config')->set($key);
    }
    return sage('config')->get($key, $default);
}
 
/**
 * @param string $file
 * @param array $data
 * @return string
 */
function template($file, $data = [])
{
    return sage('blade')->render($file, $data);
}
 
/**
 * Retrieve path to a compiled blade view
 * @param $file
 * @param array $data
 * @return string
 */
function template_path($file, $data = [])
{
    return sage('blade')->compiledPath($file, $data);
}
 
/**
 * @param $asset
 * @return string
 */
function asset_path($asset)
{
    return sage('assets')->getUri($asset);
/nas/content/live/oxfordgarden/wp-content/themes/oxfordgarden/app/filters.php
});
 
/**
 * Render page using Blade
 */
add_filter('template_include', function ($template) {
    collect(['get_header', 'wp_head'])->each(function ($tag) {
        ob_start();
        do_action($tag);
        $output = ob_get_clean();
        remove_all_actions($tag);
        add_action($tag, function () use ($output) {
            echo $output;
        });
    });
    $data = collect(get_body_class())->reduce(function ($data, $class) use ($template) {
        return apply_filters("sage/template/{$class}/data", $data, $template);
    }, []);
    if ($template) {
        echo template($template, $data);
        return get_stylesheet_directory().'/index.php';
    }
    return $template;
}, PHP_INT_MAX);
 
/**
 * Render comments.blade.php
 */
add_filter('comments_template', function ($comments_template) {
    $comments_template = str_replace(
        [get_stylesheet_directory(), get_template_directory()],
        '',
        $comments_template
    );
 
    $data = collect(get_body_class())->reduce(function ($data, $class) use ($comments_template) {
        return apply_filters("sage/template/{$class}/data", $data, $comments_template);
    }, []);
 
    $theme_template = locate_template(["views/{$comments_template}", $comments_template]);
/nas/content/live/oxfordgarden/wp-includes/class-wp-hook.php
 
        $this->iterations[ $nesting_level ] = $this->priorities;
 
        $num_args = count( $args );
 
        do {
            $this->current_priority[ $nesting_level ] = current( $this->iterations[ $nesting_level ] );
 
            $priority = $this->current_priority[ $nesting_level ];
 
            foreach ( $this->callbacks[ $priority ] as $the_ ) {
                if ( ! $this->doing_action ) {
                    $args[0] = $value;
                }
 
                // Avoid the array_slice() if possible.
                if ( 0 === $the_['accepted_args'] ) {
                    $value = call_user_func( $the_['function'] );
                } elseif ( $the_['accepted_args'] >= $num_args ) {
                    $value = call_user_func_array( $the_['function'], $args );
                } else {
                    $value = call_user_func_array( $the_['function'], array_slice( $args, 0, $the_['accepted_args'] ) );
                }
            }
        } while ( false !== next( $this->iterations[ $nesting_level ] ) );
 
        unset( $this->iterations[ $nesting_level ] );
        unset( $this->current_priority[ $nesting_level ] );
 
        --$this->nesting_level;
 
        return $value;
    }
 
    /**
     * Calls the callback functions that have been added to an action hook.
     *
     * @since 4.7.0
     *
     * @param array $args Parameters to pass to the callback functions.
/nas/content/live/oxfordgarden/wp-includes/plugin.php
        $all_args = func_get_args(); // phpcs:ignore PHPCompatibility.FunctionUse.ArgumentFunctionsReportCurrentValue.NeedsInspection
        _wp_call_all_hook( $all_args );
    }
 
    if ( ! isset( $wp_filter[ $hook_name ] ) ) {
        if ( isset( $wp_filter['all'] ) ) {
            array_pop( $wp_current_filter );
        }
 
        return $value;
    }
 
    if ( ! isset( $wp_filter['all'] ) ) {
        $wp_current_filter[] = $hook_name;
    }
 
    // Pass the value to WP_Hook.
    array_unshift( $args, $value );
 
    $filtered = $wp_filter[ $hook_name ]->apply_filters( $value, $args );
 
    array_pop( $wp_current_filter );
 
    return $filtered;
}
 
/**
 * Calls the callback functions that have been added to a filter hook, specifying arguments in an array.
 *
 * @since 3.0.0
 *
 * @see apply_filters() This function is identical, but the arguments passed to the
 *                      functions hooked to `$hook_name` are supplied using an array.
 *
 * @global WP_Hook[] $wp_filter         Stores all of the filters and actions.
 * @global int[]     $wp_filters        Stores the number of times each filter was triggered.
 * @global string[]  $wp_current_filter Stores the list of current filters with the current one last.
 *
 * @param string $hook_name The name of the filter hook.
 * @param array  $args      The arguments supplied to the functions hooked to `$hook_name`.
/nas/content/live/oxfordgarden/wp-includes/template-loader.php
            if ( 'is_attachment' === $tag ) {
                remove_filter( 'the_content', 'prepend_attachment' );
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
/nas/content/live/oxfordgarden/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';
 
}
 
/nas/content/live/oxfordgarden/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';
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE nginx
REQUEST_URI /commercial-use/golf-course-furniture/
USER fpm200015
HOME /home/fpm200015
WPENGINE_ACCOUNT oxfordgarden
WPENGINE_PHPSESSIONS on
WPENGINE_DB_SESSIONS off
HTTP_ACCEPT_ENCODING gzip
HTTP_X_CACHE_GROUP bot
HTTP_X_BOT_CACHE YES
HTTP_RAWHOST oxfordgarden.com
HTTP_X_UA_ORIGINAL Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_VIA 1.1 pod-400223 (Varnish/7.4)
HTTP_X_WORDPRESS_TYPE DEFAULT
HTTP_X_WPE_EVERCACHE wpengine_ec
HTTP_CF_IPCOUNTRY US
HTTP_X_EFPC_ENABLED true
HTTP_X_WPE_EDGE AN
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_REFERER http://oxfordgarden.com/Golf-Course-Furniture
HTTP_ACCEPT */*
HTTP_CF_VISITOR {\"scheme\":\"https\"}
HTTP_CF_RAY 905fc8983823f153-ORD
HTTP_X_WPE_LOCAL_SSL 1
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP_REMOTE 172.70.130.217
HTTP_X_WPE_REQUEST_ID b6154ecf16f5ec5ad60ecd0e293ff0b6
HTTP_CF_CONNECTING_IP 3.16.137.150, 3.16.137.150, 3.16.137.150
HTTP_WPE_READONLY on
HTTP_X_WPE_SSL 1
HTTP_X_WPENGINE_PHP_VERSION 7.4
HTTP_X_WPE_INSTALL_NAME oxfordgarden
HTTP_X_FORWARDED_HOST oxfordgarden.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_IS_BOT 1
HTTP_CONNECTION close
HTTP_HOST oxfordgarden.com
HTTPS on
REDIRECT_STATUS 200
SERVER_NAME oxfordgarden.com
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
REMOTE_PORT
REMOTE_ADDR 3.16.137.150
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /nas/content/live/oxfordgarden
DOCUMENT_URI /index.php
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
IS_WPE 1
PHP_VALUE upload_max_filesize=50M; post_max_size=100M;
PHP_ADMIN_VALUE sendmail_path=/bin/sendmail-wrapper.sh cb809c44c110b10f9748fb34704747d1662cb46e /usr/sbin/sendmail -t -i; syslog.ident=phperr-oxfordgarden; newrelic.enabled=off; newrelic.license=; newrelic.appname=oxfordgarden; newrelic.browser_monitoring.auto_instrument=off;
SYSLOG_IDENT phperr-oxfordgarden
PATH_INFO
SCRIPT_FILENAME /nas/content/live/oxfordgarden/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1737551420.26
REQUEST_TIME 1737551420
Key Value
USER fpm200015
HOME /home/fpm200015
WPENGINE_ACCOUNT oxfordgarden
WPENGINE_PHPSESSIONS on
WPENGINE_DB_SESSIONS off
HTTP_ACCEPT_ENCODING gzip
HTTP_X_CACHE_GROUP bot
HTTP_X_BOT_CACHE YES
HTTP_RAWHOST oxfordgarden.com
HTTP_X_UA_ORIGINAL Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_VIA 1.1 pod-400223 (Varnish/7.4)
HTTP_X_WORDPRESS_TYPE DEFAULT
HTTP_X_WPE_EVERCACHE wpengine_ec
HTTP_CF_IPCOUNTRY US
HTTP_X_EFPC_ENABLED true
HTTP_X_WPE_EDGE AN
HTTP_CDN_LOOP cloudflare; loops=1
HTTP_REFERER http://oxfordgarden.com/Golf-Course-Furniture
HTTP_ACCEPT */*
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_CF_RAY 905fc8983823f153-ORD
HTTP_X_WPE_LOCAL_SSL 1
HTTP_X_FORWARDED_PROTO https
HTTP_X_REAL_IP_REMOTE 172.70.130.217
HTTP_X_WPE_REQUEST_ID b6154ecf16f5ec5ad60ecd0e293ff0b6
HTTP_CF_CONNECTING_IP 3.16.137.150, 3.16.137.150, 3.16.137.150
HTTP_WPE_READONLY on
HTTP_X_WPE_SSL 1
HTTP_X_WPENGINE_PHP_VERSION 7.4
HTTP_X_WPE_INSTALL_NAME oxfordgarden
HTTP_X_FORWARDED_HOST oxfordgarden.com
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_IS_BOT 1
HTTP_CONNECTION close
HTTP_HOST oxfordgarden.com
HTTPS on
REDIRECT_STATUS 200
SERVER_NAME oxfordgarden.com
SERVER_PORT 80
SERVER_ADDR 127.0.0.1
REMOTE_PORT
REMOTE_ADDR 3.16.137.150
SERVER_SOFTWARE nginx
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.0
DOCUMENT_ROOT /nas/content/live/oxfordgarden
DOCUMENT_URI /index.php
REQUEST_URI /commercial-use/golf-course-furniture/
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
IS_WPE 1
PHP_VALUE upload_max_filesize=50M; post_max_size=100M;
PHP_ADMIN_VALUE sendmail_path=/bin/sendmail-wrapper.sh cb809c44c110b10f9748fb34704747d1662cb46e /usr/sbin/sendmail -t -i; syslog.ident=phperr-oxfordgarden; newrelic.enabled=off; newrelic.license=; newrelic.appname=oxfordgarden; newrelic.browser_monitoring.auto_instrument=off;
SYSLOG_IDENT phperr-oxfordgarden
PATH_INFO
SCRIPT_FILENAME /nas/content/live/oxfordgarden/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1737551420.26
REQUEST_TIME 1737551420
0. Whoops\Handler\PrettyPageHandler