PHP errors and warnings.
-
Hello,
Can you please fix the following deprecated code cauing errors and warnings:FILE: wp-content/plugins/username-changer/vendor/widgitlabs/simple-settings/class-simple-settings.php --------------------------------------------------------------------------------------------------------------------------------------- FOUND 21 ERRORS AND 21 WARNINGS AFFECTING 21 LINES --------------------------------------------------------------------------------------------------------------------------------------- 160 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_settings_page'} 160 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 350 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_sections'} 350 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 373 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 373 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 414 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 414 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 436 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 436 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 576 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 576 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 830 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 830 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 858 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 858 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 908 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 908 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 960 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 960 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 990 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 990 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1031 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1031 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1068 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1068 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1100 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1100 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1141 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1141 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1191 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1191 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1221 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1221 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1256 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1256 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1286 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1286 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1319 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_options'} 1319 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1. 1383 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->func . '_settings_page'} 1383 | ERROR | "$this" can no longer be used with the "global" keyword since PHP 7.1.
- The topic ‘PHP errors and warnings.’ is closed to new replies.