Opened 12 months ago
Last modified 12 months ago
#4267 new defect (bug)
PHP 5.4 warning with BP 1.6 - Creating default object from empty value
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Core | Version: | 1.5.5 |
| Severity: | minor | Keywords: | needs-patch |
| Cc: |
Description
I'm testing BP 1.6 SVN with WP 3.4 and PHP 5.4 and I'm seeing some PHP warning.
PHP Warning: Creating default object from empty value in /var/www/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 227
PHP Warning: Creating default object from empty value in /var/www/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-screens.php on line 157
PHP Warning: Creating default object from empty value in /var/www/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-template.php on line 344
PHP Warning: Creating default object from empty value in /var/www/wp-content/plugins/buddypress/bp-members/bp-members-screens.php on line 70
Attachments (1)
Change History (2)
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release

It is because PHP 5.4 has enabled E_STRICT warnings by default. We don't really have a policy of adhering to E_STRICT in BP or WP, but we can get these done.