• Resolved blackhawkcybersec

    (@blackhawkcybersec)


    FALSE POSITIVE: Reporting BuddyPress as not PHP 7 Compatible

    46 Warnings, 43 Errors.

    Version 1.3.0 is reporting the following:

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/upgrade.php
    —————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————-
    3 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    —————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/class.bb-install.php
    ———————————————————————————————————————————-
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ———————————————————————————————————————————-
    104 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1283 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
    ———————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-upgrade.php
    ————————————————————————————————————————————–
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————————————–
    14 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    376 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ————————————————————————————————————————————–

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-admin/includes/functions.bb-admin.php
    ————————————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————————————
    741 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    951 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————————————

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/xmlrpc.php
    —————————————————————————————————————————————-
    FOUND 5 ERRORS AND 1 WARNING 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.
    109 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-settings.php
    ——————————————————————————————————————
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ——————————————————————————————————————
    31 | WARNING | INI directive ‘register_globals’ is deprecated since PHP 5.3 and removed since 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: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-l10n.php
    ————————————————————————————————————————————————–
    FOUND 1 ERROR AND 3 WARNINGS AFFECTING 4 LINES
    ————————————————————————————————————————————————–
    123 | WARNING | Function name “__” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    255 | WARNING | Function name “__ngettext” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    318 | WARNING | Function name “__ngettext_noop” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    484 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
    ————————————————————————————————————————————————–

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-deprecated.php
    ———————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————–
    892 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————–

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/functions.bb-template.php
    ————————————————————————————————————————————————————-
    FOUND 1 ERROR AND 1 WARNING AFFECTING 2 LINES
    ————————————————————————————————————————————————————-
    15 | ERROR | Global with variable variables is not allowed since PHP 7.0
    3761 | WARNING | Function name “__checked_selected_helper” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    ————————————————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-walker.php
    —————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————
    165 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-dir-map.php
    —————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————-
    17 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-http.php
    ———————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————–
    1296 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    ———————————————————————————————————————————–

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.passwordhash.php
    —————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————-
    44 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-object-cache-memcached.php
    —————————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————————–
    22 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————————–

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-error.php
    ————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————
    51 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————————————

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-dependencies.php
    ——————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————-
    231 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bpdb.php
    ——————————————————————————————————————————–
    FOUND 13 ERRORS AFFECTING 13 LINES
    ——————————————————————————————————————————–
    288 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    303 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    377 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    394 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    676 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    684 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    689 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    692 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    698 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    699 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    703 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    708 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    1124 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0 – use mysqli instead.
    ——————————————————————————————————————————–

    FILE: /XXXXXX/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: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.ixr.php
    —————————————————————————————————————————————–
    FOUND 3 ERRORS AND 10 WARNINGS AFFECTING 13 LINES
    —————————————————————————————————————————————–
    53 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    198 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    356 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    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.
    559 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    612 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    753 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    799 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    857 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    879 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    1041 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————–

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-ajax-response.php
    ——————————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————————–
    29 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————————————–

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bp-log.php
    ———————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————-
    75 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————-

    FILE: /XXXXXX/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: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.wp-http-ixr-client.php
    ———————————————————————————————————————————————-
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————————-
    11 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bp-user.php
    ———————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ———————————————————————————————————————————–
    115 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————–

    FILE: /XXXXXX/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 deprecated since PHP 5.3 and prohibited since PHP 5.4
    ——————————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/streams.php
    ———————————————————————————————————————————-
    FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
    ———————————————————————————————————————————-
    20 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    69 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    92 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ———————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/sample/app.php
    ————————————————————————————————————————————-
    FOUND 1 ERROR AND 2 WARNINGS AFFECTING 3 LINES
    ————————————————————————————————————————————-
    7 | WARNING | Function name “__” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    17 | WARNING | Function name “__n” is discouraged; PHP has reserved all method names with a double underscore prefix for future use
    36 | ERROR | Assigning the return value of new by reference is deprecated in PHP 5.3 and forbidden in PHP 7.0
    ————————————————————————————————————————————-

    FILE: /XXXXXX/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: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/pomo/entry.php
    ——————————————————————————————————————————–
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ——————————————————————————————————————————–
    43 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ——————————————————————————————————————————–

    FILE: /XXXXXX/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: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.bp-roles.php
    ————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    ————————————————————————————————————————————
    67 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————————————

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.mailer.php
    ———————————————————————————————————————————-
    FOUND 10 ERRORS AND 1 WARNING AFFECTING 10 LINES
    ———————————————————————————————————————————-
    472 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
    475 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4.
    594 | ERROR | Extension ‘ereg’ is deprecated since PHP 5.3 and removed since PHP 7.0 – use pcre instead.
    594 | ERROR | Function eregi() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_match instead
    1220 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
    1224 | ERROR | Function set_magic_quotes_runtime() is deprecated since PHP 5.3 and removed since PHP 7.0
    1643 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found ‘$HTTP_SERVER_VARS’
    1644 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found ‘$HTTP_ENV_VARS’
    1647 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found ‘$HTTP_SERVER_VARS’
    1649 | ERROR | The use of long predefined variables has been deprecated in 5.3 and removed in 5.4; Found ‘$HTTP_ENV_VARS’
    1737 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
    ———————————————————————————————————————————-

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/class.mailer-smtp.php
    —————————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————————
    77 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————————

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/backpress/functions.kses.php
    ————————————————————————————————————————————
    FOUND 2 ERRORS AFFECTING 2 LINES
    ————————————————————————————————————————————
    1070 | ERROR | Using ‘break’ outside of a loop or switch structure is invalid and will throw a fatal error since PHP 7.0
    1341 | ERROR | Function split() is deprecated since PHP 5.3 and removed since PHP 7.0; use preg_split instead
    ————————————————————————————————————————————

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-locale.php
    —————————————————————————————————————————
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    —————————————————————————————————————————
    354 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    —————————————————————————————————————————

    FILE: /XXXXXX/wp-content/plugins/buddypress/bp-forums/bbpress/bb-includes/class.bb-query.php
    ————————————————————————————————————————–
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    ————————————————————————————————————————–
    19 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    885 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7.
    ————————————————————————————————————————–

    Please fix.

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘FALSE POSITIVE: Reporting BuddyPress as not PHP 7 Compatible’ is closed to new replies.