( ! ) 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.574796128032require_once( '/var/www/osomy/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.579596414368include( '/var/www/osomy/wp-content/themes/flatsome/woocommerce/single-product.php ).../template-loader.php:106
50.579596414368get_header( $name = 'shop', $args = ??? ).../single-product.php:16
60.579596414784locate_template( $template_names = [0 => 'header-shop.php', 1 => 'header.php'], $load = TRUE, $require_once = TRUE, $args = [] ).../general-template.php:48
70.579596414864load_template( $_template_file = '/var/www/osomy/wp-content/themes/flatsome/header.php', $require_once = TRUE, $args = [] ).../template.php:718
80.579596420968require_once( '/var/www/osomy/wp-content/themes/flatsome/header.php ).../template.php:783
90.580096421016wp_head( ).../header.php:10
100.580096421016do_action( $hook_name = 'wp_head' ).../general-template.php:3043
110.580096421392WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
120.580096421392WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:332
130.580196423624wp_enqueue_scripts( '' ).../class-wp-hook.php:308
140.580196423624do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2180
150.580196424000WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
160.580196424000WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:332
170.898996836104WC_Stripe_Payment_Request->scripts( '' ).../class-wp-hook.php:308
180.898996836104WC_Stripe_Payment_Request->should_show_payment_request_button( ).../class-wc-stripe-payment-request.php:757
190.907996941240WC_Product_Variable->get_available_variations( $return = ??? ).../class-wc-stripe-payment-request.php:905
200.930097183616WC_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; protected $legacy_datastore_props = [] } ).../class-wc-product-variable.php:312
210.931297124760wc_get_product_attachment_props( $attachment_id = 807, $product = ??? ).../class-wc-product-variable.php:373
220.932197137104wp_get_attachment_image_src( $attachment_id = 807, $size = 'woocommerce_single', $icon = ??? ).../wc-product-functions.php:848
230.932297137704apply_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
240.932297138112WP_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:205
250.932297138864WC_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:308
260.932297139288WC_Regenerate_Images::get_full_size_image_dimensions( $attachment_id = 807 ).../class-wc-regenerate-images.php:219