WordPress.org

Forums

error warning (7 posts)

  1. ashleyjhayes
    Member
    Posted 12 months ago #

    Hello,
    Trying to get to grips with WordPress having let other people set up and run my website for last 5 years. Now have this warning below and not sure if because I just downloaded latest WordPress update or was trying to delete 1000's of nonsense comments, can anyone help please?

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'my_init' was given in /var/sites/t/thecotswoldwalkingcompany.com/public_html/wp-includes/plugin.php on line 429

  2. Tara
    Member
    Posted 12 months ago #

    not sure if because I just downloaded latest WordPress update

    You updated from what version?

  3. Altaf Hussain Patel
    Member
    Posted 12 months ago #

    try disable plugins if any activated...

  4. ashleyjhayes
    Member
    Posted 12 months ago #

    not exactly sure, it just said that that new version was available and click to update.

  5. ashleyjhayes
    Member
    Posted 12 months ago #

    Have now disabled plugins but the same two error warnings still appear at the top of my website page:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'my_init' was given in /var/sites/t/thecotswoldwalkingcompany.com/public_html/wp-includes/plugin.php on line 429

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'create_post_type' was given in /var/sites/t/thecotswoldwalkingcompany.com/public_html/wp-includes/plugin.php on line 429 - See more at: http://thecotswoldwalkingcompany.com/#sthash.MDpERByM.dpuf

  6. Tara
    Member
    Posted 12 months ago #

    not exactly sure,

    The reason I asked was that:
    - First, the database ( DB ) structure often changes between versions.
    -Second, if updating an older version, its better to to do incremental update.

    Anyhow, try checking the error logs on your server for a more specific error message. If you need help locating them, ask your hosting provider to help you with that.

  7. ashleyjhayes
    Member
    Posted 12 months ago #

    OK, will do - thanks

Reply

You must log in to post.

About this Topic

Tags