( ! ) 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.0002365296{main}( ).../index.php:0
20.0003366592require( '/var/www/osomy/wp-blog-header.php ).../index.php:17
30.459956253968require_once( '/var/www/osomy/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.464756481784include( '/var/www/osomy/wp-content/themes/flatsome/woocommerce/single-product.php ).../template-loader.php:106
50.464756481784get_header( $name = 'shop', $args = ??? ).../single-product.php:16
60.464756482200locate_template( $template_names = [0 => 'header-shop.php', 1 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.464756482280load_template( $_template_file = '/var/www/osomy/wp-content/themes/flatsome/header.php', $load_once = TRUE, $args = [] ).../template.php:718
80.464756488384require_once( '/var/www/osomy/wp-content/themes/flatsome/header.php ).../template.php:783
90.465256488432wp_head( ).../header.php:10
100.465256488432do_action( $hook_name = 'wp_head' ).../general-template.php:3049
110.465256488808WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
120.465256488808WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:332
130.465456491040wp_enqueue_scripts( '' ).../class-wp-hook.php:308
140.465456491040do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2194
150.465456491416WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:517
160.465456491416WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:332
170.764356697480WC_Stripe_Payment_Request->scripts( '' ).../class-wp-hook.php:308
180.764356697480WC_Stripe_Payment_Request->should_show_payment_request_button( ).../class-wc-stripe-payment-request.php:757
190.767556803000WC_Product_Variable->get_available_variations( $return = ??? ).../class-wc-stripe-payment-request.php:902
200.778156978216WC_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.779456993936wc_get_product_attachment_props( $attachment_id = 807, $product = ??? ).../class-wc-product-variable.php:373
220.780357005992wp_get_attachment_image_src( $attachment_id = 807, $size = 'woocommerce_single', $icon = ??? ).../wc-product-functions.php:817
230.780457006592apply_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.780457007000WP_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.780457007752WC_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.780457008176WC_Regenerate_Images::get_full_size_image_dimensions( $attachment_id = 807 ).../class-wc-regenerate-images.php:219