[wp-hackers] Add Friend - Ajax - Failing & Don't See Why...

J.D. Grimes jdg at codesymphony.co
Thu Oct 31 18:29:51 UTC 2013


>  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.


More information about the wp-hackers mailing list