Title: PHP 7 Comptability problems
Last modified: March 29, 2019

---

# PHP 7 Comptability problems

 *  Resolved [seanking2919](https://wordpress.org/support/users/seanking2919/)
 * (@seanking2919)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-7-comptability-problems/)
 * Hi guys,
 * So, I’m looking to update my sites to PHP 7 soon. And I decided to do compatibility
   tests with the PHP Compatibility Test plugin. I got the following warnings and
   errors:
 * In the file plugins/wp-user-manager/vendor/alessandrotesoro/wp-optionskit/wp-
   optionskit.php
    ——————————————————————————————————————————– FOUND 0 ERRORS AND
   1 WARNING AFFECTING 1 LINE ——————————————————————————————————————————– 400 | 
   WARNING | Global with anything other than bare variables is discouraged since
   PHP 7.0. Found ${$this->func . ‘_options’} ——————————————————————————————————————————–
   In the file plugins/wp-user-manager/includes/wpum-upgrades/class-wpum-updates.
   php ——————————————————————————————————————————————————————————- FOUND 0 ERRORS
   AND 12 WARNINGS AFFECTING 12 LINES ——————————————————————————————————————————————————————————-
   165 | WARNING | Method name “WPUM_Updates::__register_plugin_addon_updates” is
   discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 184 | WARNING | Method name “WPUM_Updates::__register_upgrade”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 200 | WARNING | Method name “WPUM_Updates::__change_users_label”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 233 | WARNING | Method name “WPUM_Updates::__register_menu” is
   discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 273 | WARNING | Method name “WPUM_Updates::__redirect_admin” 
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 296 | WARNING | Method name “WPUM_Updates::__pause_db_update”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 352 | WARNING | Method name “WPUM_Updates::__restart_db_update”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 387 | WARNING | Method name “WPUM_Updates::__health_background_update”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 546 | WARNING | Method name “WPUM_Updates::__show_notice” is 
   discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 678 | WARNING | Method name “WPUM_Updates::__flush_resume_updates”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 697 | WARNING | Method name “WPUM_Updates::__wpum_start_updating”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. 724 | WARNING | Method name “WPUM_Updates::__wpum_db_updates_info”
   is discouraged; PHP has reserved all method names with a double underscore prefix
   for future use. ——————————————————————————————————————————————————————————- And
   in the file plugins/wp-user-manager/includes/wpum-admin/class-wpum-background-
   updater.php ————————————————————————————————————————————————————————— FOUND 1
   ERROR AFFECTING 1 LINE —————————————————————————————————————————————————————————
   210 | ERROR | Indirect access to variables, properties and methods will be evaluated
   strictly in left-to-right order since PHP 7.0. Use curly braces to remove ambiguity.—————————————————————————————————————————————————————————

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Contributor [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * (@alessandrotesoro)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-7-comptability-problems/#post-11369971)
 * Hi [@seanking2919](https://wordpress.org/support/users/seanking2919/)
 * Is this the plugin you used for the testing? [https://en-gb.wordpress.org/plugins/php-compatibility-checker/](https://en-gb.wordpress.org/plugins/php-compatibility-checker/)
 *  Thread Starter [seanking2919](https://wordpress.org/support/users/seanking2919/)
 * (@seanking2919)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-7-comptability-problems/#post-11371101)
 * Yep
 *  Plugin Contributor [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * (@alessandrotesoro)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/php-7-comptability-problems/#post-11377654)
 * Hey [@seanking2919](https://wordpress.org/support/users/seanking2919/)
 * All the messages “PHP has reserved all method names with a double underscore 
   prefix for future use.” aren’t issues.
 * I’ll investigate the other messages and release a fix if necessary.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘PHP 7 Comptability problems’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-manager/assets/icon-256x256.png?rev=3468506)
 * [WP User Manager - User Profile Builder & Membership](https://wordpress.org/plugins/wp-user-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-manager/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 3 replies
 * 2 participants
 * Last reply from: [Alessandro Tesoro](https://wordpress.org/support/users/alessandrotesoro/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/php-7-comptability-problems/#post-11377654)
 * Status: resolved