Whoops! There was an error.
ErrorException (E_ERROR)
Undefined constant "ASC" (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php) (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php)
Previous exceptions
  • Undefined constant "ASC" (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php) (0)
  • Undefined constant "ASC" (0)
ErrorException thrown with message "Undefined constant "ASC" (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php) (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php)" Stacktrace: #18 ErrorException in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/storage/framework/views/40fbcba7c67ba79c425be7a4900ea00e1e183fd2.php:10 #17 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/Engines/PhpEngine.php:43 #16 Illuminate\View\Engines\CompilerEngine:handleViewException in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/Engines/PhpEngine.php:43 #15 Error in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/storage/framework/views/40fbcba7c67ba79c425be7a4900ea00e1e183fd2.php:10 #14 include in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/Engines/PhpEngine.php:41 #13 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/Engines/CompilerEngine.php:57 #12 Illuminate\View\Engines\CompilerEngine:get in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php:139 #11 Illuminate\View\View:getContents in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php:122 #10 Illuminate\View\View:renderContents in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php:91 #9 Illuminate\View\View:render in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/storage/framework/views/25bf44c4ed0a4a9112f325ce50033f8402c23a65.php:12 #8 include in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/Engines/PhpEngine.php:41 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/Engines/CompilerEngine.php:57 #6 Illuminate\View\Engines\CompilerEngine:get in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/index.php:15 #2 include in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-includes/template-loader.php:106 #1 require_once in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-blog-header.php:19 #0 require in /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/index.php:6
18
ErrorException
/storage/framework/views/40fbcba7c67ba79c425be7a4900ea00e1e183fd2.php10
17
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php43
16
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php43
15
Error
/storage/framework/views/40fbcba7c67ba79c425be7a4900ea00e1e183fd2.php10
14
include
/vendor/illuminate/view/Engines/PhpEngine.php41
13
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php57
12
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
11
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
10
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
9
Illuminate\View\View render
/storage/framework/views/25bf44c4ed0a4a9112f325ce50033f8402c23a65.php12
8
include
/vendor/illuminate/view/Engines/PhpEngine.php41
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php57
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.php15
2
include
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-includes/template-loader.php106
1
require_once
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-blog-header.php19
0
require
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/index.php6
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/storage/framework/views/40fbcba7c67ba79c425be7a4900ea00e1e183fd2.php
<section class="block card-listing helpforyou">
    <div class="block-wrapper">
        <div class="block-grid-wrapper">
            <div class="block-grid">
                <?php global $query; ?><?php $query = new WP_Query([
                    'post_type' => 'page',
                    'post_status' => 'publish',
                    'post_parent' => url_to_postid('help-for-you'),
                    'orderby' => 'menu_order',
                    'order' => ASC
                ]); ?>
 
                <?php if (empty($query)) : ?><?php global $wp_query; ?><?php $query = $wp_query; ?><?php endif; ?><?php if ($query->have_posts()) : ?><?php while ($query->have_posts()) : $query->the_post(); ?>
                    <?php $id = get_the_ID(); ?>
                    <?php $short_description = get_field('short_description', $id); ?>
                    <?php $card_style = get_field('card_style', $id); ?>
                    <div class="grid-item <?php echo e($card_style ?? ''); ?>">
                        <?php if($card_style == 'image'): ?>
                            
                            <div class="grid-item-background" style="background-image: url('<?= get_the_post_thumbnail_url(get_the_ID(), 'medium_large'); ?>')"></div>
                        <?php endif; ?>
                        <div class="grid-item-content">
                            <h3 class="grid-item-title"><a href="<?= get_permalink(); ?>"><?= get_the_title(); ?></a></h3>
                            <div class="entry_content">
                                <?php if($short_description): ?>
                                    <?php echo $short_description; ?>
 
                                <?php else: ?>
                                    <?php the_excerpt(); ?>
                                <?php endif; ?>
                                <a href="<?= get_permalink(); ?>" class="readmore">Find out more</a>
                            </div>
                        </div>
                    </div>
                <?php endwhile; wp_reset_postdata(); endif; ?>
            </div>
 
            <div class="grid-footer">
                <h3>Not sure where to start?</h3>
                <p>Get in touch with us and we can assess your requirements and get you the help you need.</p>
Arguments
  1. "Undefined constant "ASC" (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php) (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php)"
    
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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 (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
        }
 
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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 (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();
        }
 
Exception message: Undefined constant "ASC" (View: /home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/resources/views/pageblocks/helpforyou-listing.blade.php)
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/storage/framework/views/40fbcba7c67ba79c425be7a4900ea00e1e183fd2.php
<section class="block card-listing helpforyou">
    <div class="block-wrapper">
        <div class="block-grid-wrapper">
            <div class="block-grid">
                <?php global $query; ?><?php $query = new WP_Query([
                    'post_type' => 'page',
                    'post_status' => 'publish',
                    'post_parent' => url_to_postid('help-for-you'),
                    'orderby' => 'menu_order',
                    'order' => ASC
                ]); ?>
 
                <?php if (empty($query)) : ?><?php global $wp_query; ?><?php $query = $wp_query; ?><?php endif; ?><?php if ($query->have_posts()) : ?><?php while ($query->have_posts()) : $query->the_post(); ?>
                    <?php $id = get_the_ID(); ?>
                    <?php $short_description = get_field('short_description', $id); ?>
                    <?php $card_style = get_field('card_style', $id); ?>
                    <div class="grid-item <?php echo e($card_style ?? ''); ?>">
                        <?php if($card_style == 'image'): ?>
                            
                            <div class="grid-item-background" style="background-image: url('<?= get_the_post_thumbnail_url(get_the_ID(), 'medium_large'); ?>')"></div>
                        <?php endif; ?>
                        <div class="grid-item-content">
                            <h3 class="grid-item-title"><a href="<?= get_permalink(); ?>"><?= get_the_title(); ?></a></h3>
                            <div class="entry_content">
                                <?php if($short_description): ?>
                                    <?php echo $short_description; ?>
 
                                <?php else: ?>
                                    <?php the_excerpt(); ?>
                                <?php endif; ?>
                                <a href="<?= get_permalink(); ?>" class="readmore">Find out more</a>
                            </div>
                        </div>
                    </div>
                <?php endwhile; wp_reset_postdata(); endif; ?>
            </div>
 
            <div class="grid-footer">
                <h3>Not sure where to start?</h3>
                <p>Get in touch with us and we can assess your requirements and get you the help you need.</p>
Arguments
  1. "Undefined constant "ASC""
    
Exception message: Undefined constant "ASC"
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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 (Throwable $e) {
            $this->handleViewException($e, $obLevel);
        }
 
        return ltrim(ob_get_clean());
    }
 
    /**
     * Handle a view exception.
     *
     * @param  \Throwable  $e
     * @param  int  $obLevel
     * @return void
     *
     * @throws \Throwable
     */
    protected function handleViewException(Throwable $e, $obLevel)
    {
        while (ob_get_level() > $obLevel) {
            ob_end_clean();
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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);
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/storage/framework/views/25bf44c4ed0a4a9112f325ce50033f8402c23a65.php
<?php
    global $wp;
    $current_slug = $wp->request;
?>
 
 
 
<?php $__env->startSection('content'); ?>
    <?php switch($current_slug):
        case ('help-for-you'): ?>
            <?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo $__env->make('pageblocks.helpforyou-listing', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php break; ?>
        <?php case ('help-for-you/the-seafit-programme'): ?>
            <?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            
            <?php echo $__env->make('pageblocks/also-helpforyou', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php break; ?>
        <?php case ('help-for-you/fast-track-physiotherapy'): ?>
            <?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            
            <?php echo $__env->make('pageblocks/also-helpforyou', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php break; ?>
        <?php case ('help-for-you/grants-to-seafarers'): ?>
            <?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            
            <?php echo $__env->make('pageblocks/also-helpforyou', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php break; ?>
        <?php case ('help-for-you/mental-health-and-wellbeing'): ?>
            <?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo $__env->make('pageblocks/helpforyou-mentalhealthcontent', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php echo $__env->make('pageblocks/also-helpforyou', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php break; ?>
        <?php case ('help-for-you/dreadnought-special-medical-facility-for-seafarers'): ?>
            <?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            
            <?php echo $__env->make('pageblocks/also-helpforyou', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
            <?php break; ?>
        <?php case ('help-for-you/coronavirus'): ?>
            <?php echo $__env->make('partials.content-page', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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 (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. "/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/storage/framework/views/25bf44c4ed0a4a9112f325ce50033f8402c23a65.php"
    
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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);
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
     * Get the data bound to the view instance.
     *
     * @return array
     */
    public function gatherData()
    {
        $data = array_merge($this->factory->getShared(), $this->data);
 
        foreach ($data as $key => $value) {
            if ($value instanceof Renderable) {
                $data[$key] = $value->render();
            }
        }
 
        return $data;
    }
 
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/vendor/illuminate/view/View.php
 
            throw $e;
        }
    }
 
    /**
     * Get the contents of the view instance.
     *
     * @return string
     */
    protected function renderContents()
    {
        // We will keep track of the amount of views being rendered so we can flush
        // the section after the complete rendering operation is done. This will
        // clear out the sections for any separate views that may be rendered.
        $this->factory->incrementRender();
 
        $this->factory->callComposer($this);
 
        $contents = $this->getContents();
 
        // Once we've finished rendering the view, we'll decrement the render count
        // so that each sections get flushed out next time a view is created and
        // no old sections are staying around in the memory of an environment.
        $this->factory->decrementRender();
 
        return $contents;
    }
 
    /**
     * Get the evaluated contents of the view.
     *
     * @return string
     */
    protected function getContents()
    {
        return $this->engine->get($this->path, $this->gatherData());
    }
 
    /**
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/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
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/index.php
<!doctype html>
<html <?php language_attributes(); ?>>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="x-ua-compatible" content="ie=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <?php wp_head(); ?>
  </head>
 
  <body <?php body_class(); ?>>
    <?php wp_body_open(); ?>
    <?php do_action('get_header'); ?>
 
    <div id="app">
      <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
    </div>
 
    <?php do_action('get_footer'); ?>
    <?php wp_footer(); ?>
  </body>
</html>
 
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/app/themes/seahospital2021/index.php"
    
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-includes/template-loader.php"
    
/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/index.php
<?php
/**
 * WordPress View Bootstrapper
 */
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
 
Arguments
  1. "/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/wp/wp-blog-header.php"
    

Environment & details:

Key Value
query_vars
array:2 [
  "page" => ""
  "pagename" => "help-for-you"
]
query_string
"pagename=help-for-you"
request
"help-for-you"
matched_rule
"(.?.+?)(?:/([0-9]+))?/?$"
matched_query
"pagename=help-for-you&page="
did_permalink
true
Key Value
query
array:2 [
  "page" => ""
  "pagename" => "help-for-you"
]
query_vars
array:64 [
  "page" => 0
  "pagename" => "help-for-you"
  "error" => ""
  "m" => ""
  "p" => 0
  "post_parent" => ""
  "subpost" => ""
  "subpost_id" => ""
  "attachment" => ""
  "attachment_id" => 0
  "name" => "help-for-you"
  "page_id" => 0
  "second" => ""
  "minute" => ""
  "hour" => ""
  "day" => 0
  "monthnum" => 0
  "year" => 0
  "w" => 0
  "category_name" => ""
  "tag" => ""
  "cat" => ""
  "tag_id" => ""
  "author" => ""
  "author_name" => ""
  "feed" => ""
  "tb" => ""
  "paged" => 0
  "meta_key" => ""
  "meta_value" => ""
  "preview" => ""
  "s" => ""
  "sentence" => ""
  "title" => ""
  "fields" => ""
  "menu_order" => ""
  "embed" => ""
  "category__in" => []
  "category__not_in" => []
  "category__and" => []
  "post__in" => []
  "post__not_in" => []
  "post_name__in" => []
  "tag__in" => []
  "tag__not_in" => []
  "tag__and" => []
  "tag_slug__in" => []
  "tag_slug__and" => []
  "post_parent__in" => []
  "post_parent__not_in" => []
  "author__in" => []
  "author__not_in" => []
  "ignore_sticky_posts" => false
  "suppress_filters" => false
  "cache_results" => true
  "update_post_term_cache" => true
  "lazy_load_term_meta" => true
  "update_post_meta_cache" => true
  "post_type" => ""
  "posts_per_page" => 10
  "nopaging" => false
  "comments_per_page" => "50"
  "no_found_rows" => false
  "order" => "DESC"
]
meta_query
WP_Meta_Query {#1940}
queried_object
WP_Post {#1943}
queried_object_id
131
request
"SELECT   wp_posts.* FROM wp_posts  WHERE 1=1  AND (wp_posts.ID = '131') AND wp_posts.post_type = 'page'  ORDER BY wp_posts.post_date DESC "
post_count
1
current_post
-1
current_comment
-1
found_posts
1
is_page
true
is_singular
true
Key Value
ID
131
post_author
"1"
post_date
"2020-12-02 17:58:26"
post_date_gmt
"2020-12-02 17:58:26"
post_content
"""
<!-- wp:acf/pageheader {\n
    "id": "block_5fc891b3dbd2b",\n
    "name": "acf\/pageheader",\n
    "data": {\n
        "block_title": "We can support you in a number of ways",\n
        "_block_title": "field_5fc8916d7f6cc",\n
        "block_content": "Seafarers Hospital Society is an established charity dedicated to meeting health, welfare and advice needs of seafarers. We provide health and welfare grants and a number of other services exclusively for seafarers. If you are, or have been a merchant seafarer or a fisher, we're here to help you and the people who depend on you. We also provide advice and support to Royal Navy and Royal Marine personnel through SAIL",\n
        "_block_content": "field_5fc8917a7f6cd",\n
        "block_button_button_link": "",\n
        "_block_button_button_link": "field_5fca55da01d10",\n
        "block_button_button_text": "",\n
        "_block_button_button_text": "field_5fca55ed01d11",\n
        "block_button": "",\n
        "_block_button": "field_5fca55cc01d0f"\n
    },\n
    "mode": "auto"\n
} /-->\n
\n
<!-- wp:acf/innumbers {\n
    "id": "block_620f88aa9229e",\n
    "name": "acf\/innumbers",\n
    "data": {\n
        "statistics_0_icon": "heart-hand",\n
        "_statistics_0_icon": "field_604b7ac6719da",\n
        "statistics_0_figure": "5,000",\n
        "_statistics_0_figure": "field_604b7aee719db",\n
        "statistics_0_text": "Number of people assisted",\n
        "_statistics_0_text": "field_604b7af8719dc",\n
        "statistics_1_icon": "helping-hand",\n
        "_statistics_1_icon": "field_604b7ac6719da",\n
        "statistics_1_figure": "365",\n
        "_statistics_1_figure": "field_604b7aee719db",\n
        "statistics_1_text": "Number of grants awarded",\n
        "_statistics_1_text": "field_604b7af8719dc",\n
        "statistics_2_icon": "physiotherapy",\n
        "_statistics_2_icon": "field_604b7ac6719da",\n
        "statistics_2_figure": "595",\n
        "_statistics_2_figure": "field_604b7aee719db",\n
        "statistics_2_text": "Number of physiotherapy sessions provided",\n
        "_statistics_2_text": "field_604b7af8719dc",\n
        "statistics": 3,\n
        "_statistics": "field_604b7ab6719d9",\n
        "block_title": "Our work with seafarers in 2021",\n
        "_block_title": "field_604b7c6081b24",\n
        "block_button": "",\n
        "_block_button": "field_604b7c9e81b25"\n
    },\n
    "align": "",\n
    "mode": "edit"\n
} /-->
"""
post_title
"Help for you"
post_excerpt
""
post_status
"publish"
comment_status
"closed"
ping_status
"closed"
post_password
""
post_name
"help-for-you"
to_ping
""
pinged
""
post_modified
"2022-02-18 12:00:42"
post_modified_gmt
"2022-02-18 12:00:42"
post_content_filtered
""
post_parent
0
guid
"https://seahospital.test/?page_id=131"
menu_order
0
post_type
"page"
post_mime_type
""
comment_count
"0"
filter
"raw"
empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.62 (Debian)"
REQUEST_URI
"/help-for-you/"
WP_REDIS_DISABLED
"0"
USER
"rukqbzhafd"
HOME
"/home/541131.cloudwaysapps.com/rukqbzhafd"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/help-for-you/"
REMOTE_PORT
"58596"
SCRIPT_FILENAME
"/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/web/"
REMOTE_ADDR
"18.97.14.91"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"phpstack-541131-2702633.cloudwaysapps.com"
SERVER_SIGNATURE
"<address>Apache/2.4.62 (Debian) Server at phpstack-541131-2702633.cloudwaysapps.com Port 80</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
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_VERSION
"54"
HTTP_X_APP_USER
"rukqbzhafd"
HTTP_X_APPLICATION
"phpstack"
HTTP_X_FORWARDED_HOST
"phpstack-541131-2702633.cloudwaysapps.com"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"phpstack-541131-2702633.cloudwaysapps.com"
HTTP_X_FORWARDED_FOR
"18.97.14.91"
HTTP_X_REAL_IP
"18.97.14.91"
IMUNIFY360_WEAKPASS_REDIRECT_URL
"appsecurity.cloudwaysapps.com/"
IMUNIFY360_COMPROMISED_REDIRECT_URL
"appsecurity.cloudwaysapps.com/"
SCRIPT_URI
"http://phpstack-541131-2702633.cloudwaysapps.com/help-for-you/"
SCRIPT_URL
"/help-for-you/"
HTTP_AUTHORIZATION
""
HTTPS
"on"
cw_allowed_ip
"0"
UNIQUE_ID
"aWu6I9pertArqyAwtFWqxwAABrA"
REDIRECT_STATUS
"200"
REDIRECT_IMUNIFY360_WEAKPASS_REDIRECT_URL
"appsecurity.cloudwaysapps.com/"
REDIRECT_IMUNIFY360_COMPROMISED_REDIRECT_URL
"appsecurity.cloudwaysapps.com/"
REDIRECT_SCRIPT_URI
"http://phpstack-541131-2702633.cloudwaysapps.com/help-for-you/"
REDIRECT_SCRIPT_URL
"/help-for-you/"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_cw_allowed_ip
"0"
REDIRECT_UNIQUE_ID
"aWu6I9pertArqyAwtFWqxwAABrA"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1768667683.0929
REQUEST_TIME
1768667683
DB_NAME
"rukqbzhafd"
DB_USER
"**********"
DB_PASSWORD
"**********"
WP_ENV
"development"
WP_HOME
"https://phpstack-541131-2702633.cloudwaysapps.com"
WP_SITEURL
"https://phpstack-541131-2702633.cloudwaysapps.com/wp"
WP_DEBUG_LOG
"/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/debug.log"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
Key Value
DB_NAME
"rukqbzhafd"
DB_USER
"**********"
DB_PASSWORD
"**********"
WP_ENV
"development"
WP_HOME
"https://phpstack-541131-2702633.cloudwaysapps.com"
WP_SITEURL
"https://phpstack-541131-2702633.cloudwaysapps.com/wp"
WP_DEBUG_LOG
"/home/541131.cloudwaysapps.com/rukqbzhafd/public_html/debug.log"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
0. Roots\Acorn\Exceptions\Handler\PrettyPageHandler