[wp-testers] Warning: call_user_func_array()

Emil Uzelac emil at themeid.com
Mon Mar 7 09:29:14 UTC 2011


Hey Guys,

Quick question. I am testing multisite on a fresh install, no upgrades. Site
is located at example.com/dev/ so it is not a sub-domain. Now the Theme that
I am working on works great on non-multisite, however when activated in
multisite it gives me this error:

Warning: call_user_func_array() [function.call-user-func-array]: First
argument is expected to be a valid callback, 'header_style' was given in
/dev/wp-includes/plugin.php on line 395

This is http://pastebin.com/VFQV1ijB what I have in functions.php and
http://pastebin.com/9exbQBy0 in header.php.

Once again this happens only if I activate the Theme in multisite.
Of course everything works well if add_custom_image_header is removed from
functions.php

I am sure that this looks like an issue from my end, but need to check with
you first.

PS No plugins installed, not a single one.

Cheers,
Emil



*Emil Uzelac* | ThemeID | T: 224-444-0006 | Twitter: @EmilUzelac | E:
emil at themeid.com | http://themeid.com
Make everything as simple as possible, but not simpler. - Albert Einstein


More information about the wp-testers mailing list