( ! ) Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/osomy/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php on line 276
( ! ) TypeError: Cannot access offset of type string on string in /var/www/osomy/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php on line 276
Call Stack
#TimeMemoryFunctionLocation
10.0002365152{main}( ).../index.php:0
20.0002366400require( '/var/www/osomy/wp-blog-header.php ).../index.php:17
31.150186690136require_once( '/var/www/osomy/wp-includes/template-loader.php ).../wp-blog-header.php:19
41.158986961344include( '/var/www/osomy/wp-content/themes/flatsome/woocommerce/single-product.php ).../template-loader.php:106
51.158986961344get_header( $name = 'shop', $args = ??? ).../single-product.php:16
61.158986961760locate_template( $template_names = [0 => 'header-shop.php', 1 => 'header.php'], $load = TRUE, $require_once = TRUE, $args = [] ).../general-template.php:48
71.158986961840load_template( $_template_file = '/var/www/osomy/wp-content/themes/flatsome/header.php', $require_once = TRUE, $args = [] ).../template.php:716
81.159086967936require_once( '/var/www/osomy/wp-content/themes/flatsome/header.php ).../template.php:770
91.159786967936wp_head( ).../header.php:10
101.159786967936do_action( $hook_name = 'wp_head' ).../general-template.php:3042
111.159786968312WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:476
121.159786968312WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:331
131.160086970544wp_enqueue_scripts( '' ).../class-wp-hook.php:307
141.160086970544do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2156
151.160086970920WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:476
161.160086970920WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:331
171.473387381616WC_Stripe_Payment_Request->scripts( '' ).../class-wp-hook.php:307
181.473387381616WC_Stripe_Payment_Request->should_show_payment_request_button( ).../class-wc-stripe-payment-request.php:758
191.482787479280WC_Product_Variable->get_available_variations( $return = ??? ).../class-wc-stripe-payment-request.php:906
201.519687715344WC_Product_Variable->get_available_variation( $variation = class WC_Product_Variation { protected $post_type = 'product_variation'; protected $parent_data = ['title' => 'Unisex backpack', 'status' => 'publish', 'sku' => '1960381460', 'manage_stock' => 'yes', 'backorders' => 'no', 'stock_quantity' => 2054, 'weight' => '1', 'length' => '45', 'width' => '35', 'height' => '10', 'tax_class' => '', 'shipping_class_id' => 0, 'image_id' => 794, 'purchase_note' => '', 'catalog_visibility' => 'visible']; protected $object_type = 'product'; protected $cache_group = 'products'; protected $data = ['name' => 'Unisex backpack', 'slug' => 'product-370-variation-1', 'date_created' => class WC_DateTime { ... }, 'date_modified' => class WC_DateTime { ... }, 'status' => 'publish', 'featured' => FALSE, 'catalog_visibility' => 'visible', 'description' => '', 'short_description' => '', 'sku' => '', 'price' => '56.28', 'regular_price' => '84.00', 'sale_price' => '56.28', 'date_on_sale_from' => NULL, 'date_on_sale_to' => NULL, 'total_sales' => '0', 'tax_status' => 'taxable', 'tax_class' => 'parent', 'manage_stock' => TRUE, 'stock_quantity' => 465, 'stock_status' => 'instock', 'backorders' => 'no', 'low_stock_amount' => '', 'sold_individually' => FALSE, 'weight' => '1', 'length' => '45', 'width' => '35', 'height' => '10', 'upsell_ids' => [...], 'cross_sell_ids' => [...], 'parent_id' => 370, 'reviews_allowed' => FALSE, 'purchase_note' => '', 'attributes' => [...], 'default_attributes' => [...], 'menu_order' => 1, 'post_password' => '', 'virtual' => FALSE, 'downloadable' => FALSE, 'category_ids' => [...], 'tag_ids' => [...], 'shipping_class_id' => 0, 'downloads' => [...], 'image_id' => 807, 'gallery_image_ids' => [...], 'download_limit' => -1, 'download_expiry' => -1, 'rating_counts' => [...], 'average_rating' => 0, 'review_count' => 0, 'attribute_summary' => '']; protected $supports = [0 => 'ajax_add_to_cart']; protected $id = 371; protected $changes = []; protected $object_read = TRUE; protected $extra_data = []; protected $default_data = ['name' => '', 'slug' => '', 'date_created' => NULL, 'date_modified' => NULL, 'status' => FALSE, 'featured' => FALSE, 'catalog_visibility' => 'visible', 'description' => '', 'short_description' => '', 'sku' => '', 'price' => '', 'regular_price' => '', 'sale_price' => '', 'date_on_sale_from' => NULL, 'date_on_sale_to' => NULL, 'total_sales' => '0', 'tax_status' => 'taxable', 'tax_class' => 'parent', 'manage_stock' => FALSE, 'stock_quantity' => NULL, 'stock_status' => 'instock', 'backorders' => 'no', 'low_stock_amount' => '', 'sold_individually' => FALSE, 'weight' => '', 'length' => '', 'width' => '', 'height' => '', 'upsell_ids' => [...], 'cross_sell_ids' => [...], 'parent_id' => 0, 'reviews_allowed' => TRUE, 'purchase_note' => '', 'attributes' => [...], 'default_attributes' => [...], 'menu_order' => 0, 'post_password' => '', 'virtual' => FALSE, 'downloadable' => FALSE, 'category_ids' => [...], 'tag_ids' => [...], 'shipping_class_id' => 0, 'downloads' => [...], 'image_id' => '', 'gallery_image_ids' => [...], 'download_limit' => -1, 'download_expiry' => -1, 'rating_counts' => [...], 'average_rating' => 0, 'review_count' => 0, 'attribute_summary' => '']; protected $data_store = class WC_Data_Store { private $instance = class WC_Product_Variation_Data_Store_CPT { ... }; private $stores = [...]; private $current_class_name = 'WC_Product_Variation_Data_Store_CPT'; private $object_type = 'product-variation' }; protected $meta_data = NULL } ).../class-wc-product-variable.php:312
211.522787654648wc_get_product_attachment_props( $attachment_id = 807, $product = ??? ).../class-wc-product-variable.php:373
221.525087666672wp_get_attachment_image_src( $attachment_id = 807, $size = 'woocommerce_single', $icon = ??? ).../wc-product-functions.php:817
231.525387667272apply_filters( $hook_name = 'wp_get_attachment_image_src', $value = [0 => 'https://osomy.com/wp-content/uploads/2019/01/Hot-unisex-backpack-Women-fashion-backpack-male-travel-backpack-mochilas-school-mens-leather-business-bag-large-laptop-shopping-travel-bag_13.jpg', 1 => 1, 2 => 1, 3 => FALSE], ...$args = variadic(807, 'woocommerce_single', FALSE) ).../media.php:992
241.525387667680WP_Hook->apply_filters( $value = [0 => 'https://osomy.com/wp-content/uploads/2019/01/Hot-unisex-backpack-Women-fashion-backpack-male-travel-backpack-mochilas-school-mens-leather-business-bag-large-laptop-shopping-travel-bag_13.jpg', 1 => 1, 2 => 1, 3 => FALSE], $args = [0 => [0 => 'https://osomy.com/wp-content/uploads/2019/01/Hot-unisex-backpack-Women-fashion-backpack-male-travel-backpack-mochilas-school-mens-leather-business-bag-large-laptop-shopping-travel-bag_13.jpg', 1 => 1, 2 => 1, 3 => FALSE], 1 => 807, 2 => 'woocommerce_single', 3 => FALSE] ).../plugin.php:191
251.525387668432WC_Regenerate_Images::maybe_resize_image( $image = [0 => 'https://osomy.com/wp-content/uploads/2019/01/Hot-unisex-backpack-Women-fashion-backpack-male-travel-backpack-mochilas-school-mens-leather-business-bag-large-laptop-shopping-travel-bag_13.jpg', 1 => 1, 2 => 1, 3 => FALSE], $attachment_id = 807, $size = 'woocommerce_single', $icon = FALSE ).../class-wp-hook.php:307
261.525387668856WC_Regenerate_Images::get_full_size_image_dimensions( $attachment_id = 807 ).../class-wc-regenerate-images.php:219