WordPress.org

Support

error warning

  • 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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Tara

    @t-p

    Volunteer Moderator

    not sure if because I just downloaded latest WordPress update

    You updated from what version?

    try disable plugins if any activated…

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

    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

    Tara

    @t-p

    Volunteer Moderator

    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.

    OK, will do – thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘error warning’ is closed to new replies.