• WP Engine’s PHP 7 Compatibility Checker identified several things that need changed in the plugin code for it to be PHP 7 compatible. Would be great if this helpful plugin would be compatible so I could speed up my site.

    From WP Engine’s PHP 7 Compatibility Checker:

    FILE: /nas/content/live/rebeldesk/wp-content/plugins/better-wp-security/core/class-itsec-core.php
    ————————————————————————————————————————————-
    FOUND 3 ERRORS AFFECTING 3 LINES
    ————————————————————————————————————————————-
    648 | ERROR | Global variable ‘HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
    650 | ERROR | Global variable ‘HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
    651 | ERROR | Global variable ‘HTTP_RAW_POST_DATA’ is deprecated since PHP 5.6 and removed since PHP 7.0 – use php://input instead.
    ————————————————————————————————————————————-

    FILE: /nas/content/live/rebeldesk/wp-content/plugins/better-wp-security/core/content/system.php
    ——————————————————————————————————————————————-
    FOUND 4 ERRORS AFFECTING 4 LINES
    ——————————————————————————————————————————————-
    73 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and deprecated since PHP 5.6 and removed since PHP 7.0 – use mysqli instead.
    180 | ERROR | INI directive ‘safe_mode’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    231 | ERROR | INI directive ‘register_globals’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    248 | ERROR | INI directive ‘magic_quotes_gpc’ is deprecated from PHP 5.3 and forbidden from PHP 5.4.
    ——————————————————————————————————————————————-

Viewing 2 replies - 1 through 2 (of 2 total)
  • @jeffhaleword

    According to the iTSec plugin 5.6.1 Changelog:

    Compatibility Fix: Changed name of the $HTTP_RAW_POST_DATA variable to avoid erroneously tripping PHP 7 compatibility checks.

    Also the better-wp-security/core/content/system.php file does no longer exist.

    It appears like you have not updated to the latest iTSec plugin release ??
    Which release are you currently using ?

    dwinden

    Thread Starter jeffhaleword

    (@jeffhaleword)

    The theme is working fine now. I didn’t realize I was looking at an old version of the report. Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 7 Compatibility’ is closed to new replies.