• Resolved Kunal Desai

    (@iamkunaldesai)


    FILE: /wp-content/plugins/dashboard-widgets-suite/inc/settings-callbacks.php
    —————————————————————————————————————-
    FOUND 0 ERRORS AND 5 WARNINGS AFFECTING 5 LINES
    —————————————————————————————————————-
    143 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$setting}
    195 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$setting}
    214 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$setting}
    235 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$setting}
    254 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$setting}
    —————————————————————————————————————-

    FILE: /wp-content/plugins/dashboard-widgets-suite/widgets/widget-system-info.php
    —————————————————————————————————————
    FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
    —————————————————————————————————————
    1020 | WARNING | INI directive ‘register_globals’ is deprecated since PHP 5.3 and removed since PHP 5.4
    1029 | WARNING | INI directive ‘safe_mode’ is deprecated since PHP 5.3 and removed since PHP 5.4
    —————————————————————————————————————

    Above error and warnings appear in PHP 7.0 and above.

    Kindly update and improve.

    Humanly Yours,

    Kunal Desai

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Jeff Starr

    (@specialk)

    Thank you for reporting this, Kunal. I have added to the to-do list and will try to resolve any/all issues for the next plugin update. The thing that I don’t understand (at this point) is why I am not seeing any of these errors/warnings (or any errors/warnings at all) on my local development installation of WordPress (running on PHP 7.2). But nonetheless, I will investigate thoroughly. Thanks again for reporting. Please don’t hesitate to post again with any further infos.

    Thread Starter Kunal Desai

    (@iamkunaldesai)

    These warnings appear in PHP Compatibility Checker plugin by WP Engine.

    Plugin Author Jeff Starr

    (@specialk)

    Ah. Thanks. Most likely these are false positives (very common with derivative PHP checkers/scanners). But will investigate nonetheless.

    Plugin Author Jeff Starr

    (@specialk)

    Just to follow up, the latest version of DWS (v1.9) resolves the first set of warnings (the global variable variables). The second set of warnings are all false positives, as the code in question is static and not functional. So the “register_globals” and “safe_mode” warning may be safely ignored. Thank you for reporting, iamkunaldesai.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Errors in PHP 7.0’ is closed to new replies.