Illuminate \ View \ ViewException (E_ERROR)
Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php) (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)
Previous exceptions
  • Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php) (0)
  • Trying to access array offset on value of type bool (2)
Illuminate\View\ViewException thrown with message "Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php) (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)" Stacktrace: #25 Illuminate\View\ViewException in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php:58 #24 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/PhpEngine.php:60 #23 Illuminate\View\ViewException in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php:58 #22 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/PhpEngine.php:60 #21 Whoops\Exception\ErrorException in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php:58 #20 Whoops\Run:handleError in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php:58 #19 App\View\Composers\Event:App\View\Composers\{closure} in /var/www/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/bd639031931279e446890cd21bc091cf.php:17 #18 require in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/filesystem/Filesystem.php:123 #17 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/filesystem/Filesystem.php:124 #16 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/PhpEngine.php:58 #15 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/CompilerEngine.php:72 #14 Illuminate\View\Engines\CompilerEngine:get in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php:207 #13 Illuminate\View\View:getContents in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php:190 #12 Illuminate\View\View:renderContents in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php:159 #11 Illuminate\View\View:render in /var/www/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/59d61a39164722e74a7ba067bc933c68.php:81 #10 require in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/filesystem/Filesystem.php:123 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/filesystem/Filesystem.php:124 #8 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/Engines/CompilerEngine.php:72 #6 Illuminate\View\Engines\CompilerEngine:get in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php:207 #5 Illuminate\View\View:getContents in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php:190 #4 Illuminate\View\View:renderContents in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php:159 #3 Illuminate\View\View:render in /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/index.php:3 #2 include in /var/www/vhosts/melanoma.org/httpdocs/wp-includes/template-loader.php:106 #1 require_once in /var/www/vhosts/melanoma.org/httpdocs/wp-blog-header.php:19 #0 require in /var/www/vhosts/melanoma.org/httpdocs/index.php:17
Stack frames (26)
25
Illuminate\View\ViewException
/app/View/Composers/Event.php58
24
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
23
Illuminate\View\ViewException
/app/View/Composers/Event.php58
22
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
21
Whoops\Exception\ErrorException
/app/View/Composers/Event.php58
20
Whoops\Run handleError
/app/View/Composers/Event.php58
19
App\View\Composers\Event App\View\Composers\{closure}
/var/www/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/bd639031931279e446890cd21bc091cf.php17
18
require
/vendor/illuminate/filesystem/Filesystem.php123
17
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php124
16
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
15
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php72
14
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php207
13
Illuminate\View\View getContents
/vendor/illuminate/view/View.php190
12
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php159
11
Illuminate\View\View render
/var/www/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/59d61a39164722e74a7ba067bc933c68.php81
10
require
/vendor/illuminate/filesystem/Filesystem.php123
9
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php124
8
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php72
6
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php207
5
Illuminate\View\View getContents
/vendor/illuminate/view/View.php190
4
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php159
3
Illuminate\View\View render
/index.php3
2
include
/var/www/vhosts/melanoma.org/httpdocs/wp-includes/template-loader.php106
1
require_once
/var/www/vhosts/melanoma.org/httpdocs/wp-blog-header.php19
0
require
/var/www/vhosts/melanoma.org/httpdocs/index.php17
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
                    'orderby' => 'meta_value',
                    'meta_query' => [
                        [
                            'key' => 's_date',
                            'value' => date('Y-m-d'),
                            'compare' => '>=',
                            'meta_type' => 'DATE'
                        ]
                    ]
                ]);
 
                foreach($posts as $key => $post) {
                    $output[] = (object)[
                        'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
                        'cat' => get_the_terms($post, 'event_category')[0]->name,
                        'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
                        'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
                        'title' => get_the_title($post),
                        'excerpt' => get_the_excerpt($post),
                        'link' => get_post_permalink($post),
                        'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
                        'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
                        'dont' => \carbon_get_post_meta($post->ID, 'dont'),
                        'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
                        'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
                    ];
                }
                return $output;
            },
            'offsetUpcomingEvents' => function($num_posts, $offset) {
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
Arguments
  1. "Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php) (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)"
    
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
                    'orderby' => 'meta_value',
                    'meta_query' => [
                        [
                            'key' => 's_date',
                            'value' => date('Y-m-d'),
                            'compare' => '>=',
                            'meta_type' => 'DATE'
                        ]
                    ]
                ]);
 
                foreach($posts as $key => $post) {
                    $output[] = (object)[
                        'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
                        'cat' => get_the_terms($post, 'event_category')[0]->name,
                        'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
                        'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
                        'title' => get_the_title($post),
                        'excerpt' => get_the_excerpt($post),
                        'link' => get_post_permalink($post),
                        'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
                        'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
                        'dont' => \carbon_get_post_meta($post->ID, 'dont'),
                        'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
                        'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
                    ];
                }
                return $output;
            },
            'offsetUpcomingEvents' => function($num_posts, $offset) {
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
Arguments
  1. "Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)"
    
Exception message: Trying to access array offset on value of type bool (View: /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/blocks/events.blade.php)
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
                    'orderby' => 'meta_value',
                    'meta_query' => [
                        [
                            'key' => 's_date',
                            'value' => date('Y-m-d'),
                            'compare' => '>=',
                            'meta_type' => 'DATE'
                        ]
                    ]
                ]);
 
                foreach($posts as $key => $post) {
                    $output[] = (object)[
                        'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
                        'cat' => get_the_terms($post, 'event_category')[0]->name,
                        'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
                        'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
                        'title' => get_the_title($post),
                        'excerpt' => get_the_excerpt($post),
                        'link' => get_post_permalink($post),
                        'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
                        'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
                        'dont' => \carbon_get_post_meta($post->ID, 'dont'),
                        'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
                        'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
                    ];
                }
                return $output;
            },
            'offsetUpcomingEvents' => function($num_posts, $offset) {
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
Arguments
  1. "Trying to access array offset on value of type bool"
    
Exception message: Trying to access array offset on value of type bool
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/app/View/Composers/Event.php
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
                    'orderby' => 'meta_value',
                    'meta_query' => [
                        [
                            'key' => 's_date',
                            'value' => date('Y-m-d'),
                            'compare' => '>=',
                            'meta_type' => 'DATE'
                        ]
                    ]
                ]);
 
                foreach($posts as $key => $post) {
                    $output[] = (object)[
                        'image' => wp_get_attachment_image_url(get_post_thumbnail_id($post), 'large'),
                        'cat' => get_the_terms($post, 'event_category')[0]->name,
                        'cat_link' => get_term_link(get_the_terms($post, 'event_category')[0]->term_id, 'event_category'),
                        'icon' => \carbon_get_term_meta(get_the_terms($post, 'event_category')[0]->term_id, 'icon'),
                        'title' => get_the_title($post),
                        'excerpt' => get_the_excerpt($post),
                        'link' => get_post_permalink($post),
                        'start_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 's_date'))),
                        'end_date' => date('M d, Y', strtotime(\carbon_get_post_meta($post->ID, 'e_date'))),
                        'dont' => \carbon_get_post_meta($post->ID, 'dont'),
                        'ex_link' => \carbon_get_post_meta($post->ID, 'ex_link'),
                        'reg_url' => \carbon_get_post_meta($post->ID, 'reg_url')
                    ];
                }
                return $output;
            },
            'offsetUpcomingEvents' => function($num_posts, $offset) {
                $output = [];
                $posts = get_posts([
                    'post_type' => 'event',
                    'numberposts' => $num_posts,
                    'order' => 'ASC',
/var/www/vhosts/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/bd639031931279e446890cd21bc091cf.php
<div class="block(events)">
  <div class="container">
    <div class="top">
      <?php if(!empty($data->title)): ?>
      <h2 class="fz(62) c(teal)"><?php echo e($data->title); ?></h2>
      <?php else: ?>
      <h2 class="fz(62) c(teal)">Events &amp; Fundraisers</h2>
      <?php endif; ?>
      <div class="event-cat-filter">
        <?php $__currentLoopData = $getEventCategories; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <a href="<?php echo e($item->slug); ?>" class="teal-border cat-item"><?php echo $item->name; ?></a>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </div>
    </div>
    <div class="inner">
      <div class="lg-list">
        <?php $__currentLoopData = $upcomingEvents(2); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $key => $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="item">
          <div class="image">
            <img src="<?php echo e($item->image); ?>" alt="<?php echo e(get_post_meta($item->image,  '_wp_attachment_image_alt', true)); ?>">
          </div>
          <?php if($item->dont !== true): ?>
          <p class="fz(16) c(dark-blue) fw(500) <?php echo e($pastDate($item->start_date)); ?> dates"><?php echo e($item->start_date); ?> - <?php echo e($item->end_date); ?></p>
          <?php else: ?>
          <p class="fz(16) c(dark-blue) fw(500) <?php echo e($pastDate($item->start_date)); ?> dates"><?php echo e($item->start_date); ?></p>
          <?php endif; ?>
          <h3 class="fz(32) c(teal) fw(500)"><?php echo $item->title; ?></h3>
          <div class="copy c(dark-blue)"><?php echo $item->excerpt; ?></div>
          <div class="btns">
            <?php if(!empty($item->ex_link)): ?>
            <a href="<?php echo e($item->ex_link); ?>" class="btn">Learn More</a>
            <?php else: ?>
            <a href="<?php echo e($item->link); ?>" class="btn">Learn More</a>
            <?php endif; ?>
            <?php if(!empty($item->reg_url)): ?>
            <a href="<?php echo e($item->reg_url); ?>" class="btn">Register Now</a>
            <?php endif; ?>
          </div>
        </div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/bd639031931279e446890cd21bc091cf.php"
    
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/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 (! 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($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/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php
     *
     * @return string
     */
    protected function allFragments()
    {
        return collect($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/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/59d61a39164722e74a7ba067bc933c68.php
          <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
        </div>
      </div>
    </div>
    <div class="art-container blog-roll">
      <?php while(have_posts()): ?> <?php (the_post()); ?>
        <?php echo $__env->first(['partials.content-' . get_post_type(), 'partials.content'], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
      <?php endwhile; ?>
    </div>
    <?php if(get_previous_posts_link() || get_next_posts_link()): ?>
    <div class="posts-nav">
      <?php if(get_previous_posts_link()): ?>
      <div class="last-post"><?php echo e(previous_posts_link('View More', 0)); ?></div>
      <?php endif; ?>
      <?php if(get_next_posts_link()): ?>
      <div class="next-post"><?php echo e(next_posts_link( 'View More', 0 )); ?></div>
      <?php endif; ?>
    </div>
    <?php endif; ?>
    <?php echo $__env->make('blocks.events', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
  </div>
 
  
<?php $__env->stopSection(); ?>
 
<?php $__env->startSection('sidebar'); ?>
  <?php echo $__env->make('sections.sidebar', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
<?php $__env->stopSection(); ?>
 
<?php echo $__env->make('layouts.app', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/resources/views/index.blade.php ENDPATH**/ ?>
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/cache/acorn/framework/views/59d61a39164722e74a7ba067bc933c68.php"
    
/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/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 (! 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($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/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/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/melanoma.org/httpdocs/wp-content/themes/pegasus/vendor/illuminate/view/View.php
     *
     * @return string
     */
    protected function allFragments()
    {
        return collect($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/melanoma.org/httpdocs/wp-content/themes/pegasus/index.php
<?php
 
echo view(app('sage.view'), app('sage.data'))->render();
 
/var/www/vhosts/melanoma.org/httpdocs/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. "/var/www/vhosts/melanoma.org/httpdocs/wp-content/themes/pegasus/index.php"
    
/var/www/vhosts/melanoma.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/melanoma.org/httpdocs/wp-includes/template-loader.php"
    
/var/www/vhosts/melanoma.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/melanoma.org/httpdocs/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
Key Value
image-map-pro-shortcodes
[]
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/news-press/"
USER
"pegasus.kalerwhales._x52ay7hgkcg"
HOME
"/var/www/vhosts/melanoma.org"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/news-press/"
REMOTE_PORT
"46158"
SCRIPT_FILENAME
"/var/www/vhosts/melanoma.org/httpdocs/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/melanoma.org/httpdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/vhosts/melanoma.org/httpdocs"
REMOTE_ADDR
"3.144.252.203"
SERVER_PORT
"443"
SERVER_ADDR
"165.22.182.102"
SERVER_NAME
"melanoma.org"
SERVER_SIGNATURE
"<address>Apache Server at melanoma.org Port 443</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin"
HTTP_REFERER
"https://melanoma.org/news-press/21704"
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
"3.144.252.203"
HTTP_HOST
"melanoma.org"
proxy-nokeepalive
"1"
HTTPS
"on"
HTTP_AUTHORIZATION
""
SCRIPT_URI
"https://melanoma.org/news-press/"
SCRIPT_URL
"/news-press/"
UNIQUE_ID
"aA1HRylYzw1n4Mbkfz1StgAAAEM"
REDIRECT_STATUS
"200"
REDIRECT_HTTPS
"on"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_SCRIPT_URI
"https://melanoma.org/news-press/"
REDIRECT_SCRIPT_URL
"/news-press/"
REDIRECT_UNIQUE_ID
"aA1HRylYzw1n4Mbkfz1StgAAAEM"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1745700679.3015
REQUEST_TIME
1745700679
empty
0. Whoops\Handler\PrettyPageHandler