Fatal error: Uncaught Error: Call to undefined function add_action() in /home/babyloni/public_html/teaching/forums/wp-content/plugins/buddypress/bp-xprofile/actions/delete-avatar.php:40 Stack trace: #0 {main} thrown in /home/babyloni/public_html/teaching/forums/wp-content/plugins/buddypress/bp-xprofile/actions/delete-avatar.php on line 40