Compatibility Warnings for Php 7.2
-
Hi guys, fyi, just finished a compatibility test on the a3 lazy load plugin (which is working fine for me on php7.0) for php 7.2 and see the following 8 errors and 16 warnings:
Name: a3 Lazy Load
FILE: /home/wp-content/plugins/a3-lazy-load/admin/settings/template-settings/global-settings.php
———————————————————————————————————————————————-
FOUND 3 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
———————————————————————————————————————————————-
117 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’admin_interface’}
117 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
139 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’admin_interface’}
139 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
185 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’admin_interface’}
185 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
———————————————————————————————————————————————-
FILE: /home/wp-content/plugins/a3-lazy-load/admin/admin-pages/admin-settings-page.php
—————————————————————————————————————————————–
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
—————————————————————————————————————————————–
108 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’admin_init’}
108 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
—————————————————————————————————————————————–
FILE: /home/wp-content/plugins/a3-lazy-load/admin/a3-lazy-load-admin.php
—————————————————————————————————————————————
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
—————————————————————————————————————————————
6 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${A3_LAZY_LOAD_PREFIX.’admin_init’}
21 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${A3_LAZY_LOAD_PREFIX.’admin_init’}
30 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${A3_LAZY_LOAD_PREFIX.’admin_init’}
—————————————————————————————————————————————
FILE: /home/wp-content/plugins/a3-lazy-load/admin/admin-interface.php
——————————————————————————————————————————————
FOUND 4 ERRORS AND 6 WARNINGS AFFECTING 5 LINES
——————————————————————————————————————————————
301 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’fonts_face’}
301 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
305 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’uploader’}
305 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
429 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$option_name}
468 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$id_attribute}
1363 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’fonts_face’}
1363 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
1363 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${$this->plugin_prefix.’uploader’}
1363 | ERROR | “$this” can no longer be used with the “global” keyword since PHP 7.1.
——————————————————————————————————————————————
FILE: /home/wp-content/plugins/a3-lazy-load/a3-lazy-load.php
——————————————————————————————————————————————–
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
——————————————————————————————————————————————–
47 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${A3_LAZY_LOAD_PREFIX.’admin_interface’}
53 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${A3_LAZY_LOAD_PREFIX.’admin_init’}
56 | WARNING | Global with anything other than bare variables is discouraged since PHP 7.0. Found ${A3_LAZY_LOAD_PREFIX.’less’}
——————————————————————————————————————————————–
- The topic ‘Compatibility Warnings for Php 7.2’ is closed to new replies.