( ! ) 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 |
# | Time | Memory | Function | Location |
1 | 0.0002 | 368344 | {main}( ) | .../index.php:0 |
2 | 0.0002 | 368664 | require( '/var/www/osomy/wp-blog-header.php ) | .../index.php:17 |
3 | 0.8077 | 56415736 | require_once( '/var/www/osomy/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.8162 | 56683848 | include( '/var/www/osomy/wp-content/themes/flatsome/woocommerce/single-product.php ) | .../template-loader.php:106 |
5 | 0.8162 | 56683848 | get_header( $name = 'shop', $args = ??? ) | .../single-product.php:16 |
6 | 0.8162 | 56684264 | locate_template( $template_names = [0 => 'header-shop.php', 1 => 'header.php'], $load = TRUE, $require_once = TRUE, $args = [] ) | .../general-template.php:48 |
7 | 0.8162 | 56684344 | load_template( $_template_file = '/var/www/osomy/wp-content/themes/flatsome/header.php', $require_once = TRUE, $args = [] ) | .../template.php:716 |
8 | 0.8163 | 56690448 | require_once( '/var/www/osomy/wp-content/themes/flatsome/header.php ) | .../template.php:770 |
9 | 0.8172 | 56690448 | wp_head( ) | .../header.php:10 |
10 | 0.8172 | 56690448 | do_action( $hook_name = 'wp_head' ) | .../general-template.php:3042 |
11 | 0.8172 | 56690824 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:476 |
12 | 0.8172 | 56690824 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:331 |
13 | 0.8175 | 56693056 | wp_enqueue_scripts( '' ) | .../class-wp-hook.php:307 |
14 | 0.8175 | 56693056 | do_action( $hook_name = 'wp_enqueue_scripts' ) | .../script-loader.php:2156 |
15 | 0.8175 | 56693432 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:476 |
16 | 0.8175 | 56693432 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:331 |
17 | 1.1041 | 56787856 | WC_Stripe_Payment_Request->scripts( '' ) | .../class-wp-hook.php:307 |
18 | 1.1041 | 56787856 | WC_Stripe_Payment_Request->should_show_payment_request_button( ) | .../class-wc-stripe-payment-request.php:758 |
19 | 1.1129 | 56929024 | WC_Product_Variable->get_available_variations( $return = ??? ) | .../class-wc-stripe-payment-request.php:906 |
20 | 1.1476 | 57302032 | WC_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 } ) | .../class-wc-product-variable.php:312 |
21 | 1.1489 | 57304320 | wc_get_product_attachment_props( $attachment_id = 344, $product = ??? ) | .../class-wc-product-variable.php:373 |
22 | 1.1502 | 57317640 | wp_get_attachment_image_src( $attachment_id = 344, $size = 'woocommerce_single', $icon = ??? ) | .../wc-product-functions.php:817 |
23 | 1.1503 | 57318272 | apply_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 |
24 | 1.1503 | 57318680 | WP_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:191 |
25 | 1.1503 | 57319432 | WC_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:307 |
26 | 1.1503 | 57319432 | WC_Regenerate_Images::get_full_size_image_dimensions( $attachment_id = 344 ) | .../class-wc-regenerate-images.php:219 |