[wp-hackers] Add Friend - Ajax - Failing & Don't See Why...
Gregory Lancaster
greglancaster71 at gmail.com
Thu Oct 31 19:38:15 UTC 2013
I do have debug on, but that doesnt show me any errors going on inside a
plugin file. Is there a way to var_dump variables inside a plugin file
like that?
On Thu, Oct 31, 2013 at 11:29 AM, J.D. Grimes <jdg at codesymphony.co> wrote:
> > Is there a way to view errors that occur off page, inside
> > funtions.php? That would be an immense help.
>
> Are you using WP_DEBUG? https://codex.wordpress.org/WP_DEBUG
>
> I think your error is a typo here:
>
> > add_action('wp_ajax_my_add_friend_actionn', 'my_add_friend_action');
>
> There's an extra 'n' at the end of the action name.
>
> -J.D.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list