Undefined array key “name”
-
Hello everyone,
I would like to report a bug with BuddyPress that occurs after a member receives a notification informing them that they have been awarded the verification badge on their account.
Here is the error that appears in the logs. Note that as long as the member has not deleted the notification indicating that they have received the verified badge, every page they visit on the site will generate an error in the logs. You can imagine the number of errors this can produce with many members online simultaneously.
2025/03/20 19:40:39 [error] 5891#5891: *4127 FastCGI sent in stderr: "PHP message: PHP Warning: Undefined array key "name" in /www/site_734/public/wp-content/themes/theme/includes/functions/buddypress/theme-functions-buddypress-notification.php on line 268" while reading response header from upstream, client: 173.792.398.52, server: site.com, request: "POST /wp-admin/admin-ajax.php HTTP/2.0", upstream: "fastcgi://unix:/var/run/php8.2-fpm-site.sock:", host: "site.com:33800", referrer: "https://site.com/"
- You must be logged in to reply to this topic.