( ! ) 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.0002365360{main}( ).../index.php:0
20.0003366608require( '/var/www/osomy/wp-blog-header.php ).../index.php:17
30.599593701048require_once( '/var/www/osomy/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.603993983888include( '/var/www/osomy/wp-content/themes/flatsome/woocommerce/single-product.php ).../template-loader.php:106
50.603993983888get_header( $name = 'shop', $args = ??? ).../single-product.php:16
60.603993984304locate_template( $template_names = [0 => 'header-shop.php', 1 => 'header.php'], $load = TRUE, $require_once = TRUE, $args = [] ).../general-template.php:48
70.603993984384load_template( $_template_file = '/var/www/osomy/wp-content/themes/flatsome/header.php', $require_once = TRUE, $args = [] ).../template.php:718
80.604093990520require_once( '/var/www/osomy/wp-content/themes/flatsome/header.php ).../template.php:783
90.604493990568wp_head( ).../header.php:10
100.604493990568do_action( $hook_name = 'wp_head' ).../general-template.php:3043
110.604493990944WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
120.604493990944WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:332
130.604693993176wp_enqueue_scripts( '' ).../class-wp-hook.php:308
140.604693993176do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2180
150.604693993552WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
160.604693993552WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:332
170.939394089352WC_Stripe_Payment_Request->scripts( '' ).../class-wp-hook.php:308
180.939394089352WC_Stripe_Payment_Request->should_show_payment_request_button( ).../class-wc-stripe-payment-request.php:757
190.944394288128WC_Product_Variable->get_available_variations( $return = ??? ).../class-wc-stripe-payment-request.php:905
200.965794600072WC_Product_Variable->get_available_variation( $variation = class WC_Product_Variation { protected $post_type = 'product_variation'; protected $parent_data = ['title' => 'Leather Handbag', 'status' => 'publish', 'sku' => '32802143342', 'manage_stock' => 'yes', 'backorders' => 'no', 'stock_quantity' => 102650, 'weight' => '0.63', 'length' => '30', 'width' => '10', 'height' => '30', 'tax_class' => 'zero-rate', 'shipping_class_id' => 0, 'image_id' => 367, 'purchase_note' => '', 'catalog_visibility' => 'visible']; protected $object_type = 'product'; protected $cache_group = 'products'; protected $data = ['name' => 'Leather Handbag - coffee', 'slug' => 'product-552-variation-2', 'date_created' => class WC_DateTime { ... }, 'date_modified' => class WC_DateTime { ... }, 'status' => 'publish', 'featured' => FALSE, 'catalog_visibility' => 'visible', 'description' => '', 'short_description' => '', 'sku' => '', 'price' => '30.86', 'regular_price' => '60.50', 'sale_price' => '30.86', 'date_on_sale_from' => NULL, 'date_on_sale_to' => NULL, 'total_sales' => '0', 'tax_status' => 'none', 'tax_class' => 'parent', 'manage_stock' => TRUE, 'stock_quantity' => 10870, 'stock_status' => 'instock', 'backorders' => 'no', 'low_stock_amount' => '', 'sold_individually' => FALSE, 'weight' => '0.63', 'length' => '30', 'width' => '10', 'height' => '30', 'upsell_ids' => [...], 'cross_sell_ids' => [...], 'parent_id' => 552, 'reviews_allowed' => FALSE, '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' => 344, 'gallery_image_ids' => [...], 'download_limit' => -1, 'download_expiry' => -1, 'rating_counts' => [...], 'average_rating' => 0, 'review_count' => 0, 'attribute_summary' => 'Color: coffee']; protected $supports = [0 => 'ajax_add_to_cart']; protected $id = 554; 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; protected $legacy_datastore_props = [] } ).../class-wc-product-variable.php:312
210.966394602624wc_get_product_attachment_props( $attachment_id = 344, $product = ??? ).../class-wc-product-variable.php:373
220.967094615152wp_get_attachment_image_src( $attachment_id = 344, $size = 'woocommerce_single', $icon = ??? ).../wc-product-functions.php:817
230.967194615784apply_filters( $hook_name = 'wp_get_attachment_image_src', $value = [0 => 'https://osomy.com/wp-content/uploads/https://ae01.alicdn.com/kf/HTB1PWyASpXXXXXGapXXq6xXFXXXR/ACELURE-Leather-Handbags-Big-Women-Bag-High-Quality-Casual-Female-Bags-Trunk-Tote-Spanish-Brand-Shoulder.jpg', 1 => 1, 2 => 1, 3 => FALSE], ...$args = variadic(344, 'woocommerce_single', FALSE) ).../media.php:992
240.967194616192WP_Hook->apply_filters( $value = [0 => 'https://osomy.com/wp-content/uploads/https://ae01.alicdn.com/kf/HTB1PWyASpXXXXXGapXXq6xXFXXXR/ACELURE-Leather-Handbags-Big-Women-Bag-High-Quality-Casual-Female-Bags-Trunk-Tote-Spanish-Brand-Shoulder.jpg', 1 => 1, 2 => 1, 3 => FALSE], $args = [0 => [0 => 'https://osomy.com/wp-content/uploads/https://ae01.alicdn.com/kf/HTB1PWyASpXXXXXGapXXq6xXFXXXR/ACELURE-Leather-Handbags-Big-Women-Bag-High-Quality-Casual-Female-Bags-Trunk-Tote-Spanish-Brand-Shoulder.jpg', 1 => 1, 2 => 1, 3 => FALSE], 1 => 344, 2 => 'woocommerce_single', 3 => FALSE] ).../plugin.php:205
250.967194616944WC_Regenerate_Images::maybe_resize_image( $image = [0 => 'https://osomy.com/wp-content/uploads/https://ae01.alicdn.com/kf/HTB1PWyASpXXXXXGapXXq6xXFXXXR/ACELURE-Leather-Handbags-Big-Women-Bag-High-Quality-Casual-Female-Bags-Trunk-Tote-Spanish-Brand-Shoulder.jpg', 1 => 1, 2 => 1, 3 => FALSE], $attachment_id = 344, $size = 'woocommerce_single', $icon = FALSE ).../class-wp-hook.php:308
260.967194616944WC_Regenerate_Images::get_full_size_image_dimensions( $attachment_id = 344 ).../class-wc-regenerate-images.php:219