Warning: Illegal string offset 'sizes' in /home/afewleft/domains/modepolitie.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php on line 365

Fatal error: Uncaught Error: Cannot use string offset as an array in /home/afewleft/domains/modepolitie.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php:365 Stack trace: #0 /home/afewleft/domains/modepolitie.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php(228): WC_Regenerate_Images::resize_and_return_image(353166, Array, 'woocommerce_thu...', false) #1 /home/afewleft/domains/modepolitie.com/public_html/wp-includes/class-wp-hook.php(286): WC_Regenerate_Images::maybe_resize_image(Array, 353166, 'woocommerce_thu...', false) #2 /home/afewleft/domains/modepolitie.com/public_html/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array) #3 /home/afewleft/domains/modepolitie.com/public_html/wp-includes/media.php(851): apply_filters('wp_get_attachme...', Array, 353166, 'woocommerce_thu...', false) #4 /home/afewleft/domains/modepolitie.com/public_html/wp-content/themes/flatsome/woocommerce/single-product/product-gallery-thumbnails.php(74): wp_get_ in /home/afewleft/domains/modepolitie.com/public_html/wp-content/plugins/woocommerce/includes/class-wc-regenerate-images.php on line 365