WordPress.org

Ready to get started?Download WordPress

Forums

Ascetica
[resolved] Warning text shown on site after update to 0.3 (7 posts)

  1. magdor
    Member
    Posted 1 year ago #

    After the update to version 0.3 the following warning is now shown at the top of every page/post

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, function 'ascetica_style_settings' not found or invalid function name in /<.....>/wp-includes/plugin.php on line 406

    This is where it is all happening: http://www.liefde30.nl

    The above function is not used in the child functions.php

  2. Griden
    Member
    Theme Author

    Posted 1 year ago #

    Thanks for reporting this. I'll upload a fix in a couple of days - after collecting some more feedback.

    Till then you can disable the debugging mode in wp-config.php and that warning should disappear.

  3. magdor
    Member
    Posted 1 year ago #

    The scary part is that debugging mode is already disabled:

    define('WP_DEBUG', false);

    Or does this use reverse logic?

  4. Griden
    Member
    Theme Author

    Posted 1 year ago #

    I don't see it even with debug enabled, but lines 72-73 from functions.php are now obsolete and can be removed:

    /* Style settings */
    add_action( 'wp_head', 'ascetica_style_settings' );
  5. magdor
    Member
    Posted 1 year ago #

    Ok, I commented out the offending line and all is well now.

  6. magdor
    Member
    Posted 1 year ago #

    Resolved.

  7. Niala
    Member
    Posted 1 year ago #

    Hello,

    i have same problem, I currently trying to settle the problem with your solution, but I started in wordpress.
    I think I'll wait for an update

    I take this message to the creator of the theme
    This is an excellent work, I use it for my first site, it is an excellent wordpress's theme

    Have a nice day

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.