Opened 10 months ago
Closed 10 months ago
#9028 closed defect (bug) (fixed)
BP Core generates "Warning: Undefined array key "REMOTE_ADDR"" when run in WP Playground environment
Reported by: | slaFFik | Owned by: | imath |
---|---|---|---|
Milestone: | 12.0.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | has-patch |
Cc: |
Description
Warning: Undefined array key "REMOTE_ADDR" in /wordpress/wp-content/plugins/buddypress/bp-core/bp-core-moderation.php on line 333
I caught it by installing BuddyPress using this link: https://playground.wordpress.net/?plugin=buddypress
And then enabling all of its features, installing BP Default Data, and running BP Default Data to generate everything.
Change History (3)
This ticket was mentioned in PR #195 on buddypress/buddypress by @imath.
10 months ago
#2
- Keywords has-patch added; needs-patch removed
Avoid a PHP warning in bp_core_current_user_ip()
Trac ticket: https://buddypress.trac.wordpress.org/ticket/9028
Note: See
TracTickets for help on using
tickets.
Thanks for your report, I haven’t tested playground yet! I’ll do asap.