facebook pixel
Whoops! There was an error.
Illuminate \ View \ ViewException (E_ERROR)
Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php) (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php)
Previous exceptions
  • Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php) (0)
  • Undefined array key 0 (0)
Illuminate\View\ViewException thrown with message "Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php) (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php)" Stacktrace: #27 Illuminate\View\ViewException in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php:71 #26 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php:60 #25 Illuminate\View\ViewException in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php:71 #24 Illuminate\View\Engines\CompilerEngine:handleViewException in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php:60 #23 ErrorException in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php:71 #22 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php:71 #21 require in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php:107 #20 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php:108 #19 Illuminate\Filesystem\Filesystem:getRequire in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php:58 #18 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/CompilerEngine.php:61 #17 Illuminate\View\Engines\CompilerEngine:get in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php:139 #16 Illuminate\View\View:getContents in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php:122 #15 Illuminate\View\View:renderContents in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php:91 #14 Illuminate\View\View:render in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/8bc544bc8e0b0950219dab2f6ef5651d-loader.php:1 #13 require in /var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template.php:772 #12 load_template in /var/www/b2b.dryfo.com/public_html/web/app/plugins/woocommerce/includes/wc-core-functions.php:284 #11 wc_get_template_part in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/caf4d96f5597e4be6e593d40053a05cf659bde62.php:187 #10 require in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php:107 #9 Illuminate\Filesystem\Filesystem:Illuminate\Filesystem\{closure} in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/filesystem/Filesystem.php:108 #8 Illuminate\Filesystem\Filesystem:getRequire in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/PhpEngine.php:58 #7 Illuminate\View\Engines\PhpEngine:evaluatePath in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/Engines/CompilerEngine.php:61 #6 Illuminate\View\Engines\CompilerEngine:get in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php:139 #5 Illuminate\View\View:getContents in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php:122 #4 Illuminate\View\View:renderContents in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/vendor/illuminate/view/View.php:91 #3 Illuminate\View\View:render in /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/index.php:59 #2 include in /var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template-loader.php:106 #1 require_once in /var/www/b2b.dryfo.com/public_html/web/wp/wp-blog-header.php:19 #0 require in /var/www/b2b.dryfo.com/public_html/web/index.php:6
27
Illuminate\View\ViewException
/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php71
26
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
25
Illuminate\View\ViewException
/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php71
24
Illuminate\View\Engines\CompilerEngine handleViewException
/vendor/illuminate/view/Engines/PhpEngine.php60
23
ErrorException
/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php71
22
Illuminate\Foundation\Bootstrap\HandleExceptions handleError
/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php71
21
require
/vendor/illuminate/filesystem/Filesystem.php107
20
Illuminate\Filesystem\Filesystem Illuminate\Filesystem\{closure}
/vendor/illuminate/filesystem/Filesystem.php108
19
Illuminate\Filesystem\Filesystem getRequire
/vendor/illuminate/view/Engines/PhpEngine.php58
18
Illuminate\View\Engines\PhpEngine evaluatePath
/vendor/illuminate/view/Engines/CompilerEngine.php61
17
Illuminate\View\Engines\CompilerEngine get
/vendor/illuminate/view/View.php139
16
Illuminate\View\View getContents
/vendor/illuminate/view/View.php122
15
Illuminate\View\View renderContents
/vendor/illuminate/view/View.php91
14
Illuminate\View\View render
/storage/framework/views/8bc544bc8e0b0950219dab2f6ef5651d-loader.php1
13
require
/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template.php772
12
load_template
/var/www/b2b.dryfo.com/public_html/web/app/plugins/woocommerce/includes/wc-core-functions.php284
11
wc_get_template_part
/storage/framework/views/caf4d96f5597e4be6e593d40053a05cf659bde62.php187
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.php59
2
include
/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template-loader.php106
1
require_once
/var/www/b2b.dryfo.com/public_html/web/wp/wp-blog-header.php19
0
require
/var/www/b2b.dryfo.com/public_html/web/index.php6
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
     *
     * @hooked woocommerce_template_loop_product_title - 10
     */
    do_action( 'woocommerce_shop_loop_item_title' );
 
    /**
     * Hook: woocommerce_after_shop_loop_item_title.
     *
     * @hooked woocommerce_template_loop_rating - 5
     * @hooked woocommerce_template_loop_price - 10
     */
    do_action( 'woocommerce_after_shop_loop_item_title' );
    ?>
    <div class="mb-4 text-xs packaging text-dr-gray-7">
        <p><?php echo e(pll_e('packaging')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_packaging'])){
                echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_syskeyasia'])){
                echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
        <p><?php echo e(wc_attribute_label('pa_origin')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_origin'])){
                echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_proeleysi'])){
                echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
    </div>
    <div class="flex flex-col items-start mb-4 quantity">
        <div class="flex text-center text-xxs sm:text-xs text-primary">
            <div class="w-6 sm:w-8"></div>
Arguments
  1. "Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php) (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php)"
    
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
     *
     * @hooked woocommerce_template_loop_product_title - 10
     */
    do_action( 'woocommerce_shop_loop_item_title' );
 
    /**
     * Hook: woocommerce_after_shop_loop_item_title.
     *
     * @hooked woocommerce_template_loop_rating - 5
     * @hooked woocommerce_template_loop_price - 10
     */
    do_action( 'woocommerce_after_shop_loop_item_title' );
    ?>
    <div class="mb-4 text-xs packaging text-dr-gray-7">
        <p><?php echo e(pll_e('packaging')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_packaging'])){
                echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_syskeyasia'])){
                echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
        <p><?php echo e(wc_attribute_label('pa_origin')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_origin'])){
                echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_proeleysi'])){
                echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
    </div>
    <div class="flex flex-col items-start mb-4 quantity">
        <div class="flex text-center text-xxs sm:text-xs text-primary">
            <div class="w-6 sm:w-8"></div>
Arguments
  1. "Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php)"
    
Exception message: Undefined array key 0 (View: /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php)
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
     *
     * @hooked woocommerce_template_loop_product_title - 10
     */
    do_action( 'woocommerce_shop_loop_item_title' );
 
    /**
     * Hook: woocommerce_after_shop_loop_item_title.
     *
     * @hooked woocommerce_template_loop_rating - 5
     * @hooked woocommerce_template_loop_price - 10
     */
    do_action( 'woocommerce_after_shop_loop_item_title' );
    ?>
    <div class="mb-4 text-xs packaging text-dr-gray-7">
        <p><?php echo e(pll_e('packaging')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_packaging'])){
                echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_syskeyasia'])){
                echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
        <p><?php echo e(wc_attribute_label('pa_origin')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_origin'])){
                echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_proeleysi'])){
                echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
    </div>
    <div class="flex flex-col items-start mb-4 quantity">
        <div class="flex text-center text-xxs sm:text-xs text-primary">
            <div class="w-6 sm:w-8"></div>
Arguments
  1. "Undefined array key 0"
    
Exception message: Undefined array key 0
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php
     *
     * @hooked woocommerce_template_loop_product_title - 10
     */
    do_action( 'woocommerce_shop_loop_item_title' );
 
    /**
     * Hook: woocommerce_after_shop_loop_item_title.
     *
     * @hooked woocommerce_template_loop_rating - 5
     * @hooked woocommerce_template_loop_price - 10
     */
    do_action( 'woocommerce_after_shop_loop_item_title' );
    ?>
    <div class="mb-4 text-xs packaging text-dr-gray-7">
        <p><?php echo e(pll_e('packaging')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_packaging'])){
                echo $product->get_attributes()['pa_packaging']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_syskeyasia'])){
                echo $product->get_attributes()['pa_syskeyasia']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
        <p><?php echo e(wc_attribute_label('pa_origin')); ?>:
            <?php
            if (isset($product->get_attributes()['pa_origin'])){
                echo $product->get_attributes()['pa_origin']->get_terms()[0]->name;
            } elseif (isset($product->get_attributes()['pa_proeleysi'])){
                echo $product->get_attributes()['pa_proeleysi']->get_terms()[0]->name;
            } else {
                echo '---';
            }
        ?>
        </p>
    </div>
    <div class="flex flex-col items-start mb-4 quantity">
        <div class="flex text-center text-xxs sm:text-xs text-primary">
            <div class="w-6 sm:w-8"></div>
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/c0ef79fd84e2a9faf44c686a921fe01d6f4db17d.php"
    
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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 ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/8bc544bc8e0b0950219dab2f6ef5651d-loader.php
<?= \Roots\view('woocommerce.content-product', $data ?? get_defined_vars())->render(); ?>
<?php /**PATH /var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/resources/views/woocommerce/content-product.blade.php ENDPATH**/ ?>
/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template.php
        /*
         * This use of extract() cannot be removed. There are many possible ways that
         * templates could depend on variables that it creates existing, and no way to
         * detect and deprecate it.
         *
         * Passing the EXTR_SKIP flag is the safest option, ensuring globals and
         * function variables cannot be overwritten.
         */
        // phpcs:ignore WordPress.PHP.DontExtract.extract_extract
        extract( $wp_query->query_vars, EXTR_SKIP );
    }
 
    if ( isset( $s ) ) {
        $s = esc_attr( $s );
    }
 
    if ( $require_once ) {
        require_once $_template_file;
    } else {
        require $_template_file;
    }
}
 
Arguments
  1. "/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/8bc544bc8e0b0950219dab2f6ef5651d-loader.php"
    
/var/www/b2b.dryfo.com/public_html/web/app/plugins/woocommerce/includes/wc-core-functions.php
                    "{$slug}.php",
                    WC()->template_path() . "{$slug}.php",
                )
            );
        }
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
 
        wc_set_template_cache( $cache_key, $cache_path );
    } else {
        // Make sure that the absolute path to the template is resolved.
        $template = wc_untokenize_path( $template, wc_get_path_define_tokens() );
    }
 
    // Allow 3rd party plugins to filter template file from their plugin.
    $template = apply_filters( 'wc_get_template_part', $template, $slug, $name );
 
    if ( $template ) {
        load_template( $template, false );
    }
}
 
/**
 * Get other templates (e.g. product attributes) passing attributes and including the file.
 *
 * @param string $template_name Template name.
 * @param array  $args          Arguments. (default: array).
 * @param string $template_path Template path. (default: '').
 * @param string $default_path  Default path. (default: '').
 */
function wc_get_template( $template_name, $args = array(), $template_path = '', $default_path = '' ) {
    $cache_key = sanitize_key( implode( '-', array( 'template', $template_name, $template_path, $default_path, Constants::get_constant( 'WC_VERSION' ) ) ) );
    $template  = (string) wp_cache_get( $cache_key, 'woocommerce' );
 
    if ( ! $template ) {
        $template = wc_locate_template( $template_name, $template_path, $default_path );
 
        // Don't cache the absolute path so that it can be shared between web servers with different paths.
        $cache_path = wc_tokenize_path( $template, wc_get_path_define_tokens() );
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/caf4d96f5597e4be6e593d40053a05cf659bde62.php
          <?php echo e(wpgb_render_facet( [ 'id' => 15, 'grid' => 'wpgb-content' ] )); ?>
 
 
          
          <?php echo e(wpgb_render_facet( [ 'id' => 16, 'grid' => 'wpgb-content' ] )); ?>
 
 
          <?php endif; ?>
        </div>
      </div>
      <?php
      woocommerce_product_loop_start();
      ?>
      <?php if(wc_get_loop_prop('total')): ?>
      <?php while(have_posts()): ?>
 
      <?php
      the_post();
      do_action('woocommerce_shop_loop');
      wc_get_template_part('content', 'product');
      ?>
      <?php endwhile; ?>
      <?php endif; ?>
      <?php
      woocommerce_product_loop_end();
      do_action('woocommerce_after_shop_loop');
      ?>
      <div class="text-center pagination text-secondary">
        <?php
        /* PAGINATION */
        wpgb_render_facet( [ 'id' => 7, 'grid' => 'wpgb-content' ] );
        ?>
      </div>
 
      <?php else: ?>
      <?php
      do_action('woocommerce_no_products_found')
      ?>
      <?php endif; ?>
 
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/storage/framework/views/caf4d96f5597e4be6e593d40053a05cf659bde62.php"
    
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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 ViewException($this->getMessage($e), 0, 1, $e->getFile(), $e->getLine(), $e);
 
        parent::handleViewException($e, $obLevel);
/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/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/b2b.dryfo.com/public_html/web/app/themes/DRTheme/index.php
        'https://connect.facebook.net/en_US/fbevents.js');
    fbq('init', '3279566892305943');
    fbq('track', 'PageView');
    </script>
    <noscript><img height="1" width="1" style="display:none" alt="facebook pixel"
            src="https://www.facebook.com/tr?id=3279566892305943&ev=PageView&noscript=1" /></noscript>
    <!-- End Meta Pixel Code -->
 
    <!-- Font -->
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Geologica:wght@100..900&display=swap" rel="stylesheet">
</head>
 
<body class="font-body" <?php body_class(); ?>>
    <?php wp_body_open(); ?>
    <?php do_action('get_header'); ?>
 
    <div id="app">
        <?php echo \Roots\view(\Roots\app('sage.view'), \Roots\app('sage.data'))->render(); ?>
    </div>
 
    <?php do_action('get_footer'); ?>
    <?php wp_footer(); ?>
</body>
 
</html>
/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template-loader.php
            }
 
            break;
        }
    }
 
    if ( ! $template ) {
        $template = get_index_template();
    }
 
    /**
     * Filters the path of the current template before including it.
     *
     * @since 3.0.0
     *
     * @param string $template The path of the template to include.
     */
    $template = apply_filters( 'template_include', $template );
    if ( $template ) {
        include $template;
    } elseif ( current_user_can( 'switch_themes' ) ) {
        $theme = wp_get_theme();
        if ( $theme->errors() ) {
            wp_die( $theme->errors() );
        }
    }
    return;
}
 
Arguments
  1. "/var/www/b2b.dryfo.com/public_html/web/app/themes/DRTheme/index.php"
    
/var/www/b2b.dryfo.com/public_html/web/wp/wp-blog-header.php
<?php
/**
 * Loads the WordPress environment and template.
 *
 * @package WordPress
 */
 
if ( ! isset( $wp_did_header ) ) {
 
    $wp_did_header = true;
 
    // Load the WordPress library.
    require_once __DIR__ . '/wp-load.php';
 
    // Set up the WordPress query.
    wp();
 
    // Load the theme template.
    require_once ABSPATH . WPINC . '/template-loader.php';
 
}
 
Arguments
  1. "/var/www/b2b.dryfo.com/public_html/web/wp/wp-includes/template-loader.php"
    
/var/www/b2b.dryfo.com/public_html/web/index.php
<?php
/**
 * WordPress View Bootstrapper
 */
define('WP_USE_THEMES', true);
require __DIR__ . '/wp/wp-blog-header.php';
 
Arguments
  1. "/var/www/b2b.dryfo.com/public_html/web/wp/wp-blog-header.php"
    

Environment & details:

Key Value
_product_pagination
"2"
empty
empty
empty
empty
Key Value
SERVER_SOFTWARE
"nginx/1.22.0"
REQUEST_URI
"/en/?_product_pagination=2"
USER
"www-data"
HOME
"/var/www"
HTTP_ACCEPT_ENCODING
"br,gzip"
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_HOST
"b2b.dryfo.com"
SCRIPT_FILENAME
"/var/www/b2b.dryfo.com/public_html/web/index.php"
REDIRECT_STATUS
"200"
SERVER_NAME
"b2b.dryfo.com"
SERVER_PORT
"443"
SERVER_ADDR
"165.22.68.255"
REMOTE_USER
""
REMOTE_PORT
"48864"
REMOTE_ADDR
"18.97.14.82"
GATEWAY_INTERFACE
"CGI/1.1"
HTTPS
"on"
REQUEST_SCHEME
"https"
SERVER_PROTOCOL
"HTTP/2.0"
DOCUMENT_ROOT
"/var/www/b2b.dryfo.com/public_html/web"
DOCUMENT_URI
"/index.php"
SCRIPT_NAME
"/index.php"
CONTENT_LENGTH
""
CONTENT_TYPE
""
REQUEST_METHOD
"GET"
QUERY_STRING
"_product_pagination=2"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1739454871.5563
REQUEST_TIME
1739454871
DB_NAME
"paulp_b2b-dryfo-com-db"
DB_USER
"b2bdryfo_dbuser"
DB_PASSWORD
"************"
DB_HOST
"localhost"
WP_ENV
"development"
WP_HOME
"http://b2b.dryfo.com"
WP_SITEURL
"http://b2b.dryfo.com/wp"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
Key Value
DB_NAME
"paulp_b2b-dryfo-com-db"
DB_USER
"b2bdryfo_dbuser"
DB_PASSWORD
"************"
DB_HOST
"localhost"
WP_ENV
"development"
WP_HOME
"http://b2b.dryfo.com"
WP_SITEURL
"http://b2b.dryfo.com/wp"
AUTH_KEY
"****************************************************************"
SECURE_AUTH_KEY
"****************************************************************"
LOGGED_IN_KEY
"****************************************************************"
NONCE_KEY
"****************************************************************"
AUTH_SALT
"****************************************************************"
SECURE_AUTH_SALT
"****************************************************************"
LOGGED_IN_SALT
"****************************************************************"
NONCE_SALT
"****************************************************************"
0. Whoops\Handler\PrettyPageHandler