Warning compatibility PHP 8.0
-
The “case_insensitive” parameter for function define() is deprecated since PHP 7.3
File: wp-content/plugins/accelerated-mobile-pages/templates/features.php
-
Can you please share the screenshot of error log once? So that we will look into it and get back to you ASAP!
Executing a php8 compatibility scan by
vendor/bin/phpcs -p . --standard=PHPCompatibilityWP --runtime-set testVersion 8.0 --extensions=php --report-full=compati.txt
I found:FILE: .../projects/wp-atomic-bulletin/wp-content/plugins/accelerated-mobile-pages/includes/options/redux-core/framework.php ------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------ 2849 | WARNING | Function get_magic_quotes_gpc() is deprecated since PHP 7.4 ------------------------------------------------------------------------------------------------------------------------ FILE: ...letin/wp-content/plugins/accelerated-mobile-pages/includes/options/redux-core/inc/fields/editor/field_editor_c.php ------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------ 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file | | may be using short open tags but PHP does not allow them. ------------------------------------------------------------------------------------------------------------------------ FILE: ...wp-atomic-bulletin/wp-content/plugins/accelerated-mobile-pages/includes/options/redux-core/inc/welcome/welcome.php ------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------ 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file | | may be using short open tags but PHP does not allow them. ------------------------------------------------------------------------------------------------------------------------ FILE: ...vo Silva/projects/wp-atomic-bulletin/wp-content/plugins/accelerated-mobile-pages/install/assets/images/spinner.php ------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------ 1 | WARNING | No PHP code was found in this file and short open tags are not allowed by this install of PHP. This file | | may be using short open tags but PHP does not allow them. ------------------------------------------------------------------------------------------------------------------------ FILE: ...Users/Gustavo Silva/projects/wp-atomic-bulletin/wp-content/plugins/accelerated-mobile-pages/templates/features.php ------------------------------------------------------------------------------------------------------------------------ FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------------ 1096 | WARNING | The "case_insensitive" parameter for function define() is deprecated since PHP 7.3 ------------------------------------------------------------------------------------------------------------------------
For this, We have raised a GitHub ticket in our repository. We will work on it and fix it soon and get back to you soon with an update.
For reference please follow the following GitHub ticket: https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/5245
We have fixed the issue in our latest update. Can you please check it once by updating the AMPforWP plugin to the latest version and let me know back?
- The topic ‘Warning compatibility PHP 8.0’ is closed to new replies.