• If you plugin is active, the theme customiser throws a fatal error (regardless of which theme used), php error log (php 8.3):

    Stack trace:
    #0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #1 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #2 /wp-includes/class-wp-customize-manager.php(947): do_action('customize_regis...', Object(WP_Customize_Manager))
    #3 /wp-includes/class-wp-hook.php(324): WP_Customize_Manager->wp_loaded('')
    #4 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
    #5 /wp-includes/plugin.php(517): WP_Hook->do_action(Array)
    #6 /wp-settings.php(726): do_action('wp_loaded')
    #7 /wp-config.php(92): require_once('/home/htdocs/u3...')
    #8 /wp-load.php(50): require_once('/home/htdocs/u3...')
    #9 /wp-admin/admin.php(34): require_once('/home/htdocs/u3...')
    #10 /wp-admin/customize.php(13): require_once('/home/htdocs/u3...')
    #11 {main}
    thrown in /wp-includes/class-wp-hook.php on line 324
    [23-Jan-2025 21:21:07 UTC] PHP Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, function "color_picker" not found or invalid function name in /wp-includes/class-wp-hook.php:324
    Stack trace:
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Poodle Plugins

    (@poodleplugins)

    Ouch! I’ll look at that straight away and release a fix @harmr , thanks for mentioning it.

    Update: line 59 in class-wp-dev-flag-settings.php is causing this issue:

    add_action( 'customize_register', 'color_picker' );

    Not sure how to fix this, so I disabled the line and customiser worked again.

    Plugin Author Poodle Plugins

    (@poodleplugins)

    @harmr I’ve just released a fix for this, if you update the plugin it should resolve it. Thanks for bringing it to my attention!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Plugin breaks theme customiser’ is closed to new replies.