[buddypress-trac] [BuddyPress Trac] #7184: WP Engine PHP Compatibility Checker (version 7) for Buddypress 2.6.1.1
buddypress-trac
noreply at wordpress.org
Thu Jul 14 16:01:49 UTC 2016
#7184: WP Engine PHP Compatibility Checker (version 7) for Buddypress 2.6.1.1
--------------------------+-----------------------------
Reporter: venturavan2 | Owner:
Type: defect (bug) | Status: new
Priority: highest | Milestone: Awaiting Review
Component: (not sure) | Version: 2.6.1.1
Severity: normal | Keywords:
--------------------------+-----------------------------
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
----------------------------------------------------------------------------------------------------------------
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7184>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list