• Resolved barnez

    (@pidengmor)


    Hi,

    Today I experienced a fatal error when trying to check the settings of a CFF form. Here is the error:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "change_graphic_lib" not found or invalid function name in /home/xxxx/xxxx.com/wp-includes/class-wp-hook.php:307 Stack trace: #0 /home/xxxx/xxxx.com/wp-includes/plugin.php(189): WP_Hook->apply_filters(Array, Array) #1 /home/xxxx/xxxx.com/wp-includes/media.php(3806): apply_filters('wp_image_editor...', Array) #2 /home/xxxx/xxxx.com/wp-includes/media.php(3781): _wp_image_editor_choose(Array) #3 /home/xxxx/xxxx.com/wp-includes/media.php(3878): wp_image_editor_supports(Array) #4 /home/xxxx/xxxx.com/wp-includes/media.php(4606): wp_plupload_default_settings() #5 /home/xxxx/xxxx.com/wp-content/plugins/calculated-fields-form/inc/cpcff_admin_int.inc.php(15): wp_enqueue_media() #6 /home/xxxx/xxxx.com/wp-content/plugins/calculated-fields-form/inc/cpcff_main.inc.php(277): include_once('/home/proofs01/...') #7 /home/xxxx/xxxx.com/wp-includes/class-wp-hook.php(307): CPCFF_MAIN->admin_pages('') #8 /home/xxxx/xxxx.com/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters('', Array) #9 /home/xxxx/xxxx.com/wp-includes/plugin.php(474): WP_Hook->do_action(Array) #10 /home/xxxx/xxxx.com/wp-admin/admin.php(259): do_action('toplevel_page_c...') #11 {main} thrown in /home/xxxx/xxxx.com/wp-includes/class-wp-hook.php on line 307

    Steps to reproduce:
    1. Open Calculated Fields Form from the Settings menu
    2. Select the Settings of a form

    If I disable all other plugins and activate the Twenty-Twenty-One theme, there is no error. If I disable all other plugins and activate the Enfold theme, the error occurs.

    Therefore, the issue seems to be compatibility between the Enfold theme and Calculated Fields Form.

    Any suggestions? I can supply a copy of the theme for testing purposes if required.

    +++++++++++
    WordPress 5.9.1
    Calculated Field Form: 1.1.70
    Enfold: 4.9
    +++++++++++

    • This topic was modified 2 years, 8 months ago by barnez. Reason: fix formatting

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Uncaught TypeError’ is closed to new replies.