• Resolved GhostReader

    (@ghostreader)


    This is my favorite theme and I really want to use it, but it keeps throwing up errors all over the place.

    When I go to add a post, it says this:
    “Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘_category_transient_flusher’ was given in /home/content/28/9370628/html/ninjauno/wp-includes/plugin.php on line 470”

    And then when I hit Publish, this happens:

    “Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘_category_transient_flusher’ was given in /home/content/28/9370628/html/ninjauno/wp-includes/plugin.php on line 470

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, ‘_category_transient_flusher’ was given in /home/content/28/9370628/html/ninjauno/wp-includes/plugin.php on line 470

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/28/9370628/html/ninjauno/wp-includes/plugin.php:470) in /home/content/28/9370628/html/ninjauno/wp-admin/post.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/28/9370628/html/ninjauno/wp-includes/plugin.php:470) in /home/content/28/9370628/html/ninjauno/wp-includes/pluggable.php on line 1121″

    That’s all the page says. It completely kicks me out of the dashboard.
    I thought it might be a problem with my WP install, but I tried the same with other themes on the same site and they all worked just fine.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Theme Author Modern WP Themes

    (@modern-wp-themes)

    Go to the theme directory and open this “/simply-vision/inc/template-tags.php” and replace the below code:- on line 232 and 233

    find this below code and

    add_action( ‘edit_category’, ‘_category_transient_flusher’ );
    add_action( ‘save_post’, ‘_category_transient_flusher’ );

    replace with this one

    add_action( ‘edit_category’, ‘modernwpthemes_category_transient_flusher’ );
    add_action( ‘save_post’, ‘modernwpthemes_category_transient_flusher’ );

    Hope it will work for you.

    Modern WP Themes, you saved my life.

    Thank you very very very very much!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Perfect Visually, But Keeps Throwing Up Exceptions’ is closed to new replies.