Undefined array key "width" (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php) (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php) (500 Internal Server Error)

Symfony Exception

ErrorException ViewException ViewException

HTTP 500 Internal Server Error

Undefined array key "width" (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php) (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php)

Exceptions 3

Illuminate\View\ ViewException

  1.             $imagedata['height'] = $imagedata['sizes']['full']['height'];
  2.             $imagedata['width']  = $imagedata['sizes']['full']['width'];
  3.         }
  4.         return array(
  5.             'width'  => $imagedata['width'],
  6.             'height' => $imagedata['height'],
  7.         );
  8.     }
  9.     /**
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.   <body <?php body_class(); ?>>
  2.     <?php wp_body_open(); ?>
  3.     <?php do_action('get_header'); ?>
  4.     <div id="app">
  5.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  6.     </div>
  7.     <?php do_action('get_footer'); ?>
  8.     <?php wp_footer(); ?>
  9.   </body>
include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/index.php (line 6)
  1. <?php
  2. /**
  3.  * WordPress View Bootstrapper
  4.  */
  5. define('WP_USE_THEMES'true);
  6. require __DIR__ '/wp/wp-blog-header.php';

Illuminate\View\ ViewException

Undefined array key "width" (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php)

  1.             $imagedata['height'] = $imagedata['sizes']['full']['height'];
  2.             $imagedata['width']  = $imagedata['sizes']['full']['width'];
  3.         }
  4.         return array(
  5.             'width'  => $imagedata['width'],
  6.             'height' => $imagedata['height'],
  7.         );
  8.     }
  9.     /**
  1.         // flush out any stray output that might get out before an error occurs or
  2.         // an exception is thrown. This prevents any partial views from leaking.
  3.         try {
  4.             $this->files->getRequire($path$data);
  5.         } catch (Throwable $e) {
  6.             $this->handleViewException($e$obLevel);
  7.         }
  8.         return ltrim(ob_get_clean());
  9.     }
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php echo $__env->make('partials.content-product'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/woocommerce/single-product.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.   <body <?php body_class(); ?>>
  2.     <?php wp_body_open(); ?>
  3.     <?php do_action('get_header'); ?>
  4.     <div id="app">
  5.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  6.     </div>
  7.     <?php do_action('get_footer'); ?>
  8.     <?php wp_footer(); ?>
  9.   </body>
include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/index.php (line 6)
  1. <?php
  2. /**
  3.  * WordPress View Bootstrapper
  4.  */
  5. define('WP_USE_THEMES'true);
  6. require __DIR__ '/wp/wp-blog-header.php';

ErrorException

Undefined array key "width"

  1.             $imagedata['height'] = $imagedata['sizes']['full']['height'];
  2.             $imagedata['width']  = $imagedata['sizes']['full']['width'];
  3.         }
  4.         return array(
  5.             'width'  => $imagedata['width'],
  6.             'height' => $imagedata['height'],
  7.         );
  8.     }
  9.     /**
  1.      * @throws \ErrorException
  2.      */
  3.     public function handleError($level$message$file ''$line 0$context = [])
  4.     {
  5.         try {
  6.             parent::handleError($level$message$file$line$context);
  7.         } catch (Throwable $e) {
  8.             if (! apply_filters('acorn/throw_error_exception'true$e)) {
  9.                 return false;
  10.             }
  1.             $imagedata['height'] = $imagedata['sizes']['full']['height'];
  2.             $imagedata['width']  = $imagedata['sizes']['full']['width'];
  3.         }
  4.         return array(
  5.             'width'  => $imagedata['width'],
  6.             'height' => $imagedata['height'],
  7.         );
  8.     }
  9.     /**
  1.         $ratio_match      false;
  2.         $target_uncropped '' === $target_size['width'] || '' === $target_size['height'] || ! $target_size['crop'];
  3.         // If '' is passed to either size, we test ratios against the original file. It's uncropped.
  4.         if ( $target_uncropped ) {
  5.             $full_size self::get_full_size_image_dimensions$attachment_id );
  6.             if ( ! $full_size || ! $full_size['width'] || ! $full_size['height'] ) {
  7.                 return $image;
  8.             }
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( == $the_['accepted_args'] ) {
  3.                     $value call_user_func$the_['function'] );
  4.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  5.                     $value call_user_func_array$the_['function'], $args );
  6.                 } else {
  7.                     $value call_user_func_array$the_['function'], array_slice$args0, (int) $the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
  1.     }
  2.     // Pass the value to WP_Hook.
  3.     array_unshift$args$value );
  4.     $filtered $wp_filter$hook_name ]->apply_filters$value$args );
  5.     array_pop$wp_current_filter );
  6.     return $filtered;
  7. }
  1.      * @param int          $attachment_id Image attachment ID.
  2.      * @param string|int[] $size          Requested image size. Can be any registered image size name, or
  3.      *                                    an array of width and height values in pixels (in that order).
  4.      * @param bool         $icon          Whether the image should be treated as an icon.
  5.      */
  6.     return apply_filters'wp_get_attachment_image_src'$image$attachment_id$size$icon );
  7. }
  8. /**
  9.  * Gets an HTML img element representing an image attachment.
  10.  *
  1.  * }
  2.  * @return string HTML img element or empty string on failure.
  3.  */
  4. function wp_get_attachment_image$attachment_id$size 'thumbnail'$icon false$attr '' ) {
  5.     $html  '';
  6.     $image wp_get_attachment_image_src$attachment_id$size$icon );
  7.     if ( $image ) {
  8.         list( $src$width$height ) = $image;
  9.         $attachment get_post$attachment_id );
  1.     $image             wp_get_attachment_image(
  2.         $attachment_id,
  3.         $image_size,
  4.         false,
  5.         apply_filters(
  6.             'woocommerce_gallery_image_html_attachment_image_params',
  7.             array(
  8.                 'title'                   => _wp_specialcharsget_post_field'post_title'$attachment_id ), ENT_QUOTES'UTF-8'true ),
  9.                 'data-caption'            => _wp_specialcharsget_post_field'post_excerpt'$attachment_id ), ENT_QUOTES'UTF-8'true ),
  10.                 'data-src'                => esc_url$full_src[0] ),
  11.                 'data-large_image'        => esc_url$full_src[0] ),
  1. ?>
  2. <div class="<?php echo esc_attrimplode' 'array_map'sanitize_html_class'$wrapper_classes ) ) ); ?>" data-columns="<?php echo esc_attr$columns ); ?>" style="opacity: 0; transition: opacity .25s ease-in-out;">
  3.     <figure class="woocommerce-product-gallery__wrapper">
  4.         <?php
  5.         if ( $post_thumbnail_id ) {
  6.             $html wc_get_gallery_image_html$post_thumbnail_idtrue );
  7.         } else {
  8.             $html  '<div class="woocommerce-product-gallery__image--placeholder">';
  9.             $html .= sprintf'<img src="%s" alt="%s" class="wp-post-image" />'esc_urlwc_placeholder_img_src'woocommerce_single' ) ), esc_html__'Awaiting product image''woocommerce' ) );
  10.             $html .= '</div>';
  11.         }
include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/templates/single-product/product-image.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/wc-core-functions.php (line 345)
  1.         extract$args ); // @codingStandardsIgnoreLine
  2.     }
  3.     do_action'woocommerce_before_template_part'$action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
  4.     include $action_args['located'];
  5.     do_action'woocommerce_after_template_part'$action_args['template_name'], $action_args['template_path'], $action_args['located'], $action_args['args'] );
  6. }
  7. /**
  1.     /**
  2.      * Output the product image before the single product summary.
  3.      */
  4.     function woocommerce_show_product_images() {
  5.         wc_get_template'single-product/product-image.php' );
  6.     }
  7. }
  8. if ( ! function_exists'woocommerce_show_product_thumbnails' ) ) {
  9.     /**
  1.                 // Avoid the array_slice() if possible.
  2.                 if ( == $the_['accepted_args'] ) {
  3.                     $value call_user_func$the_['function'] );
  4.                 } elseif ( $the_['accepted_args'] >= $num_args ) {
  5.                     $value call_user_func_array$the_['function'], $args );
  6.                 } else {
  7.                     $value call_user_func_array$the_['function'], array_slice$args0, (int) $the_['accepted_args'] ) );
  8.                 }
  9.             }
  10.         } while ( false !== next$this->iterations$nesting_level ] ) );
  1.      *
  2.      * @param array $args Parameters to pass to the callback functions.
  3.      */
  4.     public function do_action$args ) {
  5.         $this->doing_action true;
  6.         $this->apply_filters''$args );
  7.         // If there are recursive calls to the current action, we haven't finished it until we get to the last one.
  8.         if ( ! $this->nesting_level ) {
  9.             $this->doing_action false;
  10.         }
  1.     } elseif ( is_array$arg[0] ) && === count$arg[0] ) && isset( $arg[0][0] ) && is_object$arg[0][0] ) ) {
  2.         // Backward compatibility for PHP4-style passing of `array( &$this )` as action `$arg`.
  3.         $arg[0] = $arg[0][0];
  4.     }
  5.     $wp_filter$hook_name ]->do_action$arg );
  6.     array_pop$wp_current_filter );
  7. }
  8. /**
  1.      * Hook: woocommerce_before_single_product_summary.
  2.      *
  3.      * @hooked woocommerce_show_product_sale_flash - 10
  4.      * @hooked woocommerce_show_product_images - 20
  5.      */
  6.     do_action'woocommerce_before_single_product_summary' );
  7.     ?>
  8.     <div class="summary entry-summary">
  9.         <?php
  10.         /**
require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/templates/content-single-product.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template.php (line 785)
  1.     do_action'wp_before_load_template'$_template_file$require_once$args );
  2.     if ( $require_once ) {
  3.         require_once $_template_file;
  4.     } else {
  5.         require $_template_file;
  6.     }
  7.     /**
  8.      * Fires after a template file is loaded.
  9.      *
  1.     // Allow 3rd party plugins to filter template file from their plugin.
  2.     $template apply_filters'wc_get_template_part'$template$slug$name );
  3.     if ( $template ) {
  4.         load_template$templatefalse );
  5.     }
  6. }
  7. /**
  8.  * Get other templates (e.g. product attributes) passing attributes and including the file.
  1.     <?php (do_action'woocommerce_before_main_content' )); ?>
  2.       <div class="product__inner-container">
  3.         <?php while ( have_posts() ) : ?>
  4.           <?php the_post(); ?>
  5.           <?php wc_get_template_part'content''single-product' ); ?>
  6.         <?php endwhile; // end of the loop. ?>
  7.       </div>
  8.     <?php (do_action'woocommerce_after_main_content' )); ?>
  9.   </div>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1. <?php $__env->startSection('content'); ?>
  2.   <?php echo $__env->make('partials.content-product'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?>
  3. <?php $__env->stopSection(); ?>
  4. <?php echo $__env->make('layouts.app'\Illuminate\Support\Arr::except(get_defined_vars(), ['__data''__path']))->render(); ?><?php /**PATH /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/woocommerce/single-product.blade.php ENDPATH**/ ?>
  1.             $__data $data;
  2.             return (static function () use ($__path$__data) {
  3.                 extract($__dataEXTR_SKIP);
  4.                 return require $__path;
  5.             })();
  6.         }
  7.         throw new FileNotFoundException("File does not exist at path {$path}.");
  8.     }
  1.             return (static function () use ($__path$__data) {
  2.                 extract($__dataEXTR_SKIP);
  3.                 return require $__path;
  4.             })();
  5.         }
  6.         throw new FileNotFoundException("File does not exist at path {$path}.");
  7.     }
  1.         // We'll evaluate the contents of the view inside a try/catch block so we can
  2.         // flush out any stray output that might get out before an error occurs or
  3.         // an exception is thrown. This prevents any partial views from leaking.
  4.         try {
  5.             $this->files->getRequire($path$data);
  6.         } catch (Throwable $e) {
  7.             $this->handleViewException($e$obLevel);
  8.         }
  9.         return ltrim(ob_get_clean());
  1.         }
  2.         // Once we have the path to the compiled file, we will evaluate the paths with
  3.         // typical PHP just like any other templates. We also keep a stack of views
  4.         // which have been rendered for right exception messages to be generated.
  5.         $results $this->evaluatePath($this->compiler->getCompiledPath($path), $data);
  6.         array_pop($this->lastCompiled);
  7.         return $results;
  8.     }
  1.      *
  2.      * @return string
  3.      */
  4.     protected function getContents()
  5.     {
  6.         return $this->engine->get($this->path$this->gatherData());
  7.     }
  8.     /**
  9.      * Get the data bound to the view instance.
  10.      *
  1.         // clear out the sections for any separate views that may be rendered.
  2.         $this->factory->incrementRender();
  3.         $this->factory->callComposer($this);
  4.         $contents $this->getContents();
  5.         // Once we've finished rendering the view, we'll decrement the render count
  6.         // so that each sections get flushed out next time a view is created and
  7.         // no old sections are staying around in the memory of an environment.
  8.         $this->factory->decrementRender();
  1.      * @throws \Throwable
  2.      */
  3.     public function render(callable $callback null)
  4.     {
  5.         try {
  6.             $contents $this->renderContents();
  7.             $response = isset($callback) ? $callback($this$contents) : null;
  8.             // Once we have the contents of the view, we will flush the sections if we are
  9.             // done rendering all views so that there is nothing left hanging over when
  1.   <body <?php body_class(); ?>>
  2.     <?php wp_body_open(); ?>
  3.     <?php do_action('get_header'); ?>
  4.     <div id="app">
  5.       <?php echo view(app('sage.view'), app('sage.data'))->render(); ?>
  6.     </div>
  7.     <?php do_action('get_footer'); ?>
  8.     <?php wp_footer(); ?>
  9.   </body>
include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php (line 106)
  1.      *
  2.      * @param string $template The path of the template to include.
  3.      */
  4.     $template apply_filters'template_include'$template );
  5.     if ( $template ) {
  6.         include $template;
  7.     } elseif ( current_user_can'switch_themes' ) ) {
  8.         $theme wp_get_theme();
  9.         if ( $theme->errors() ) {
  10.             wp_die$theme->errors() );
  11.         }
require_once('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php (line 19)
  1.     // Set up the WordPress query.
  2.     wp();
  3.     // Load the theme template.
  4.     require_once ABSPATH WPINC '/template-loader.php';
  5. }
require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php') in /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/index.php (line 6)
  1. <?php
  2. /**
  3.  * WordPress View Bootstrapper
  4.  */
  5. define('WP_USE_THEMES'true);
  6. require __DIR__ '/wp/wp-blog-header.php';

Stack Traces 3

[3/3] ViewException
Illuminate\View\ViewException:
Undefined array key "width" (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php) (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php)

  at /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/class-wc-regenerate-images.php:276
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php:14)
  at include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php:106)
  at require_once('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php:19)
  at require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/index.php:6)                
[2/3] ViewException
Illuminate\View\ViewException:
Undefined array key "width" (View: /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/resources/views/partials/content-product.blade.php)

  at /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/class-wc-regenerate-images.php:276
  at Illuminate\View\Engines\CompilerEngine->handleViewException()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/PhpEngine.php:60)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/cache/acorn/framework/views/6081a1920a25d93e9c59b99f46d7b92af037b4d3.php:2)
  at require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/cache/acorn/framework/views/6081a1920a25d93e9c59b99f46d7b92af037b4d3.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php:14)
  at include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php:106)
  at require_once('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php:19)
  at require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/index.php:6)                
[1/3] ErrorException
ErrorException:
Undefined array key "width"

  at /var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/class-wc-regenerate-images.php:276
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/roots/acorn/src/Roots/Acorn/Bootstrap/HandleExceptions.php:54)
  at Roots\Acorn\Bootstrap\HandleExceptions->handleError()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/class-wc-regenerate-images.php:276)
  at WC_Regenerate_Images::get_full_size_image_dimensions()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/class-wc-regenerate-images.php:219)
  at WC_Regenerate_Images::maybe_resize_image()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/class-wp-hook.php:308)
  at WP_Hook->apply_filters()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/plugin.php:205)
  at apply_filters()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/media.php:992)
  at wp_get_attachment_image_src()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/media.php:1032)
  at wp_get_attachment_image()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/wc-template-functions.php:1586)
  at wc_get_gallery_image_html()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/templates/single-product/product-image.php:43)
  at include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/templates/single-product/product-image.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/wc-core-functions.php:345)
  at wc_get_template()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/wc-template-functions.php:1549)
  at woocommerce_show_product_images()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/class-wp-hook.php:308)
  at WP_Hook->apply_filters()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/class-wp-hook.php:332)
  at WP_Hook->do_action()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/plugin.php:517)
  at do_action()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/templates/content-single-product.php:43)
  at require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/templates/content-single-product.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template.php:785)
  at load_template()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/plugins/woocommerce/includes/wc-core-functions.php:284)
  at wc_get_template_part()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/cache/acorn/framework/views/09d4e9e8745383fbeb06f4eed11c6b9d293a0fea.php:9)
  at require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/cache/acorn/framework/views/09d4e9e8745383fbeb06f4eed11c6b9d293a0fea.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/cache/acorn/framework/views/6081a1920a25d93e9c59b99f46d7b92af037b4d3.php:2)
  at require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/cache/acorn/framework/views/6081a1920a25d93e9c59b99f46d7b92af037b4d3.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/filesystem/Filesystem.php:107)
  at Illuminate\Filesystem\Filesystem::Illuminate\Filesystem\{closure}()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/filesystem/Filesystem.php:108)
  at Illuminate\Filesystem\Filesystem->getRequire()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/PhpEngine.php:58)
  at Illuminate\View\Engines\PhpEngine->evaluatePath()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/Engines/CompilerEngine.php:61)
  at Illuminate\View\Engines\CompilerEngine->get()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:139)
  at Illuminate\View\View->getContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:122)
  at Illuminate\View\View->renderContents()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/vendor/illuminate/view/View.php:91)
  at Illuminate\View\View->render()
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php:14)
  at include('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/app/themes/spentshells-custom-theme/index.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php:106)
  at require_once('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-includes/template-loader.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php:19)
  at require('/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/wp/wp-blog-header.php')
     (/var/www/0377-spentshells-website/releases/daeedd86d864b4ce74b5821d857788f82a97a870-20230531110813/web/index.php:6)