Actions
Bug #13464
closedAvatar registration code triggering fatal errors
Start date:
2020-10-13
Due date:
% Done:
0%
Estimated time:
Deployment actions:
Description
Looks like this is due to a hard-deprecated function in BP 6.0. Stack trace:
[Sat Oct 10 01:20:51 2020] [error] [pid 23484] sapi_apache2.c(349): [client 67.243.93.64:52194] PHP Fatal error: Uncaught Error: Call to undefined function xprofile_avatar_upload_dir() in /var/www/html/commons/www/wp-content/plugins/bp-avatar-on-register/bp-avatar-on-register.php:183\nStack trace:\n#0 /var/www/html/commons/www/wp-content/plugins/bp-avatar-on-register/bp-avatar-on-register.php(218): bpar_avatar_upload_dir()\n#1 /var/www/html/commons/www/wp-includes/class-wp-hook.php(287): bpar_move_avatars()\n#2 /var/www/html/commons/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()\n#3 /var/www/html/commons/www/wp-includes/plugin.php(478): WP_Hook->do_action()\n#4 /var/www/html/commons/www/wp-content/plugins/buddypress/bp-members/bp-members-functions.php(2105): do_action()\n#5 /var/www/html/commons/www/wp-content/plugins/buddypress/bp-members/screens/activate.php(98): bp_core_activate_signup()\n#6 /var/www/html/commons/www/wp-includes/class-wp-hook.php(287): bp_members_action_activate_account()\n#7 /var/www/html/commons/www/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters()\n#8 /var/www/html/commons/www/w in /var/www/html/commons/www/wp-content/plugins/bp-avatar-on-register/bp-avatar-on-register.php on line 183
Updated by Boone Gorges about 4 years ago
- Status changed from New to Resolved
Fixed in https://github.com/cuny-academic-commons/cac/commit/99c93476a1336fa6a55f8fcefde34961ffa8b67b and deployed as a hotfix to production.
Actions