Errors in debug.php | WordPress.org

[ad_1]

Hi

I switched from PHP 7.4 to 8.1 and there were errors in debug.log

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

causes an error meta-key ampforwp_custom_content_editor_checkbox whose value is null

And here’s another error
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

That’s all I saw right away for now. There are others like this.

Sorry for My English.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer