Title: Doesn&#8217;t work on PHP Version 8.2?
Last modified: June 11, 2024

---

# Doesn’t work on PHP Version 8.2?

 *  Resolved [Mimicmusic](https://wordpress.org/support/users/mimicmusic/)
 * (@mimicmusic)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/doesnt-work-on-php-version-8-2/)
 * Hi I tried to use your plugin on staging with NEW PHP version 8.2.20 but there
   seems to be a problem in google console:
 * `Error: Syntax error, unrecognized expression: .pewc-field-function(a) {
   return
   this.filter(function(i) {return a.indexOf(i) < 0;});
   
   by the way it works perfectly
   on PHP 7.4 on our LIVE SITE, we decide to upgrade it since we are using Flatsome
   theme and it is one of the requirements to upgrade to version 8 in PHP. Apparently
   on staging site your plugin doesn’t work as expected. Is it compatible to version
   PHP 8? If you check on our staging site, it is not changing the price and the
   ADD TO CART is disabled.Thank you!
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdoesnt-work-on-php-version-8-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Mimicmusic](https://wordpress.org/support/users/mimicmusic/)
 * (@mimicmusic)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/doesnt-work-on-php-version-8-2/#post-17816171)
 * After checking, your plugin has a conflict on this another WOO Plugin: **[WooCommerce Product Add-Ons Ultimate](https://pluginrepublic.com/wordpress-plugins/woocommerce-product-add-ons-ultimate/)**
 *  Plugin Author [WPXtension](https://wordpress.org/support/users/wpxteam/)
 * (@wpxteam)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/doesnt-work-on-php-version-8-2/#post-17817651)
 * Hi,
 * I hope you are doing well today. We have tested our plugin using PHP 8.1.23. 
   Fortunately, we couldn’t find any issues with the PHP 8(or above) version.
 * The error seems like from another plugin. A note, if you have an error in the
   browser console, then other plugin’s scripts may not work properly. I have tried
   to visit your site, but, it doesn’t respond- [https://prnt.sc/0d8d54NAmKPy](https://prnt.sc/0d8d54NAmKPy)
 * The plugin link you have shared seems like not available in the WordPress Org
   repository. So, we were unable to test it further.
 * Best Regards

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

The topic ‘Doesn’t work on PHP Version 8.2?’ is closed to new replies.

 * ![](https://ps.w.org/variation-price-display/assets/icon-256x256.gif?rev=2867382)
 * [Variation Price Display Range for WooCommerce](https://wordpress.org/plugins/variation-price-display/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/variation-price-display/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/variation-price-display/)
 * [Active Topics](https://wordpress.org/support/plugin/variation-price-display/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/variation-price-display/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/variation-price-display/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [WPXtension](https://wordpress.org/support/users/wpxteam/)
 * Last activity: [1 year, 12 months ago](https://wordpress.org/support/topic/doesnt-work-on-php-version-8-2/#post-17817651)
 * Status: resolved