Title: Errors in PHP 7.0
Last modified: September 29, 2018

---

# Errors in PHP 7.0

 *  Resolved [Kunal Desai](https://wordpress.org/support/users/iamkunaldesai/)
 * (@iamkunaldesai)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/errors-in-php-7-0-2/)
 * 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](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/errors-in-php-7-0-2/#post-10735862)
 * 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](https://wordpress.org/support/users/iamkunaldesai/)
 * (@iamkunaldesai)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/errors-in-php-7-0-2/#post-10736378)
 * These warnings appear in PHP Compatibility Checker plugin by WP Engine.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/errors-in-php-7-0-2/#post-10736403)
 * Ah. Thanks. Most likely these are false positives (very common with derivative
   PHP checkers/scanners). But will investigate nonetheless.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/errors-in-php-7-0-2/#post-10873744)
 * 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.

 * ![](https://ps.w.org/dashboard-widgets-suite/assets/icon-256x256.png?rev=1471944)
 * [Dashboard Widgets Suite](https://wordpress.org/plugins/dashboard-widgets-suite/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/dashboard-widgets-suite/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/dashboard-widgets-suite/)
 * [Active Topics](https://wordpress.org/support/plugin/dashboard-widgets-suite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/dashboard-widgets-suite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/dashboard-widgets-suite/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/errors-in-php-7-0-2/#post-10873744)
 * Status: resolved