Quantcast
Channel: StudioPress Community ForumsStudioPress Community Forums
Viewing all articles
Browse latest Browse all 9

call_user_func_array error, associate theme

$
0
0

I use Associate on 2 websites. I upgraded to Genesis 1.9.2. Today. I noticed that I am getting this error on the backend at Appearance > Heading which is the Custom Header page for Associate:
Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'associate_admin_style' not found or invalid function name in .... /wp-includes/plugin.php on line 406.
It looks like it's referencing this code in the functions.php file for the associate theme:
/** Add support for custom header */
add_theme_support( 'genesis-custom-header', array( 'width' => 960, 'height' => 120, 'textcolor' => 'ffffff', 'admin_header_callback' => 'associate_admin_style' ) );

If I remove this "add" then the whole backend header page goes away. I am not sure what callback does. Does this associate_admin_style still exist after the Genesis upgrade? Where can I find the associate_admin_style that the "add...callback" references?
My client sees the backend and she will question this error. Any help/feedback is appreciated.


Viewing all articles
Browse latest Browse all 9

Latest Images

Trending Articles





Latest Images