( ! ) 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 | 365296 | {main}( ) | .../index.php:0 |
2 | 0.0003 | 366592 | require( '/var/www/osomy/wp-blog-header.php ) | .../index.php:17 |
3 | 0.4599 | 56253968 | require_once( '/var/www/osomy/wp-includes/template-loader.php ) | .../wp-blog-header.php:19 |
4 | 0.4647 | 56481784 | include( '/var/www/osomy/wp-content/themes/flatsome/woocommerce/single-product.php ) | .../template-loader.php:106 |
5 | 0.4647 | 56481784 | get_header( $name = 'shop', $args = ??? ) | .../single-product.php:16 |
6 | 0.4647 | 56482200 | locate_template( $template_names = [0 => 'header-shop.php', 1 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ) | .../general-template.php:48 |
7 | 0.4647 | 56482280 | load_template( $_template_file = '/var/www/osomy/wp-content/themes/flatsome/header.php', $load_once = TRUE, $args = [] ) | .../template.php:718 |
8 | 0.4647 | 56488384 | require_once( '/var/www/osomy/wp-content/themes/flatsome/header.php ) | .../template.php:783 |
9 | 0.4652 | 56488432 | wp_head( ) | .../header.php:10 |
10 | 0.4652 | 56488432 | do_action( $hook_name = 'wp_head' ) | .../general-template.php:3049 |
11 | 0.4652 | 56488808 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
12 | 0.4652 | 56488808 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:332 |
13 | 0.4654 | 56491040 | wp_enqueue_scripts( '' ) | .../class-wp-hook.php:308 |
14 | 0.4654 | 56491040 | do_action( $hook_name = 'wp_enqueue_scripts' ) | .../script-loader.php:2194 |
15 | 0.4654 | 56491416 | WP_Hook->do_action( $args = [0 => ''] ) | .../plugin.php:517 |
16 | 0.4654 | 56491416 | WP_Hook->apply_filters( $value = '', $args = [0 => ''] ) | .../class-wp-hook.php:332 |
17 | 0.7643 | 56697480 | WC_Stripe_Payment_Request->scripts( '' ) | .../class-wp-hook.php:308 |
18 | 0.7643 | 56697480 | WC_Stripe_Payment_Request->should_show_payment_request_button( ) | .../class-wc-stripe-payment-request.php:757 |
19 | 0.7675 | 56803000 | WC_Product_Variable->get_available_variations( $return = ??? ) | .../class-wc-stripe-payment-request.php:902 |
20 | 0.7781 | 56978216 | WC_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 |
21 | 0.7794 | 56993936 | wc_get_product_attachment_props( $attachment_id = 807, $product = ??? ) | .../class-wc-product-variable.php:373 |
22 | 0.7803 | 57005992 | wp_get_attachment_image_src( $attachment_id = 807, $size = 'woocommerce_single', $icon = ??? ) | .../wc-product-functions.php:817 |
23 | 0.7804 | 57006592 | apply_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 |
24 | 0.7804 | 57007000 | WP_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 |
25 | 0.7804 | 57007752 | WC_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 |
26 | 0.7804 | 57008176 | WC_Regenerate_Images::get_full_size_image_dimensions( $attachment_id = 807 ) | .../class-wc-regenerate-images.php:219 |