WordPress.org

Support

Support » How-To and Troubleshooting » Help Debugging my plugin – it throws warnings on *a* site

Help Debugging my plugin – it throws warnings on *a* site

  • Hi all. I’m developing a plugin, and one user (out of 5,600 downloads) is reporting a warning being thrown:

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Array' was given in /[snip]/wp-includes/plugin.php on line 395

    My dev environment is strict with all error/warning reporting on, and I can’t reproduce the warning in dev or on any of my sites.

    Is there any way to track down what functions/comments I’m executing that’s causing the warning?

  • The topic ‘Help Debugging my plugin – it throws warnings on *a* site’ is closed to new replies.