Title: error php 8
Last modified: August 6, 2021

---

# error php 8

 *  Resolved [eacevedop](https://wordpress.org/support/users/eacevedop/)
 * (@eacevedop)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-php-8-3/)
 * Hello, I warn you that your plugin has an error with php 8
    [06-Aug-2021 05:34:
   26 UTC] PHP Fatal error: Uncaught Error: Undefined constant “apply_multiple_rules_to_product”
   in /home/XXX/public_html/wp-content/plugins/minimum-purchase-for-woocommerce/
   core/vtmin-apply-rules.php:234 Stack trace: #0 /home/XXX/public_html/wp-content/
   plugins/minimum-purchase-for-woocommerce/core/vtmin-apply-rules.php(21): VTMIN_Apply_Rules-
   >vtmin_minimum_purchase_check() #1 /home/XXX/public_html/wp-content/plugins/minimum-
   purchase-for-woocommerce/woo-integration/vtmin-parent-cart-validation.php(230):
   VTMIN_Apply_Rules->__construct() #2 /home/XXX/public_html/wp-includes/class-wp-
   hook.php(303): VTMIN_Parent_Cart_Validation->vtmin_woo_apply_checkout_cntl(”)#
   3 /home/XXX/public_html/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(
   false, Array) #4 /home/XXX/public_html/wp-includes/plugin.php(470): WP_Hook->
   do_action(Array) #5 /home/XXX/public_html/wp-settings.php(600): do_action(‘wp_loaded’)#
   6 /home/XXX/public_html/wp-config.php(113): require_once(‘/home/XXX/…’) #7 /home/
   XXX/public_html/wp-load.php(50): require_once(‘/home/XXX/…’) #8 /home/XXX/public_html/
   wp-blog-header.php(13): require_once(‘/home/XXX/…’) #9 /home/XXX/public_html/
   index.php(17): require(‘/home/XXX/…’) #10 {main} thrown in /home/XXX/public_html/
   wp-content/plugins/minimum-purchase-for-woocommerce/core/vtmin-apply-rules.php
   on line 234

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

 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/error-php-8-3/#post-14743534)
 * Hi,
    Thanks for the reminder. I now have access to php8 in my test environment,
   and will make the fix a priority. Best, Vark
 *  Thread Starter [eacevedop](https://wordpress.org/support/users/eacevedop/)
 * (@eacevedop)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/error-php-8-3/#post-14982911)
 * Hello, we are going for 1 year and the plugin still does not accept me in php
   8, it is the same error as above
 *  [bluesix](https://wordpress.org/support/users/bluesix/)
 * (@bluesix)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-3/#post-15435738)
 * +1 for PHP 8 support please
 *  [dnitzz](https://wordpress.org/support/users/dnitzz/)
 * (@dnitzz)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-3/#post-15447358)
 * +1 for PHP 8 support.
 *  Thread Starter [eacevedop](https://wordpress.org/support/users/eacevedop/)
 * (@eacevedop)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-3/#post-15453969)
 * it keeps sending me the same error
 *  Plugin Author [vark](https://wordpress.org/support/users/vark/)
 * (@vark)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-3/#post-15454169)
 * Hi,
    I’ll be done with Pricing Deals in a week or so, upgrading to PHP 8 amongst
   other things.
 * Then Min Purchase will be the next in line for the update to PHP 8, which unfortunately
   is deceptively complex.
 * Best,
    Vark

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

The topic ‘error php 8’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/minimum-purchase-for-woocommerce.
   svg)
 * [Minimum Purchase for WooCommerce](https://wordpress.org/plugins/minimum-purchase-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/minimum-purchase-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/minimum-purchase-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/minimum-purchase-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/minimum-purchase-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/minimum-purchase-for-woocommerce/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [vark](https://wordpress.org/support/users/vark/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/error-php-8-3/#post-15454169)
 * Status: resolved