WordPress.org

Ready to get started?Download WordPress

Forums

Error message: Warning: call_user_func_array() (8 posts)

  1. drgene113
    Member
    Posted 5 years ago #

    I am getting an error that suddenly appeared on my Web site:
    http://www.mmti.org/podcasts/massagetherapy

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'sfg_404' was given in /home/drgenelmt/mmti.org/podcasts/massagetherapy/wp-includes/plugin.php on line 339

    Can anyone help?
    Thanks,
    Gene

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    Have you installed any new plugins recently?

  3. drgene113
    Member
    Posted 5 years ago #

    Yes, I have a ton installed but dont know which one might be causing this.

    Does the sfg_404 refer to any typical plugin?
    Gene

  4. esmi
    Forum Moderator
    Posted 5 years ago #

    Impossible to say from here. I don't think there's any easy way to do this. I'd suggest that you bite the bullet, deactivate all of your plugins and then reactivate them one-by-one. Test the site after each reactivation. Eventually, you'll narrow it down to a single plugin. It's then a case of deciding whether this is a case of a single faulty plugin or, worst case, you have two plugins that are conflicting with one another.

    If the problem only appeared recently, then it's like;ly to be associated with a plugin that you installed recently.

  5. drgene113
    Member
    Posted 5 years ago #

    I am almost done deactivating my plugins.
    If that doesn't solve it, could it be a database problem?

    If I were to delete all pliufgins from the plugin folder, without deactivating them, would that leave behind code that deactivating a plugin automaticvally removes?

    I ask because it might just be easier for me to delete everything and start over.

    Gene

  6. esmi
    Forum Moderator
    Posted 5 years ago #

    If you look at the original error message plugin.php is the script that's currently generating an error. Line 339 is the sections of plugin.php that hooks a function to a specific action. So, unless you've added an action within functions.php, the most likely cause would seem to be a plugin. That said, plugins do store settings in the wp_options table, so I suppose, if that table was damaged, it could generate an error like this. I'd just expect to see far more errors.

    If it comes to it, a clean install might be the only way to get rid of this but hopefully, you'll be able to pin it on just 1 plugin.

  7. drgene113
    Member
    Posted 5 years ago #

    I discovered that it was the Simple Forum plugin.
    I think during an upgrade, something got screwed up.

    It's working fine on my other blogs so this is odd.
    I inactivarted the plugin, deleted the files from the directory abnd removed all references to any sf.... table in the database.

    When I recopied the files to attempt to reactivate the plugin I got a permalink error.

    Very frustrating!

    Thanks you for your help. Any other suggestions?
    Gene

  8. esmi
    Forum Moderator
    Posted 5 years ago #

    When you re-uploaded the plugin, did you use a fresh copy/download?

    It's possible that it could be a conflict between Simple Forum and one of your other plugins, bit as you say that you have quite few plugins, trying to pin down a conflict could be like trying to find a needle in a haystack.

    It might be worth contacting the author of Simple Forum to see if s/he is aware of any conflicts.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.