ahmedkaludi / accelerated-mobile-pages

Automatically add Accelerated Mobile Pages (AMP Project) functionality on your WordPress.
http://ampforwp.com
Other
176 stars 96 forks source link

PHP Deprecated: error with AMP #5621

Open askcode21 opened 3 months ago

askcode21 commented 3 months ago

One user reported this issue that they facing below errors when they switched PHP 7.4 to 8.1

PHP Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated in \wp-includes\formatting.php on line 4720

PHP Deprecated: str_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in \wp-content\plugins\accelerated-mobile-pages\pagebuilder\amp-page-builder.php on line 82

Reference ticket: https://wordpress.org/support/topic/errors-in-debug-php/

akshaywali commented 3 months ago

pushed in 1.0.97

askcode21 commented 3 months ago

User reported again some errors:https://wordpress.org/support/topic/errors-in-debug-php-2/

askcode21 commented 3 months ago

User reported again some errors: https://wordpress.org/support/topic/errors-in-debug-php-3/

Sanjeevsetu commented 2 months ago

Issue is still there. I am re opening it.