Home › Forums › WoodMart support forum › Warning Undefined array key “width” … Warning Undefined array key “height”
Warning Undefined array key “width” … Warning Undefined array key “height”
- This topic has 4 replies, 2 voices, and was last updated 3 hours, 3 minutes ago by
Artem Temos.
-
AuthorPosts
-
March 18, 2025 at 11:12 pm #646972
pavel.vutkowParticipantHello,
I’m noticing the following errors after the latest theme updates.
https://imgur.com/a/6fhv8mW
They only occur in products.
Can you please help me fix them? Here is a full log of one of the errors:Undefined array key “width”
wp-includes/media.php:1458
wp_calculate_image_srcset()
wp-includes/media.php:1127
wp_get_attachment_image()
wp-content/themes/woodmart/inc/modules/images/functions.php:77
woodmart_otf_get_image_html()
wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php:1166
woodmart_get_product_thumbnail()
wp-content/themes/woodmart/inc/integrations/woocommerce/functions.php:1137
woodmart_template_loop_product_thumbnail()
wp-includes/class-wp-hook.php:324
do_action(‘woocommerce_before_shop_loop_item_title’)
wp-content/themes/woodmart/woocommerce/content-product-info-alt.php:19
load_template(‘wp-content/themes/woodmart/woocommerce/content-product-info-alt.php’)
wp-content/plugins/woocommerce/includes/wc-core-functions.php:285
wc_get_template_part()
wp-content/themes/woodmart/woocommerce/content-product.php:139
load_template(‘wp-content/themes/woodmart/woocommerce/content-product.php’)
wp-content/plugins/woocommerce/includes/wc-core-functions.php:285
wc_get_template_part()
wp-content/themes/woodmart/inc/shortcodes/products.php:580
woodmart_shortcode_products()
wp-includes/shortcodes.php:434
do_shortcode_tag()
wp-includes/shortcodes.php:434
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/plugins/js_composer/include/helpers/helpers.php:328
wpb_js_remove_wpautop()
wp-content/plugins/js_composer/include/templates/shortcodes/vc_column.php:103
WPBakeryShortCode->loadTemplate()
wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:504
WPBakeryShortCode->content()
wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:641
WPBakeryShortCode->output()
wp-content/plugins/js_composer/include/helpers/helpers.php:1419
vc_do_shortcode()
wp-includes/shortcodes.php:434
do_shortcode_tag()
wp-includes/shortcodes.php:434
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/plugins/js_composer/include/helpers/helpers.php:328
wpb_js_remove_wpautop()
wp-content/plugins/js_composer/include/templates/shortcodes/vc_row.php:175
WPBakeryShortCode->loadTemplate()
wp-content/plugins/js_composer/include/classes/shortcodes/vc-row.php:62
WPBakeryShortCode_Vc_Row->content()
wp-content/plugins/js_composer/include/classes/shortcodes/core/class-wpbakeryshortcode.php:641
WPBakeryShortCode->output()
wp-content/plugins/js_composer/include/helpers/helpers.php:1419
vc_do_shortcode()
wp-includes/shortcodes.php:434
do_shortcode_tag()
wp-includes/shortcodes.php:434
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/themes/woodmart/inc/functions.php:522
woodmart_get_html_block()
wp-content/themes/woodmart/inc/shortcodes/html-block.php:21
woodmart_html_block_shortcode()
wp-includes/shortcodes.php:434
do_shortcode_tag()
wp-includes/shortcodes.php:434
preg_replace_callback()
wp-includes/shortcodes.php:273
do_shortcode()
wp-content/themes/woodmart/inc/integrations/woocommerce/modules/brands.php:222
woodmart_product_brand_tab_content()
wp-content/themes/woodmart/woocommerce/single-product/tabs/tabs.php:149
wc_get_template()
wp-content/plugins/woocommerce/includes/wc-template-functions.php:1780
woocommerce_output_product_data_tabs()
wp-includes/class-wp-hook.php:324
do_action(‘woocommerce_after_single_product_summary’)
wp-content/themes/woodmart/woocommerce/content-single-product.php:262
load_template(‘wp-content/themes/woodmart/woocommerce/content-single-product.php’)
wp-content/plugins/woocommerce/includes/wc-core-functions.php:285
wc_get_template_part()
wp-content/themes/woodmart/woocommerce/single-product.php:41March 19, 2025 at 10:05 am #647050
Artem TemosKeymasterHello,
Please provide us with your admin access so we can log in and check this on your end.
Thank you in advance.
March 19, 2025 at 3:21 pm #647224
pavel.vutkowParticipantHello,
I am attaching the login link, which you can see in the query monitoring by opening a product.Please keep in mind that the site is production.
Regards,
PavelMarch 19, 2025 at 3:24 pm #647227
pavel.vutkowParticipantFo example products.
March 19, 2025 at 5:22 pm #647283
Artem TemosKeymasterCould you please send us your FTP access as well?
-
AuthorPosts
- You must be logged in to create new topics. Login / Register