Problem PHP |


I have seen that upgrading PHP version to 8.1 gives some problems if you have wordpress debug enabled:

You can see it here:

Basically I get this error: Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /var/www/vhosts/ on line 187 (184 to 187)

I guess you are aware of this error, is there any quick solution?
My WordPress is all up to date and up to date.

Thank you very much!

  • This topic was modified 9 hours, 38 minutes ago by trust17.


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