Whoops! There was an error.
ErrorException (E_WARNING)
Attempt to read property "ID" on null ErrorException thrown with message "Attempt to read property "ID" on null" Stacktrace: #15 ErrorException in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/app/View/Composers/App.php:43 #14 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/app/View/Composers/App.php:43 #13 App\View\Composers\App:imageFeatured in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/app/View/Composers/App.php:26 #12 App\View\Composers\App:with in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php:70 #11 Roots\Acorn\View\Composer:merge in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php:59 #10 Roots\Acorn\View\Composer:compose in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/Concerns/ManagesEvents.php:124 #9 Illuminate\View\Factory:Illuminate\View\Concerns\{closure} in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/Concerns/ManagesEvents.php:162 #8 Illuminate\View\Factory:Illuminate\View\Concerns\{closure} in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/events/Dispatcher.php:389 #7 Illuminate\Events\Dispatcher:Illuminate\Events\{closure} in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/events/Dispatcher.php:237 #6 Illuminate\Events\Dispatcher:dispatch in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/Concerns/ManagesEvents.php:177 #5 Illuminate\View\Factory:callComposer in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/View.php:120 #4 Illuminate\View\View:renderContents in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/index.php:23 #2 include in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-includes/template-loader.php:106 #1 require_once in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-blog-header.php:19 #0 require in /home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/index.php:17
15
ErrorException
/app/View/Composers/App.php43
14
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/app/View/Composers/App.php43
13
App\View\Composers\App imageFeatured
/app/View/Composers/App.php26
12
App\View\Composers\App with
/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php70
11
Roots\Acorn\View\Composer merge
/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php59
10
Roots\Acorn\View\Composer compose
/vendor/illuminate/view/Concerns/ManagesEvents.php124
9
Illuminate\View\Factory Illuminate\View\Concerns\{closure}
/vendor/illuminate/view/Concerns/ManagesEvents.php162
8
Illuminate\View\Factory Illuminate\View\Concerns\{closure}
/vendor/illuminate/events/Dispatcher.php389
7
Illuminate\Events\Dispatcher Illuminate\Events\{closure}
/vendor/illuminate/events/Dispatcher.php237
6
Illuminate\Events\Dispatcher dispatch
/vendor/illuminate/view/Concerns/ManagesEvents.php177
5
Illuminate\View\Factory callComposer
/vendor/illuminate/view/View.php120
4
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
3
Illuminate\View\View render
/index.php23
2
include
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-includes/template-loader.php106
1
require_once
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-blog-header.php19
0
require
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/index.php17
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/app/View/Composers/App.php
        return [
            "siteName" => $this->siteName(),
            "imageFeatured" => $this->imageFeatured(),
            "storiesPage" => site_url() . "/our-stories",
        ];
    }
 
    public function imageFeatured()
    {
        if (is_404()) {
            return __("Not Found", "sage");
        }
 
        if (is_search()) {
            /* translators: %s is replaced with the search query */
            return asset("images/event-header.jpg")->uri();
        }
 
        global $post;
        $image = get_the_post_thumbnail_url($post->ID)
            ? get_the_post_thumbnail_url($post->ID, "original")
            : null;
        if ($image == null) {
            $image = asset("images/event-header.jpg")->uri();
        }
        return $image;
    }
    /**
     * Returns the site name.
     *
     * @return string
     */
    public function siteName()
    {
        return get_bloginfo("name", "display");
    }
}
 
Arguments
  1. "Attempt to read property "ID" on null"
    
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/app/View/Composers/App.php
        return [
            "siteName" => $this->siteName(),
            "imageFeatured" => $this->imageFeatured(),
            "storiesPage" => site_url() . "/our-stories",
        ];
    }
 
    public function imageFeatured()
    {
        if (is_404()) {
            return __("Not Found", "sage");
        }
 
        if (is_search()) {
            /* translators: %s is replaced with the search query */
            return asset("images/event-header.jpg")->uri();
        }
 
        global $post;
        $image = get_the_post_thumbnail_url($post->ID)
            ? get_the_post_thumbnail_url($post->ID, "original")
            : null;
        if ($image == null) {
            $image = asset("images/event-header.jpg")->uri();
        }
        return $image;
    }
    /**
     * Returns the site name.
     *
     * @return string
     */
    public function siteName()
    {
        return get_bloginfo("name", "display");
    }
}
 
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/app/View/Composers/App.php
 
class App extends Composer
{
    /**
     * List of views served by this composer.
     *
     * @var array
     */
    protected static $views = ["*"];
 
    /**
     * Data to be passed to view before rendering.
     *
     * @return array
     */
    public function with()
    {
        return [
            "siteName" => $this->siteName(),
            "imageFeatured" => $this->imageFeatured(),
            "storiesPage" => site_url() . "/our-stories",
        ];
    }
 
    public function imageFeatured()
    {
        if (is_404()) {
            return __("Not Found", "sage");
        }
 
        if (is_search()) {
            /* translators: %s is replaced with the search query */
            return asset("images/event-header.jpg")->uri();
        }
 
        global $post;
        $image = get_the_post_thumbnail_url($post->ID)
            ? get_the_post_thumbnail_url($post->ID, "original")
            : null;
        if ($image == null) {
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
     * @param  View $view
     * @return void
     */
    public function compose(View $view)
    {
        $this->view = $view;
        $this->data = new Fluent($view->getData());
 
        $view->with($this->merge());
    }
 
    /**
     * Data to be merged and passed to the view before rendering.
     *
     * @return array
     */
    protected function merge()
    {
        return array_merge(
            $this->with(),
            $this->view->getData(),
            $this->override()
        );
    }
 
    /**
     * Data to be passed to view before rendering
     *
     * @return array
     */
    protected function with()
    {
        return [];
    }
 
    /**
     * Data to be passed to view before rendering
     *
     * @return array
     */
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/roots/acorn/src/Roots/Acorn/View/Composer.php
            return static::$views;
        }
 
        $view = array_slice(explode('\\', static::class), 3);
        $view = array_map([Str::class, 'snake'], $view, array_fill(0, count($view), '-'));
        return implode('/', $view);
    }
 
    /**
     * Compose the view before rendering.
     *
     * @param  View $view
     * @return void
     */
    public function compose(View $view)
    {
        $this->view = $view;
        $this->data = new Fluent($view->getData());
 
        $view->with($this->merge());
    }
 
    /**
     * Data to be merged and passed to the view before rendering.
     *
     * @return array
     */
    protected function merge()
    {
        return array_merge(
            $this->with(),
            $this->view->getData(),
            $this->override()
        );
    }
 
    /**
     * Data to be passed to view before rendering
     *
     * @return array
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/Concerns/ManagesEvents.php
 
        return $callback;
    }
 
    /**
     * Build a class based container callback Closure.
     *
     * @param  string  $class
     * @param  string  $prefix
     * @return \Closure
     */
    protected function buildClassEventCallback($class, $prefix)
    {
        [$class, $method] = $this->parseClassEvent($class, $prefix);
 
        // Once we have the class and method name, we can build the Closure to resolve
        // the instance out of the IoC container and call the method on it with the
        // given arguments that are passed to the Closure as the composer's data.
        return function () use ($class, $method) {
            return $this->container->make($class)->{$method}(...func_get_args());
        };
    }
 
    /**
     * Parse a class based composer name.
     *
     * @param  string  $class
     * @param  string  $prefix
     * @return array
     */
    protected function parseClassEvent($class, $prefix)
    {
        return Str::parseCallback($class, $this->classEventMethodForPrefix($prefix));
    }
 
    /**
     * Determine the class event method based on the given prefix.
     *
     * @param  string  $prefix
     * @return string
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/Concerns/ManagesEvents.php
     * @param  string  $prefix
     * @return string
     */
    protected function classEventMethodForPrefix($prefix)
    {
        return Str::contains($prefix, 'composing') ? 'compose' : 'create';
    }
 
    /**
     * Add a listener to the event dispatcher.
     *
     * @param  string  $name
     * @param  \Closure  $callback
     * @return void
     */
    protected function addEventListener($name, $callback)
    {
        if (Str::contains($name, '*')) {
            $callback = function ($name, array $data) use ($callback) {
                return $callback($data[0]);
            };
        }
 
        $this->events->listen($name, $callback);
    }
 
    /**
     * Call the composer for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callComposer(ViewContract $view)
    {
        $this->events->dispatch('composing: '.$view->name(), [$view]);
    }
 
    /**
     * Call the creator for a given view.
     *
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/events/Dispatcher.php
    /**
     * Register an event listener with the dispatcher.
     *
     * @param  \Closure|string  $listener
     * @param  bool  $wildcard
     * @return \Closure
     */
    public function makeListener($listener, $wildcard = false)
    {
        if (is_string($listener)) {
            return $this->createClassListener($listener, $wildcard);
        }
 
        if (is_array($listener) && isset($listener[0]) && is_string($listener[0])) {
            return $this->createClassListener($listener, $wildcard);
        }
 
        return function ($event, $payload) use ($listener, $wildcard) {
            if ($wildcard) {
                return $listener($event, $payload);
            }
 
            return $listener(...array_values($payload));
        };
    }
 
    /**
     * Create a class based listener using the IoC container.
     *
     * @param  string  $listener
     * @param  bool  $wildcard
     * @return \Closure
     */
    public function createClassListener($listener, $wildcard = false)
    {
        return function ($event, $payload) use ($listener, $wildcard) {
            if ($wildcard) {
                return call_user_func($this->createClassCallable($listener), $event, $payload);
            }
 
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/events/Dispatcher.php
     * @param  bool  $halt
     * @return array|null
     */
    public function dispatch($event, $payload = [], $halt = false)
    {
        // When the given "event" is actually an object we will assume it is an event
        // object and use the class as the event name and this event itself as the
        // payload to the handler, which makes object based events quite simple.
        [$event, $payload] = $this->parseEventAndPayload(
            $event, $payload
        );
 
        if ($this->shouldBroadcast($payload)) {
            $this->broadcastEvent($payload[0]);
        }
 
        $responses = [];
 
        foreach ($this->getListeners($event) as $listener) {
            $response = $listener($event, $payload);
 
            // If a response is returned from the listener and event halting is enabled
            // we will just return this response, and not call the rest of the event
            // listeners. Otherwise we will add the response on the response list.
            if ($halt && ! is_null($response)) {
                return $response;
            }
 
            // If a boolean false is returned from a listener, we will stop propagating
            // the event to any further listeners down in the chain, else we keep on
            // looping through the listeners and firing every one in our sequence.
            if ($response === false) {
                break;
            }
 
            $responses[] = $response;
        }
 
        return $halt ? null : $responses;
    }
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/Concerns/ManagesEvents.php
    protected function addEventListener($name, $callback)
    {
        if (Str::contains($name, '*')) {
            $callback = function ($name, array $data) use ($callback) {
                return $callback($data[0]);
            };
        }
 
        $this->events->listen($name, $callback);
    }
 
    /**
     * Call the composer for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callComposer(ViewContract $view)
    {
        $this->events->dispatch('composing: '.$view->name(), [$view]);
    }
 
    /**
     * Call the creator for a given view.
     *
     * @param  \Illuminate\Contracts\View\View  $view
     * @return void
     */
    public function callCreator(ViewContract $view)
    {
        $this->events->dispatch('creating: '.$view->name(), [$view]);
    }
}
 
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/vendor/illuminate/view/View.php
        } catch (Throwable $e) {
            $this->factory->flushState();
 
            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/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/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/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/index.php
    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
    new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
    j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
    'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-M7Z77NR');</script>
    <!-- End Google Tag Manager -->
    <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(); ?>>
    <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M7Z77NR"
    height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
    <!-- End Google Tag Manager (noscript) -->
    <?php wp_body_open(); ?>
    <?php do_action('get_header'); ?>
    <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
    <?php do_action('get_footer'); ?>
    <?php wp_footer(); ?>
    <!--Disable elementors scrollTo -->
    <script>
      //Script to prevent default elementor scroll to anchor animation 
    jQuery(document).ready(function() {
      //From elementor source code        elementorFrontend.elements.$document.on( 'click', this.getSettings( 'selectors.links' ), this.handleAnchorLinks );
        elementorFrontend.elements.$document.off(
            "click",
            elementorFrontend.utils.anchors.getSettings("selectors.links"),
            elementorFrontend.utils.anchors.handleAnchorLinks
        );
        
      });
    </script>
  </body>
</html>
 
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/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/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-content/themes/changewire/index.php"
    
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/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/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-includes/template-loader.php"
    
/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/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. "/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache/2.4.62 (Debian)"
REQUEST_URI
"/tag/names/"
WP_REDIS_DISABLED
"0"
USER
"yewbkgbtgu"
HOME
"/home/414970.cloudwaysapps.com/yewbkgbtgu"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/tag/names/"
REMOTE_PORT
"41326"
SCRIPT_FILENAME
"/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"http"
DOCUMENT_ROOT
"/home/414970.cloudwaysapps.com/yewbkgbtgu/public_html/"
REMOTE_ADDR
"98.80.143.34"
SERVER_PORT
"80"
SERVER_ADDR
"127.0.0.1"
SERVER_NAME
"changewire.org"
SERVER_SIGNATURE
"<address>Apache/2.4.62 (Debian) Server at changewire.org Port 80</address>\n"
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
HTTP_CF_IPCOUNTRY
"US"
HTTP_CDN_LOOP
"cloudflare; loops=1"
HTTP_CF_CONNECTING_IP
"98.80.143.34"
HTTP_IF_MODIFIED_SINCE
"Wed, 22 May 2024 04:51:56 GMT"
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_CF_VISITOR
"{\"scheme\":\"https\"}"
HTTP_CF_RAY
"8cf5e429af72c952-EWR"
HTTP_CONNECTION
"close"
HTTP_X_VERSION
"57"
HTTP_X_APP_USER
"yewbkgbtgu"
HTTP_X_APPLICATION
"varnishpass"
HTTP_X_FORWARDED_HOST
"changewire.org"
HTTP_X_FORWARDED_PROTO
"https"
HTTP_HOST
"changewire.org"
HTTP_X_FORWARDED_FOR
"98.80.143.34"
HTTP_X_REAL_IP
"98.80.143.34"
HTTP_AUTHORIZATION
""
HTTPS
"on"
cw_allowed_ip
"0"
UNIQUE_ID
"ZwUbm3NZQ1vE55kY2HimQQAABnI"
REDIRECT_STATUS
"200"
REDIRECT_HTTP_AUTHORIZATION
""
REDIRECT_HTTPS
"on"
REDIRECT_cw_allowed_ip
"0"
REDIRECT_UNIQUE_ID
"ZwUbm3NZQ1vE55kY2HimQQAABnI"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1728387995.1725
REQUEST_TIME
1728387995
empty
0. Whoops\Handler\PrettyPageHandler