Title: PHP8 Compatibility
Last modified: March 27, 2021

---

# PHP8 Compatibility

 *  Resolved [WebCodePoet](https://wordpress.org/support/users/senjoralfonso/)
 * (@senjoralfonso)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php8-compatibility-7/)
 * [27-Mar-2021 08:02:27 UTC] PHP Fatal error: Uncaught TypeError: method_exists():
   Argument #1 ($object_or_class) must be of type object|string, null given in wp-
   content/plugins/woo-discount-rules/v2/App/Helpers/Woocommerce.php:473

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

 *  [kowsaliya](https://wordpress.org/support/users/kowsaliya/)
 * (@kowsaliya)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php8-compatibility-7/#post-14247762)
 * Hi
 * Thanks for reaching out.
 * Can you let us know if you are using the latest version of our discount rules
   plugin (2.3.5) ?
 * Is it possible to [open a support ticket](https://www.flycart.org/support#) with
   screenshots so that one of our support engineers will resolve the issue for you.
   
   Really appreciate it.
 * Thanks,
    Team Flycart.
 *  Thread Starter [WebCodePoet](https://wordpress.org/support/users/senjoralfonso/)
 * (@senjoralfonso)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php8-compatibility-7/#post-14250701)
 * Hello, I wrote your support already, the error occurs in the paid version 2.3.5
   if I am using php 8, because of the error our POS plugin is not working. I switched
   back to php 7, but please make your plugin php 8 ready.
 *  [kowsaliya](https://wordpress.org/support/users/kowsaliya/)
 * (@kowsaliya)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/php8-compatibility-7/#post-14252185)
 * Hi [@senjoralfonso](https://wordpress.org/support/users/senjoralfonso/)
 * Thanks for the reply.
 * We have replied to your support query with the updated pack.
 * Let us know in case of any further queries.
 * Thanks
    Team Flycart

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

The topic ‘PHP8 Compatibility’ is closed to new replies.

 * ![](https://ps.w.org/woo-discount-rules/assets/icon-256x256.png?rev=1977982)
 * [Discount Rules for WooCommerce](https://wordpress.org/plugins/woo-discount-rules/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-discount-rules/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-discount-rules/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-discount-rules/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-discount-rules/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-discount-rules/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [kowsaliya](https://wordpress.org/support/users/kowsaliya/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/php8-compatibility-7/#post-14252185)
 * Status: resolved