• Resolved eacevedop

    (@eacevedop)


    hi, i’m working to migrate to php 8 but your plugin sends me

    [16-Jan-2021 14:31:12 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(287): VTMIN_Parent_Cart_Validation->vtmin_woo_apply_checkout_cntl(”)
    #3 /home/xxx/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
    #4 /home/xxx/public_html/wp-includes/plugin.php(484): WP_Hook->do_action(Array)
    #5 /home/xxx/public_html/wp-settings.php(579): 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(37): 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

    I wait your answer

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author vark

    (@vark)

    Hi,
    Thanks for the excellent problem description.

    I can’t test php 8+ in my test environment, which only supports v 7.2 …

    If you can, please create a test environment with php 8+ active.
    Please also be sure to use “test.” in the URL.
    Then I’d need full access (full admin, ftp) to the site.

    If that’s possible, please give me the details on my support channel:
    https://www.varktech.com/support/

    Best,
    Vark

Viewing 1 replies (of 1 total)
  • The topic ‘problem with php 8’ is closed to new replies.