WordPress.org

Ready to get started?Download WordPress

Forums

warning displayed on all pages (5 posts)

  1. fschroth
    Member
    Posted 7 years ago #

    I inistalled the theme ChaoticSoul and all my pages (can be viewed at http://www.towntribune.net)display the following at the top of the screen:
    Warning: call_user_func_array() [function.call-user-func-array]: First argumented is expected to be a valid callback, 'header_style' was given in /home/franksch/public_html/towntribune/wp-includes/plugin.php on line 123

    It seems like something got misplaced during install. Any help is greatly appreciated. Thanks
    - Frank

  2. Samuel B
    moderator
    Posted 7 years ago #

    Deactivate all plugins - test - reactivate one by one, testing in between.

  3. fschroth
    Member
    Posted 7 years ago #

    From top WordPress menu I select "Plugins" - there are only two listed:
    "Akismet" and
    "Hello Dolly"
    but neither appears activated (it displays "Activate" aftrer each. Is there another place for me to look?

  4. Samuel Wood (Otto)
    Tech Ninja
    Posted 7 years ago #

    I took a look at it. Version 1.2 of that theme is broken due to incorrect coding (somebody didn't quite know what they were doing there).

    Edit the theme's functions.php file. At the very bottom, you'll find this:
    add_custom_image_header('header_style','admin_header_style');

    Change that to this:
    //add_custom_image_header('header_style','admin_header_style');

    That'll eliminate the problem.

  5. fschroth
    Member
    Posted 7 years ago #

    Otto - That fixed it. Thanks a Million! (I never would have found that.)
    -Frank

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags