• Resolved eacevedop

    (@eacevedop)


    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

    (@vark)

    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

    (@eacevedop)

    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

    (@bluesix)

    +1 for PHP 8 support please

    dnitzz

    (@dnitzz)

    +1 for PHP 8 support.

    Thread Starter eacevedop

    (@eacevedop)

    it keeps sending me the same error

    Plugin Author vark

    (@vark)

    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.