• Resolved liamgreen

    (@liamgreen)


    Hello,

    I’m getting this error when i’m in the customiser

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘material_gaze_default_backgrounds’ not found or invalid function name in /home/liamgre1/public_html/domains/mine/greenie/wp-includes/plugin.php on line 213

    Warning: array_merge(): Argument #1 is not an array in /home/liamgre1/public_html/domains/mine/greenie/wp-content/themes/stargazer/inc/custom-background.php on line 74

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Marty Helmick

    (@m-e-h)

    Thanks @liamgreen and sorry about that.
    I submitted the fixed version a couple weeks ago. Not sure why it hasn’t been published yet.

    Basically, I overlooked an unused filter call in the functions.php file.

    Until the version 1.0.2 gets published you can simply remove this line from the functions.php to get rid of that error.
    add_filter( 'hybrid_default_backgrounds', 'material_gaze_default_backgrounds' );

    Theme Author Marty Helmick

    (@m-e-h)

    This has been fixed.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in Customiser’ is closed to new replies.