Title: PHP 8.1 Deprecated
Last modified: October 27, 2022

---

# PHP 8.1 Deprecated

 *  Resolved [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * (@studioviv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-2/)
 * I get the following errors when I update the PHP version to 8.1:
 *     ```
       Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /public_html/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 22
   
       Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /public_html/wp-content/plugins/wordpress-seo/src/conditionals/third-party/elementor-edit-conditional.php on line 28
       ```
   
 * Can you fix these errors?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-2/#post-16139809)
 * Hello [@studioviv](https://wordpress.org/support/users/studioviv/)
 * I’m sorry that our plugin caused a problem on your site. There’s an open bug 
   report that is under review by our product team.
 * **What’s next?**
    Our product team will assess the severity of the issue and 
   assign a priority level to the report. Our developers work on the highest priority
   issues first. We cannot give you an estimate of when they’ll start working on
   the issue.
 * If you have any further information that may affect the prioritization or help
   our development team solve this bug, please feel invited to reply to this forum
   topic, and we’ll share the information with our product team. leave a comment
   or subscribe to the GitHub report to get updates on the issue.
 * [https://github.com/Yoast/wordpress-seo/issues/17991](https://github.com/Yoast/wordpress-seo/issues/17991)
 *  Thread Starter [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * (@studioviv)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-2/#post-16141852)
 * Alright! Let me know if these errors are fixed.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 8.1 Deprecated’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [DODO Internet](https://wordpress.org/support/users/studioviv/)
 * Last activity: [3 years, 7 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-2/#post-16141852)
 * Status: resolved