Illuminate \ View \ ViewException (E_ERROR)
Method Roots\Acorn\Application::newsletterFields does not exist. (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php) (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php)
Previous exceptions
  • Method Roots\Acorn\Application::newsletterFields does not exist. (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php) (0)
  • Method Roots\Acorn\Application::newsletterFields does not exist. (0)
Illuminate\View\ViewException thrown with message "Method Roots\Acorn\Application::newsletterFields does not exist. (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php) (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php)" Stacktrace: #25 Illuminate\View\ViewException in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/macroable/Traits/Macroable.php:115 #24 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/PhpEngine.php:59 #23 Illuminate\View\ViewException in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/macroable/Traits/Macroable.php:115 #22 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/PhpEngine.php:59 #21 BadMethodCallException in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/macroable/Traits/Macroable.php:115 #20 Illuminate\Foundation\Application:__call in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/support/Facades/Facade.php:363 #19 Illuminate\Support\Facades\Facade:__callStatic in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/24289142ef8e35c9ca630af404ca32af.php:1 #18 require in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php:123 #17 Illuminate\Filesystem\Filesystem:{closure:Illuminate\Filesystem\Filesystem::getRequire():120} in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php:124 #16 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/PhpEngine.php:57 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/CompilerEngine.php:76 #14 Illuminate\View\Engines\CompilerEngine:get in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php:208 #13 Illuminate\View\View:getContents in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php:191 #12 Illuminate\View\View:renderContents in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php:160 #11 Illuminate\View\View:render in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/3baa4e2a7845d7722ca4e3d13b824c38.php:4 #10 require in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php:123 #9 Illuminate\Filesystem\Filesystem:{closure:Illuminate\Filesystem\Filesystem::getRequire():120} in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php:124 #8 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/PhpEngine.php:57 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/CompilerEngine.php:76 #6 Illuminate\View\Engines\CompilerEngine:get in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php:208 #5 Illuminate\View\View:getContents in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php:191 #4 Illuminate\View\View:renderContents in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php:160 #3 Illuminate\View\View:render in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/index.php:3 #2 include in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-includes/template-loader.php:113 #1 require_once in /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-blog-header.php:19 #0 require in /var/www/vhosts/metropolitanhousing.org/httpdocs/index.php:17
Stack frames (26)
25
Illuminate\View\ViewException
/vendor/illuminate/macroable/Traits/Macroable.php:115
24
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php:59
23
Illuminate\View\ViewException
/vendor/illuminate/macroable/Traits/Macroable.php:115
22
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php:59
21
BadMethodCallException
/vendor/illuminate/macroable/Traits/Macroable.php:115
20
Illuminate\Foundation\Application __call
/vendor/illuminate/support/Facades/Facade.php:363
19
Illuminate\Support\Facades\Facade __callStatic
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/24289142ef8e35c9ca630af404ca32af.php:1
18
require
/vendor/illuminate/filesystem/Filesystem.php:123
17
Illuminate\Filesystem\Filesystem {closure:Illuminate\Filesystem\Filesystem::getRequire():120}
/vendor/illuminate/filesystem/Filesystem.php:124
16
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php:57
15
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php:76
14
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php:208
13
Illuminate\View\View getContents
/vendor/illuminate/view/View.php:191
12
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php:160
11
Illuminate\View\View render
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/3baa4e2a7845d7722ca4e3d13b824c38.php:4
10
require
/vendor/illuminate/filesystem/Filesystem.php:123
9
Illuminate\Filesystem\Filesystem {closure:Illuminate\Filesystem\Filesystem::getRequire():120}
/vendor/illuminate/filesystem/Filesystem.php:124
8
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php:57
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php:76
6
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php:208
5
Illuminate\View\View getContents
/vendor/illuminate/view/View.php:191
4
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php:160
3
Illuminate\View\View render
/index.php:3
2
include
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-includes/template-loader.php:113
1
require_once
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-blog-header.php:19
0
require
/var/www/vhosts/metropolitanhousing.org/httpdocs/index.php:17
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/macroable/Traits/Macroable.php
        if ($macro instanceof Closure) {
            $macro = $macro->bindTo(null, static::class);
        }
 
        return $macro(...$parameters);
    }
 
    /**
     * Dynamically handle calls to the class.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        if (! static::hasMacro($method)) {
            throw new BadMethodCallException(sprintf(
                'Method %s::%s does not exist.', static::class, $method
            ));
        }
 
        $macro = static::$macros[$method];
 
        if ($macro instanceof Closure) {
            $macro = $macro->bindTo($this, static::class);
        }
 
        return $macro(...$parameters);
    }
}
 
Arguments
  1. "Method Roots\Acorn\Application::newsletterFields does not exist. (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php) (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php)"
    
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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();
        }
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/macroable/Traits/Macroable.php
        if ($macro instanceof Closure) {
            $macro = $macro->bindTo(null, static::class);
        }
 
        return $macro(...$parameters);
    }
 
    /**
     * Dynamically handle calls to the class.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        if (! static::hasMacro($method)) {
            throw new BadMethodCallException(sprintf(
                'Method %s::%s does not exist.', static::class, $method
            ));
        }
 
        $macro = static::$macros[$method];
 
        if ($macro instanceof Closure) {
            $macro = $macro->bindTo($this, static::class);
        }
 
        return $macro(...$parameters);
    }
}
 
Arguments
  1. "Method Roots\Acorn\Application::newsletterFields does not exist. (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php)"
    
Exception message: Method Roots\Acorn\Application::newsletterFields does not exist. (View: /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php)
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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();
        }
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/macroable/Traits/Macroable.php
        if ($macro instanceof Closure) {
            $macro = $macro->bindTo(null, static::class);
        }
 
        return $macro(...$parameters);
    }
 
    /**
     * Dynamically handle calls to the class.
     *
     * @param  string  $method
     * @param  array  $parameters
     * @return mixed
     *
     * @throws \BadMethodCallException
     */
    public function __call($method, $parameters)
    {
        if (! static::hasMacro($method)) {
            throw new BadMethodCallException(sprintf(
                'Method %s::%s does not exist.', static::class, $method
            ));
        }
 
        $macro = static::$macros[$method];
 
        if ($macro instanceof Closure) {
            $macro = $macro->bindTo($this, static::class);
        }
 
        return $macro(...$parameters);
    }
}
 
Arguments
  1. "Method Roots\Acorn\Application::newsletterFields does not exist."
    
Exception message: Method Roots\Acorn\Application::newsletterFields does not exist.
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/support/Facades/Facade.php
    }
 
    /**
     * Handle dynamic, static calls to the object.
     *
     * @param  string  $method
     * @param  array  $args
     * @return mixed
     *
     * @throws \RuntimeException
     */
    public static function __callStatic($method, $args)
    {
        $instance = static::getFacadeRoot();
 
        if (! $instance) {
            throw new RuntimeException('A facade root has not been set.');
        }
 
        return $instance->$method(...$args);
    }
}
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/24289142ef8e35c9ca630af404ca32af.php
<?php $data = App::newsletterFields() ?>
<article <?php post_class() ?>>
  <header>
    <?php if(has_post_thumbnail()): ?>
    <div class="image" style="background-image: url('<?php echo e($featuredImage); ?>');"></div>
    <?php endif; ?>
    <p class="c(new-teal)"><?php echo e($data->date); ?></p>
  </header>
  <div class="entry-content">
    <div class="file">
      <a href="<?php echo e($data->file); ?>"><i class="fas fa-file-pdf c(new-teal)"></i>&nbsp;<span class="c(charcoal)">View/Download File</span></a>
    </div>
    <div class="file-type">
      <p class="c(charcoal)">File type: <?php echo e($data->type); ?></p>
    </div>
    <?php the_content() ?>
  </div>
  <footer>
    <?php echo wp_link_pages(['echo' => 0, 'before' => '<nav class="page-nav"><p>' . __('Pages:', 'sage'), 'after' => '</p></nav>']); ?>
 
  </footer>
</article><?php /**PATH /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/partials/content-single-newsletter.blade.php ENDPATH**/ ?>
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/24289142ef8e35c9ca630af404ca32af.php"
    
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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();
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/CompilerEngine.php
     *
     * @throws \Illuminate\View\ViewException
     */
    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 (! isset($this->compiledOrNotExpired[$path]) && $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.
 
        try {
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        } catch (ViewException $e) {
            if (! Str::of($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
                throw $e;
            }
 
            if (! isset($this->compiledOrNotExpired[$path])) {
                throw $e;
            }
 
            $this->compiler->compile($path);
 
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        }
 
        $this->compiledOrNotExpired[$path] = true;
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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 section gets 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;
    }
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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 number 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 section gets 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());
    }
 
    /**
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php
     *
     * @return string
     */
    protected function allFragments()
    {
        return (new Collection($this->render(fn () => $this->factory->getFragments())))->implode('');
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(?callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/3baa4e2a7845d7722ca4e3d13b824c38.php
<?php $__env->startSection('content'); ?>
<?php echo $__env->make('partials.page-header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
  <?php while(have_posts()): ?> <?php (the_post()); ?>
    <?php echo $__env->first(['partials.content-single-' . get_post_type(), 'partials.content-single'], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
  <?php endwhile; ?>
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/resources/views/single.blade.php ENDPATH**/ ?>
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php
 
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
Arguments
  1. "/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/cache/acorn/framework/views/3baa4e2a7845d7722ca4e3d13b824c38.php"
    
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/filesystem/Filesystem.php
    /**
     * Get the returned value of a file.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function getRequire($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
 
                return require $__path;
            })();
        }
 
        throw new FileNotFoundException("File does not exist at path {$path}.");
    }
 
    /**
     * Require the given file once.
     *
     * @param  string  $path
     * @param  array  $data
     * @return mixed
     *
     * @throws \Illuminate\Contracts\Filesystem\FileNotFoundException
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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();
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/Engines/CompilerEngine.php
     *
     * @throws \Illuminate\View\ViewException
     */
    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 (! isset($this->compiledOrNotExpired[$path]) && $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.
 
        try {
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        } catch (ViewException $e) {
            if (! Str::of($e->getMessage())->contains(['No such file or directory', 'File does not exist at path'])) {
                throw $e;
            }
 
            if (! isset($this->compiledOrNotExpired[$path])) {
                throw $e;
            }
 
            $this->compiler->compile($path);
 
            $results = $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
        }
 
        $this->compiledOrNotExpired[$path] = true;
 
        array_pop($this->lastCompiled);
 
        return $results;
    }
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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 section gets 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;
    }
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/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 number 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 section gets 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());
    }
 
    /**
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/vendor/illuminate/view/View.php
     *
     * @return string
     */
    protected function allFragments()
    {
        return (new Collection($this->render(fn () => $this->factory->getFragments())))->implode('');
    }
 
    /**
     * Get the string contents of the view.
     *
     * @param  callable|null  $callback
     * @return string
     *
     * @throws \Throwable
     */
    public function render(?callable $callback = null)
    {
        try {
            $contents = $this->renderContents();
 
            $response = isset($callback) ? $callback($this, $contents) : null;
 
            // Once we have the contents of the view, we will flush the sections if we are
            // done rendering all views so that there is nothing left hanging over when
            // another view gets rendered in the future by the application developer.
            $this->factory->flushStateIfDoneRendering();
 
            return ! is_null($response) ? $response : $contents;
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/index.php
<?php
 
echo view(app('sage.view'), app('sage.data'))->render();
 
/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-includes/template-loader.php
        $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 );
    $is_stringy = is_string( $template ) || ( is_object( $template ) && method_exists( $template, '__toString' ) );
    $template   = $is_stringy ? realpath( (string) $template ) : null;
    if (
        is_string( $template ) &&
        ( str_ends_with( $template, '.php' ) || str_ends_with( $template, '.html' ) ) &&
        is_file( $template ) &&
        is_readable( $template )
    ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-content/themes/mhc25/index.php"
    
/var/www/vhosts/metropolitanhousing.org/httpdocs/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. "/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-includes/template-loader.php"
    
/var/www/vhosts/metropolitanhousing.org/httpdocs/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. "/var/www/vhosts/metropolitanhousing.org/httpdocs/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/newsletter/08-august-2019/"
USER
"stoic-bouman_n2k41ojzvz"
HOME
"/var/www/vhosts/metropolitanhousing.org"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/newsletter/08-august-2019/"
REMOTE_PORT
"47556"
SCRIPT_FILENAME
"/var/www/vhosts/metropolitanhousing.org/httpdocs/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/metropolitanhousing.org/httpdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/vhosts/metropolitanhousing.org/httpdocs"
REMOTE_ADDR
"216.73.216.128"
SERVER_PORT
"443"
SERVER_ADDR
"157.245.175.33"
SERVER_NAME
"metropolitanhousing.org"
SERVER_SIGNATURE
"<address>Apache Server at metropolitanhousing.org Port 443</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/snap/bin"
HTTP_REFERER
"https://metropolitanhousing.org/?p=318"
HTTP_ACCEPT_ENCODING
"gzip, br, zstd, deflate"
HTTP_USER_AGENT
"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)"
HTTP_ACCEPT
"*/*"
HTTP_CONNECTION
"close"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"216.73.216.128"
HTTP_HOST
"metropolitanhousing.org"
proxy-nokeepalive
"1"
SSL_TLS_SNI
"metropolitanhousing.org"
HTTPS
"on"
HTTP_AUTHORIZATION
""
UNIQUE_ID
"abkcPcSBRf1WObHGOhpn1QAAABg"
REDIRECT_STATUS
"200"
REDIRECT_SSL_TLS_SNI
"metropolitanhousing.org"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_UNIQUE_ID
"abkcPcSBRf1WObHGOhpn1QAAABg"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1773739069.8486
REQUEST_TIME
1773739069
empty
0. Whoops\Handler\PrettyPageHandler