Title: PHP 8 Upgrade Deprecated Warning
Last modified: March 16, 2023

---

# PHP 8 Upgrade Deprecated Warning

 *  Resolved [user9876789](https://wordpress.org/support/users/user9876789/)
 * (@user9876789)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-8-upgrade-deprecated-warning/)
 * Hello, when we upgrade our site to PHP 8 we receive this warning in the admin.
   Please can this be resolved in a release:
 *  Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in xxx/public/wp-content/
   plugins/klarna-payments-for-woocommerce/classes/class-kp-banners.php on line 
   _47_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Andreas – Krokedil](https://wordpress.org/support/users/boozebrorsan/)
 * (@boozebrorsan)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-upgrade-deprecated-warning/#post-16719070)
 * Hi,
 * We have an internal task around this so keep an eye out for the fix in the changelog.
   This is not supposed to affect the functionality.

Viewing 1 replies (of 1 total)

The topic ‘PHP 8 Upgrade Deprecated Warning’ is closed to new replies.

 * ![](https://ps.w.org/klarna-payments-for-woocommerce/assets/icon-256x256.png?
   rev=3174333)
 * [Klarna for WooCommerce](https://wordpress.org/plugins/klarna-payments-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/klarna-payments-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/klarna-payments-for-woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Andreas – Krokedil](https://wordpress.org/support/users/boozebrorsan/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-upgrade-deprecated-warning/#post-16719070)
 * Status: resolved