Whoops! There was an error.
ErrorException (E_ERROR)
Undefined array key "HTTP_USER_AGENT" (View: /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/resources/views/template-homepage.blade.php)
Previous exceptions
  • Undefined array key "HTTP_USER_AGENT" (0)
ErrorException thrown with message "Undefined array key "HTTP_USER_AGENT" (View: /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/resources/views/template-homepage.blade.php)" Stacktrace: #15 ErrorException in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php:395 #14 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/view/Engines/PhpEngine.php:60 #13 ErrorException in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php:395 #12 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php:395 #11 is_mobile in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/storage/framework/views/3e3dbff2d6ebcbe024ba55231e1decf921565e3d.php:7 #10 require in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/filesystem/Filesystem.php:107 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/filesystem/Filesystem.php:108 #8 Illuminate\Filesystem\Filesystem:getRequire in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/view/Engines/CompilerEngine.php:61 #6 Illuminate\View\Engines\CompilerEngine:get in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/index.php:14 #2 include in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-includes/template-loader.php:106 #1 require_once in /var/www/vhosts/evawealth.co.uk/httpdocs/wp-blog-header.php:19 #0 require in /var/www/vhosts/evawealth.co.uk/httpdocs/index.php:17
15
ErrorException
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php395
14
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
13
ErrorException
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php395
12
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php395
11
is_mobile
/storage/framework/views/3e3dbff2d6ebcbe024ba55231e1decf921565e3d.php7
10
require
/vendor/illuminate/filesystem/Filesystem.php107
9
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
8
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
7
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
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.php14
2
include
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-includes/template-loader.php106
1
require_once
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-blog-header.php19
0
require
/var/www/vhosts/evawealth.co.uk/httpdocs/index.php17
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php
        $urls = array_diff( $urls, array( $emoji_svg_url ) );
    }

    return $urls;
}



/************************************************************************
    Helpful functions
************************************************************************/

function is_mobile(){
    global $is_mobile;
    
    if(isset($is_mobile)){
        return $is_mobile;
    }

    if(preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i',$_SERVER['HTTP_USER_AGENT'])||preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i',substr($_SERVER['HTTP_USER_AGENT'],0,4))){ $is_mobile = TRUE; } else { $is_mobile = FALSE; }

    return $is_mobile;
}
Arguments
  1. "Undefined array key "HTTP_USER_AGENT" (View: /var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/resources/views/template-homepage.blade.php)"
    
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php
        $urls = array_diff( $urls, array( $emoji_svg_url ) );
    }

    return $urls;
}



/************************************************************************
    Helpful functions
************************************************************************/

function is_mobile(){
    global $is_mobile;
    
    if(isset($is_mobile)){
        return $is_mobile;
    }

    if(preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i',$_SERVER['HTTP_USER_AGENT'])||preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i',substr($_SERVER['HTTP_USER_AGENT'],0,4))){ $is_mobile = TRUE; } else { $is_mobile = FALSE; }

    return $is_mobile;
}
Arguments
  1. "Undefined array key "HTTP_USER_AGENT""
    
Exception message: Undefined array key "HTTP_USER_AGENT"
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/plugins/cf-functions/pagespeed.php
        $urls = array_diff( $urls, array( $emoji_svg_url ) );
    }

    return $urls;
}



/************************************************************************
    Helpful functions
************************************************************************/

function is_mobile(){
    global $is_mobile;
    
    if(isset($is_mobile)){
        return $is_mobile;
    }

    if(preg_match('/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i',$_SERVER['HTTP_USER_AGENT'])||preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i',substr($_SERVER['HTTP_USER_AGENT'],0,4))){ $is_mobile = TRUE; } else { $is_mobile = FALSE; }

    return $is_mobile;
}
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/storage/framework/views/3e3dbff2d6ebcbe024ba55231e1decf921565e3d.php
<?php $__env->startSection('content'); ?>
 
<?php
 
    $slides = get_posts_cached( array(
        'post_type' => 'homepage-slide',
        'posts_per_page' => is_mobile() ? 1 : 4
    ));
 
?>
<section class="py-0 position-relative " id="homepage-banner" data-slideout-ignore>
    <?php if ( $slides ) : $slide_css = ''; $i_slide = 1; ?>
 
    <div class="swiper-container w-100 d-flex " data-nav="0" data-autoplay="1" data-autoplay-delay="15000" data-items="1" slidedata-slideout-ignore>
 
        <div class="swiper-wrapper">
 
            <?php global $post; foreach ( $slides as $post ) : setup_postdata( $post ); ?>
 
            <div id="slide-<?php echo e($i_slide); ?>" class="swiper-slide ratio ratio-1x1 ratio-md-2x1 ratio-lg-3x1 bg-nr d-flex align-items-center bg-md-dark <?php if($i_slide == 1): ?> swiper-slide-active <?php endif; ?> " data-swiper-autoplay="5000" >
                <div class="d-flex align-items-center w-100 justify-content-center">
                    <div class="col-lg-6">    
                        <div id="slide-text" class="h-100 justify-content-start start-0 end-0 top-0 bottom-0 position-absolute position-lg-relative py-lg-3 py-xl-4 p-3 clip-path-end fill-left d-flex align-items-center" style="z-index: 2;">
                            <div class=" animate__animated animate__backInLeft text-start text-white hero-bg w-100 mt-lg-5 p-3 p-4">
                                <h1 class="text-center"><?php echo get_the_title(); ?></h1>
                                <h4 class="text-center" style="font-size: 1.25rem !important"><?php echo get_the_content(); ?></h4>
                            </div>
                        </div>
                    </div>
                </div>
 
                <?php
                ob_start();
 
                $slider_bg = get_post_thumbnail_id();
 
                ?>
 
                @media  screen and (max-width: 374px){ 
                    #slide-<?php echo e($i_slide); ?>.swiper-slide.swiper-slide-active,
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
Arguments
  1. "/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/storage/framework/views/3e3dbff2d6ebcbe024ba55231e1decf921565e3d.php"
    
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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
     */
    public function requireOnce($path, array $data = [])
    {
        if ($this->isFile($path)) {
            $__path = $path;
            $__data = $data;
 
            return (static function () use ($__path, $__data) {
                extract($__data, EXTR_SKIP);
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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);
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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;
    }
 
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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());
    }
 
    /**
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/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
/var/www/vhosts/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/index.php
<!doctype html>
<html <?php language_attributes(); ?> class="<?php echo time() < date_sunset(time(), SUNFUNCS_RET_TIMESTAMP, 51, 3) ? 'light' : 'dark'; ?>">
  <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">
    <base href="<?php echo site_url(); ?>/">
    <?php wp_head(); ?>
      <!-- Google tag (gtag.js) --> <script async src=https://www.googletagmanager.com/gtag/js?id=G-CQL1TJMZB5></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'G-CQL1TJMZB5'); </script>
</head>
  <body <?php body_class(); ?>>
    <?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(); ?>
  </body>
</html>
 
/var/www/vhosts/evawealth.co.uk/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/evawealth.co.uk/httpdocs/wp-content/themes/cfwp3/index.php"
    
/var/www/vhosts/evawealth.co.uk/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/evawealth.co.uk/httpdocs/wp-includes/template-loader.php"
    
/var/www/vhosts/evawealth.co.uk/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/evawealth.co.uk/httpdocs/wp-blog-header.php"
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"Apache"
REQUEST_URI
"/"
USER
"evaweal1"
HOME
"/var/www/vhosts/evawealth.co.uk"
SCRIPT_NAME
"/index.php"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/1.0"
GATEWAY_INTERFACE
"CGI/1.1"
REMOTE_PORT
"54538"
SCRIPT_FILENAME
"/var/www/vhosts/evawealth.co.uk/httpdocs/index.php"
SERVER_ADMIN
"root@localhost"
CONTEXT_DOCUMENT_ROOT
"/var/www/vhosts/evawealth.co.uk/httpdocs"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/var/www/vhosts/evawealth.co.uk/httpdocs"
REMOTE_ADDR
"205.210.31.184"
SERVER_PORT
"443"
SERVER_ADDR
"168.119.169.127"
SERVER_NAME
"evawealth.co.uk"
SERVER_SIGNATURE
""
PATH
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin"
HTTP_CONNECTION
"close"
HTTP_X_ACCEL_INTERNAL
"/internal-nginx-static-location"
HTTP_X_REAL_IP
"205.210.31.184"
HTTP_HOST
"evawealth.co.uk"
proxy-nokeepalive
"1"
HTTPS
"on"
HTTP_AUTHORIZATION
""
PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY
"0"
PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY
"0"
PERL5LIB
"/usr/share/awstats/lib:/usr/share/awstats/plugins"
SCRIPT_URI
"https://evawealth.co.uk/"
SCRIPT_URL
"/"
UNIQUE_ID
"ZiuMp8vfTJpkN445OizPzAAAAMM"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1714130087.4513
REQUEST_TIME
1714130087
empty
0. Whoops\Handler\PrettyPageHandler