• Creato

    (@creatomatic)


    Hello again,

    class-kadence-blocks-image-picker.php on line 100 checks for the existence of the medium image size but then goes on to use medium_large.

    The error generated:

    An error of type E_ERROR was caused in line 100 of the file wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-image-picker.php. Error message: Uncaught TypeError: array_merge(): Argument #2 must be of type array, null given in wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-image-picker.php:100
    Stack trace: 0 wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-image-picker.php(100): array_merge() 1 wp-content/plugins/kadence-blocks/includes/class-kadence-blocks-image-picker.php(84): Kadence_Blocks_Image_Picker->get_image_sizes() 2 wp-includes/class-wp-hook.php(310): Kadence_Blocks_Image_Picker->enqueue_media() 3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 4 wp-includes/plugin.php(517): WP_Hook->do_action() 5 wp-includes/media.php(4913): do_action() 6 wp-content/themes/wc-300/functions.php(555): wp_enqueue_media() 7 wp-includes/class-wp-hook.php(310): my_admin_scripts() 8 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 9 wp-includes/plugin.php(517): WP_Hook->do_action() 10 wp-admin/admin-header.php(118): do_action() 11 wp-admin/edit.php(407): require_once() 12 {main}

    Some themes will disable this image size if not in use. Please check the existence of it correctly.

    Best regards

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Bug with image sizes introduced in Kadence 3.1.16’ is closed to new replies.