Skip to:
Content

BuddyPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#7184 closed defect (bug) (fixed)

WP Engine PHP Compatibility Checker (version 7) for Buddypress 2.6.1.1

Reported by: venturavan2 Owned by: djpaul
Milestone: 2.7 Priority: high
Severity: minor Version: 2.6.1.1
Component: Core Keywords: needs-patch good-first-bug 2nd-opinion
Cc: van@…, lisa@…

Description

Name: BuddyPress

FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-nav.php


FOUND 1 ERROR AFFECTING 1 LINE


394 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php


FOUND 2 ERRORS AFFECTING 2 LINES


14 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.

376 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/class.bb-install.php


FOUND 2 ERRORS AFFECTING 2 LINES


1283 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
2760 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php


FOUND 2 ERRORS AFFECTING 2 LINES


827 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
961 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/upgrade.php


FOUND 1 ERROR AFFECTING 1 LINE


3 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/xmlrpc.php


FOUND 6 ERRORS AFFECTING 5 LINES


23 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
24 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
28 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
29 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
29 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.

4029 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-ajax-response.php


FOUND 1 ERROR AFFECTING 1 LINE


130 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.kses.php


FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE


1341 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-taxonomy.php


FOUND 1 ERROR AFFECTING 1 LINE


586 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.wp-object-cache.php


FOUND 1 ERROR AFFECTING 1 LINE


108 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.passwordhash.php


FOUND 1 ERROR AFFECTING 1 LINE


250 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.ixr.php


FOUND 13 ERRORS AFFECTING 13 LINES


158 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
270 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
376 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
377 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
381 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
522 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
584 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
735 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
759 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
841 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
862 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7

1025 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
1058 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.wp-taxonomy.php


FOUND 1 ERROR AFFECTING 1 LINE


179 | ERROR | Using a call-time pass-by-reference is prohibited since php 5.4


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-object-cache-memcached.php


FOUND 1 ERROR AFFECTING 1 LINE


439 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.mailer-smtp.php


FOUND 1 ERROR AFFECTING 1 LINE


1041 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/sample/app.php


FOUND 1 ERROR AFFECTING 1 LINE


36 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/mo.php


FOUND 1 ERROR AFFECTING 1 LINE


171 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/entry.php


FOUND 1 ERROR AFFECTING 1 LINE


64 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/streams.php


FOUND 3 ERRORS AFFECTING 3 LINES


59 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
69 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7

128 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bp-user.php


FOUND 1 ERROR AFFECTING 1 LINE


394 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bp-roles.php


FOUND 1 ERROR AFFECTING 1 LINE


80 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.mailer.php


FOUND 4 ERRORS AND 7 WARNINGS AFFECTING 10 LINES


472 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead
475 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
594 | WARNING | The use of function eregi is discouraged from PHP version 5.3; use preg_match instead
594 | ERROR | Extension 'ereg' is removed since PHP 7.0

1220 | ERROR | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden from PHP version 7.0
1224 | ERROR | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden from PHP version 7.0
1643 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
1644 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_ENV_VARS'
1647 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
1649 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_ENV_VARS'
1737 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-http-ixr-client.php


FOUND 1 ERROR AFFECTING 1 LINE


35 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.core.php


FOUND 1 ERROR AFFECTING 1 LINE


1048 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-dependencies.php


FOUND 1 ERROR AFFECTING 1 LINE


237 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bpdb.php


FOUND 14 ERRORS AFFECTING 14 LINES


9 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'object' (since version 7.0)

288 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
303 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
377 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
394 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
676 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
684 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
689 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
692 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
698 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
699 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
703 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
708 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.

1124 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-error.php


FOUND 1 ERROR AFFECTING 1 LINE


180 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-http.php


FOUND 1 ERROR AFFECTING 1 LINE


1296 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php


FOUND 2 ERRORS AFFECTING 2 LINES


872 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
892 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-locale.php


FOUND 1 ERROR AFFECTING 1 LINE


354 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-l10n.php


FOUND 1 ERROR AFFECTING 1 LINE


484 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php


FOUND 1 ERROR AFFECTING 1 LINE


15 | ERROR | Global with variable variables are not allowed since PHP 7.0


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-walker.php


FOUND 1 ERROR AFFECTING 1 LINE


211 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php


FOUND 1 ERROR AFFECTING 1 LINE


892 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-dir-map.php


FOUND 1 ERROR AFFECTING 1 LINE


102 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /home/kernseoc/public_html/church/wp-content/plugins/buddypress/bp-forums/bbpress/bb-settings.php


FOUND 2 ERRORS AFFECTING 2 LINES


31 | ERROR | INI directive 'register_globals' is deprecated from PHP 5.3 and forbidden from PHP 5.4.

188 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


Change History (10)

#1 @venturavan2
3 years ago

  • Cc van@… added

#2 @johnjamesjacoby
3 years ago

  • Component changed from (not sure) to Core
  • Keywords needs-patch good-first-bug added
  • Milestone changed from Awaiting Review to 2.7
  • Priority changed from highest to high
  • Severity changed from normal to minor

All but 1 of these are old bbPress 1.x and BackPress notices; the clone method inside class-bp-core-nav.php.

Last edited 3 years ago by johnjamesjacoby (previous) (diff)

#3 @djpaul
3 years ago

  • Owner set to djpaul
  • Resolution set to fixed
  • Status changed from new to closed

In 10943:

Fix PHP7 compatibility

clone is a keyword, not a function.

Fixes #7184, props venturavan2

#4 @lisaleague
3 years ago

  • Keywords 2nd-opinion added
  • Resolution fixed deleted
  • Status changed from closed to reopened

I ran this on BuddyPress Version 2.6.2 and bbPress Version 2.5.10 and still show these errors. I don't think this should be closed yet.

$ wp phpcompat 7.0 --scan=all
Testing compatibility with PHP 7.0.

$ wp phpcompat 7.0 --scan=all
Testing compatibility with PHP 7.0.

Name: bbPress

FILE: /nas/content/live/sitename/wp-content/plugins/bbpress/includes/admin/parser.php


FOUND 3 ERRORS AND 1 WARNING AFFECTING 4 LINES


293 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7

1149 | ERROR | preg_replace() - /e modifier is forbidden in PHP 7.0
1150 | ERROR | preg_replace() - /e modifier is forbidden in PHP 7.0
1386 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead


FILE: /nas/content/live/sitename/wp-content/plugins/bbpress/includes/admin/converter.php


FOUND 1 ERROR AFFECTING 1 LINE


310 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.


Name: Boss for Sensei

PHP 7.0 compatible.

Name: Boss.

FILE: /nas/content/live/sitename/wp-content/themes/boss/buddyboss-inc/buddyboss-framework/admin/ReduxCore/inc/browser.php


FOUND 1 ERROR AFFECTING 1 LINE


1156 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


Name: Boss. Child Theme

PHP 7.0 compatible.

Name: BP Remove Profile Links

PHP 7.0 compatible.

Name: BuddyBoss One Click Installer

PHP 7.0 compatible.

Name: BuddyPress

FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/upgrade.php


FOUND 1 ERROR AFFECTING 1 LINE


3 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/class.bb-install.php


FOUND 2 ERRORS AFFECTING 2 LINES


1283 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
2760 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php


FOUND 2 ERRORS AFFECTING 2 LINES


14 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.

376 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php


FOUND 2 ERRORS AFFECTING 2 LINES


827 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
961 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php


FOUND 1 ERROR AFFECTING 1 LINE


892 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-dir-map.php


FOUND 1 ERROR AFFECTING 1 LINE


102 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.ixr.php


FOUND 13 ERRORS AFFECTING 13 LINES


158 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
270 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
376 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
377 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
381 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
522 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
584 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
735 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
759 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
841 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
862 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7

1025 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
1058 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-error.php


FOUND 1 ERROR AFFECTING 1 LINE


180 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-taxonomy.php


FOUND 1 ERROR AFFECTING 1 LINE


586 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-dependencies.php


FOUND 1 ERROR AFFECTING 1 LINE


237 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.wp-object-cache.php


FOUND 1 ERROR AFFECTING 1 LINE


108 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.core.php


FOUND 1 ERROR AFFECTING 1 LINE


1048 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-http-ixr-client.php


FOUND 1 ERROR AFFECTING 1 LINE


35 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/entry.php


FOUND 1 ERROR AFFECTING 1 LINE


64 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/sample/app.php


FOUND 1 ERROR AFFECTING 1 LINE


36 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/mo.php


FOUND 1 ERROR AFFECTING 1 LINE


171 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/streams.php


FOUND 3 ERRORS AFFECTING 3 LINES


59 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
69 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7

128 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.mailer.php


FOUND 4 ERRORS AND 7 WARNINGS AFFECTING 10 LINES


472 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead
475 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.
594 | WARNING | The use of function eregi is discouraged from PHP version 5.3; use preg_match instead
594 | ERROR | Extension 'ereg' is removed since PHP 7.0

1220 | ERROR | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden from PHP version 7.0
1224 | ERROR | The use of function set_magic_quotes_runtime is discouraged from PHP version 5.3 and forbidden from PHP version 7.0
1643 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
1644 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_ENV_VARS'
1647 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_SERVER_VARS'
1649 | WARNING | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found '$HTTP_ENV_VARS'
1737 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.mailer-smtp.php


FOUND 1 ERROR AFFECTING 1 LINE


1041 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.passwordhash.php


FOUND 1 ERROR AFFECTING 1 LINE


250 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bp-user.php


FOUND 1 ERROR AFFECTING 1 LINE


394 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-object-cache-memcached.php


FOUND 1 ERROR AFFECTING 1 LINE


439 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-http.php


FOUND 1 ERROR AFFECTING 1 LINE


1296 | ERROR | INI directive 'safe_mode' is deprecated from PHP 5.3 and forbidden from PHP 5.4.


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-ajax-response.php


FOUND 1 ERROR AFFECTING 1 LINE


130 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.kses.php


FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE


1341 | WARNING | The use of function split is discouraged from PHP version 5.3; use preg_split instead


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bp-roles.php


FOUND 1 ERROR AFFECTING 1 LINE


80 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bpdb.php


FOUND 14 ERRORS AFFECTING 14 LINES


9 | ERROR | Function name, class name, namespace name or constant name can not be reserved keyword 'object' (since version 7.0)

288 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
303 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
377 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
394 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
676 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
684 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
689 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
692 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
698 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
699 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
703 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.
708 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.

1124 | ERROR | Extension 'mysql_' is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 - use mysqli instead.


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.wp-taxonomy.php


FOUND 1 ERROR AFFECTING 1 LINE


179 | ERROR | Using a call-time pass-by-reference is prohibited since php 5.4


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-walker.php


FOUND 1 ERROR AFFECTING 1 LINE


211 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-l10n.php


FOUND 1 ERROR AFFECTING 1 LINE


484 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php


FOUND 2 ERRORS AFFECTING 2 LINES


872 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7
892 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-locale.php


FOUND 1 ERROR AFFECTING 1 LINE


354 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php


FOUND 1 ERROR AFFECTING 1 LINE


15 | ERROR | Global with variable variables are not allowed since PHP 7.0


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/xmlrpc.php


FOUND 6 ERRORS AFFECTING 5 LINES


23 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
24 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
28 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
29 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.
29 | ERROR | Global variable 'HTTP_RAW_POST_DATA' is deprecated since PHP 5.6 and removed since PHP 7.0 - use php://input instead.

4029 | ERROR | Deprecated PHP4 style constructor are not supported since PHP7


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-forums/bbpress/bb-settings.php


FOUND 2 ERRORS AFFECTING 2 LINES


31 | ERROR | INI directive 'register_globals' is deprecated from PHP 5.3 and forbidden from PHP 5.4.

188 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0


FILE: /nas/content/live/sitename/wp-content/plugins/buddypress/bp-core/classes/class-bp-core-nav.php


FOUND 1 ERROR AFFECTING 1 LINE


394 | ERROR | 'clone' is a reserved keyword introduced in PHP version 5.0 and cannot be invoked as a function (T_CLONE)


#5 @lisaleague
3 years ago

  • Cc lisa@… added

#6 @johnjamesjacoby
3 years ago

Thanks @lisaleague for your persistence. There's a few things going on here that make this no longer a BuddyPress issue (meaning I still think it's ready to close:)

  • The majority of these are BackPress issues, which we can & will fix, but not through this issue here
  • The remaining bbPress 1.x issues will also be addressed, though priority is low, as is motivation to go back through software that was end-of-life 6 years ago
  • The two bbPress 2.x issues are not part of BuddyPress, and will be addressed in the next bbPress 2.x release

@djpaul, @boone – we've been looking for reasons to trim old-bbPress out of the official BuddyPress package; do y'all think the level-of-effort here is the straw that breaks this camel's back?

Last edited 3 years ago by johnjamesjacoby (previous) (diff)

#8 @lisaleague
3 years ago

Thanks @johnjamesjacoby for the clarification on this :)

#9 @johnjamesjacoby
3 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

You're welcome, @lisaleague. Thanks again for finding this ticket and including your details! It's always helpful to have more eyes on this kinda thing.

#10 @DJPaul
3 years ago

@johnjamesjacoby

Previously: #5351
And: BuddyPress 2.3.1, where due to a packaging error, we put the bbPress 1 SVN external in the wrong location. that was #6480

Probably needs its own ticket and discussion but off the top of my head, maybe we could remove it in BP 2.8 (the PHP 5.3 release).

Note: See TracTickets for help on using tickets.