• Hello,
    I am developing a theme that includes an options page.
    When I activate the theme, the following error comes up above the dashboard:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘mytheme_add_admin’ was given in /home/themedir/public_html/wptest/wp-includes/plugin.php on line 339

    The theme works on the localhost server I created it on, but as soon as I upload to another wordpress installation, it breaks down.

    Any advice is much appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Which action is ‘mytheme_add_admin’ added to? Am I correct in assuming that the mytheme_add_admin function is in your theme’s functions.php file?

    What version of WordPress do you have installed on your local box, and what version is installed on the other server?

    Pat, I have no idea. But here I am giving you my moral support ??

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