Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 10 years ago

#4519 closed defect (bug) (worksforme)

Tons of Strict Standards Errors v1.8.1

Reported by: w3dgie's profile w3dgie Owned by:
Milestone: Priority: normal
Severity: normal Version: 1.8.1
Component: Core Keywords: reporter-feedback
Cc:

Description

Strict Standards: Declaration of BP_Core::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 0

Strict Standards: Declaration of BP_Core::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 0

Strict Standards: Declaration of BP_Core::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypress/bp-core/bp-core-loader.php on line 0

Strict Standards: Declaration of BP_Activity_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-activity/bp-activity-loader.php on line 0

Strict Standards: Declaration of BP_Activity_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-activity/bp-activity-loader.php on line 0

Strict Standards: Declaration of BP_Activity_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-activity/bp-activity-loader.php on line 0

Strict Standards: Declaration of BP_Activity_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-activity/bp-activity-loader.php on line 0

Strict Standards: Declaration of BP_Blogs_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-blogs/bp-blogs-loader.php on line 0

Strict Standards: Declaration of BP_Blogs_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-blogs/bp-blogs-loader.php on line 0

Strict Standards: Declaration of BP_Blogs_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-blogs/bp-blogs-loader.php on line 0

Strict Standards: Declaration of BP_Blogs_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-blogs/bp-blogs-loader.php on line 0

Strict Standards: Declaration of BP_Forums_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-forums/bp-forums-loader.php on line 0

Strict Standards: Declaration of BP_Forums_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-forums/bp-forums-loader.php on line 0

Strict Standards: Declaration of BP_Forums_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-forums/bp-forums-loader.php on line 0

Strict Standards: Declaration of BP_Forums_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-forums/bp-forums-loader.php on line 0

Strict Standards: Declaration of BP_Friends_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-friends/bp-friends-loader.php on line 0

Strict Standards: Declaration of BP_Friends_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-friends/bp-friends-loader.php on line 0

Strict Standards: Declaration of BP_Friends_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-friends/bp-friends-loader.php on line 0

Strict Standards: Declaration of BP_Friends_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-friends/bp-friends-loader.php on line 0

Strict Standards: Declaration of BP_Groups_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-groups/bp-groups-loader.php on line 0

Strict Standards: Declaration of BP_Groups_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-groups/bp-groups-loader.php on line 0

Strict Standards: Declaration of BP_Groups_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-groups/bp-groups-loader.php on line 0

Strict Standards: Declaration of BP_Groups_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-groups/bp-groups-loader.php on line 0

Strict Standards: Declaration of BP_Messages_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-messages/bp-messages-loader.php on line 0

Strict Standards: Declaration of BP_Messages_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-messages/bp-messages-loader.php on line 0

Strict Standards: Declaration of BP_Messages_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-messages/bp-messages-loader.php on line 0

Strict Standards: Declaration of BP_Messages_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-messages/bp-messages-loader.php on line 0

Strict Standards: Declaration of BP_Settings_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-settings/bp-settings-loader.php on line 0

Strict Standards: Declaration of BP_Settings_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-settings/bp-settings-loader.php on line 0

Strict Standards: Declaration of BP_Settings_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-settings/bp-settings-loader.php on line 0

Strict Standards: Declaration of BP_Settings_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-settings/bp-settings-loader.php on line 0

Strict Standards: Declaration of BP_XProfile_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-xprofile/bp-xprofile-loader.php on line 0

Strict Standards: Declaration of BP_XProfile_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-xprofile/bp-xprofile-loader.php on line 0

Strict Standards: Declaration of BP_XProfile_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-xprofile/bp-xprofile-loader.php on line 0

Strict Standards: Declaration of BP_XProfile_Component::setup_admin_bar() should be compatible with that of BP_Component::setup_admin_bar() in /wp-content/plugins/buddypressbp-xprofile/bp-xprofile-loader.php on line 0

Strict Standards: Declaration of BP_Members_Component::setup_globals() should be compatible with that of BP_Component::setup_globals() in /wp-content/plugins/buddypressbp-members/bp-members-loader.php on line 0

Strict Standards: Declaration of BP_Members_Component::includes() should be compatible with that of BP_Component::includes() in /wp-content/plugins/buddypressbp-members/bp-members-loader.php on line 0

Strict Standards: Declaration of BP_Members_Component::setup_nav() should be compatible with that of BP_Component::setup_nav() in /wp-content/plugins/buddypressbp-members/bp-members-loader.php on line 0

Strict Standards: Redefining already defined constructor for class BP_Groups_Widget in /wp-content/plugins/buddypress/bp-groups/bp-groups-widgets.php on line 26

Change History (13)

#1 @DJPaul
11 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to 1.7

Not sure all of these are still valid, but it's a relatively simple patch. I see some optional arguments missing in some of the class implementations, etc.

#2 @boonebgorges
11 years ago

  • Resolution set to invalid
  • Status changed from new to closed

I don't see any of these errors and I have strict turned on, so I'm closing this ticket. If you see specific instances on current trunk, please report (ideally with a patch :) )

#4 @sudoku1
10 years ago

Its append on PHP > 5.3.
Due to more strict (also logical) rules that PHP have.
Most of them are cuz bp try to call non static method with static syntax that was allowed in previous version.
In order to call a method with "::" you must declare it as static.

#5 @sudoku1
10 years ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

#6 @sudoku1
10 years ago

and also what mention DJPaul is correct.
Also happend on plugins like bp-group-hierarchy.

#7 @sudoku1
10 years ago

  • Version changed from 1.6 to 1.8.1

#8 @sudoku1
10 years ago

  • Summary changed from Tons of Strict Standards Errors v1.6 to Tons of Strict Standards Errors v1.8.1

#9 @r-a-y
10 years ago

  • Keywords reporter-feedback added; needs-patch removed
  • Milestone changed from 1.7 to Awaiting Review

All these strict error messages should be addressed in trunk.

Please test the latest trunk version in a local development environment if you can.

#10 @sudoku1
10 years ago

They disapper on PHP 5.4.4-14 with errors define E_ALL.
Thanks

#11 @sudoku1
10 years ago

There are still a couple of Notice that are annoying :)
http://pastebin.com/8UkzANqj

tested on latest trunk 1.9-beta1

Last edited 10 years ago by sudoku1 (previous) (diff)

#12 @r-a-y
10 years ago

sudoku1 - What page are you encountering these notices on?

The bp_member_avatar() and bp_member_permalink() functions should only be used in a member loop.

Are you using this manually in your theme? What BP plugins are you running?

#13 @johnjamesjacoby
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from reopened to closed

Pastebin removed, and can't duplicate. Closing as worksforme. If more information comes in, or clear duplication steps are found, feel free to reopen.

Note: See TracTickets for help on using tickets.