Warning: Undefined array key "image_id" in /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/inc/plugins/woocommerce/function.php on line 1014

Fatal error: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/inc/plugins/woocommerce/function.php:1014 Stack trace: #0 /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/inc/plugins/woocommerce/function.php(1014): array_merge() #1 /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/woocommerce/single-product/product-image.php(26): the4_woo_get_variable_gallery() #2 /www/public_html/wp.the4.co/kalles/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #3 /www/public_html/wp.the4.co/kalles/wp-content/plugins/woocommerce/includes/wc-template-functions.php(1550): wc_get_template() #4 /www/public_html/wp.the4.co/kalles/wp-includes/class-wp-hook.php(308): woocommerce_show_product_images() #5 /www/public_html/wp.the4.co/kalles/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #6 /www/public_html/wp.the4.co/kalles/wp-includes/plugin.php(517): WP_Hook->do_action() #7 /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/woocommerce/extras/single/layout-1.php(71): do_action() #8 /www/public_html/wp.the4.co/kalles/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('...') #9 /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/woocommerce/content-single-product.php(25): wc_get_template() #10 /www/public_html/wp.the4.co/kalles/wp-includes/template.php(785): require('...') #11 /www/public_html/wp.the4.co/kalles/wp-content/plugins/woocommerce/includes/wc-core-functions.php(284): load_template() #12 /www/public_html/wp.the4.co/kalles/wp-content/plugins/woocommerce/includes/wc-template-functions.php(971): wc_get_template_part() #13 /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/woocommerce.php(21): woocommerce_content() #14 /www/public_html/wp.the4.co/kalles/wp-includes/template-loader.php(106): include('...') #15 /www/public_html/wp.the4.co/kalles/wp-blog-header.php(19): require_once('...') #16 /www/public_html/wp.the4.co/kalles/index.php(17): require('...') #17 {main} thrown in /www/public_html/wp.the4.co/kalles/wp-content/themes/kalles/inc/plugins/woocommerce/function.php on line 1014