• Resolved MarjoriesDaughter

    (@marjoriesdaughter)


    Smush installed and ran on existing images just fine. But when my client tried to create a new post with a custom post type, the Draft Preview threw this error.

    Note: I have removed project and server specific information from the paths.

    Fatal error: Uncaught ArgumentCountError: Too few arguments to function Smush\Core\Core::big_image_size_threshold(), 1 passed in /wp-includes/class-wp-hook.php on line 287 and exactly 4 expected in /wp-content/plugins/wp-smushit/core/class-core.php:662 Stack trace: #0 /wp-includes/class-wp-hook.php(287): Smush\Core\Core->big_image_size_threshold(2560) #1 /wp-includes/plugin.php(206): WP_Hook->apply_filters(2560, Array) #2 /wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields/image.php(36): apply_filters(‘big_image_size_…’, 2560) #3 /wp-includes/class-wp-hook.php(289): WPCF_Fields::{closure}(”) #4/wp-includes/plugin.php(206): WP_Hook->apply_filters(”, Array) #5 /wp-content/plugins/types/vendor/toolset/toolset-common/toolset-forms/classes/class.types.php(359): apply_filters(‘wpcf_fields_typ…’, ‘ in /wp-content/plugins/wp-smushit/core/class-core.php on line 662

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Are Smush and Toolset Types Incompatible?’ is closed to new replies.