Download GDPR Compliance WordPress Plugin in just $9 today.

When trying to checkout via Payment Express, I see a fatal error generated by Woo Reminder Pro:

PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function WCRP_Reminder::wcrp_include_hold_payment_link(), 1 passed in /var/www/xzz/wp-includes/class-wp-hook.php on line 288 and exactly 2 expected in /var/www/xzz/wp-content/plugins/woocommerce-reminder-pro/woocommerce-reminder-pro.php:140
Stack trace:
#0 /var/www/xzz/wp-includes/class-wp-hook.php(288): WCRP_Reminder->wcrp_include_hold_payment_link(Array)
#1 /var/www/xzz/wp-includes/plugin.php(203): WP_Hook->apply_filters(Array, Array)
#2 /var/www/xzz/wp-content/plugins/woocommerce/includes/class-wc-order.php(1395): apply_filters('woocommerce_val...', Array, Object(WC_Order))
#3 /var/www/xzz/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(158): WC_Order->needs_payment()
#4 /var/www/xzz/wp-content/plugins/woocommerce/includes/shortcodes/class-wc-shortcode-checkout.php(60): WC_Shortcode_Checkout::order_pay(1400709)
#5 /var/www/xzz/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(76): WC_Shortcode_Checkout::output('')
#6 /var/www/xzz/wp-content/plugins/woocommerce/includes/class-wc-shortcodes.php(99): WC_Shortcodes::shortcode_wrapper(Array, '')
#7 /var/www/xzz/wp-includes/shortcodes.php(319): WC_Shortcodes::checkout('', '', 'woocommerce_che...')
#8 [internal function]: do_shortcode_tag(Array)
#9 /var/www/xzz/wp-includes/shortcodes.php(197): preg_replace_callback('/\\[(\\[?)(woocom...', 'do_shortcode_ta...', 'Checkout</h...')
#10 /var/www/xzz/wp-includes/class-wp-hook.php(286): do_shortcode('Checkoutapply_filters('Checkout</h...', Array)
#12 /var/www/xzz/wp-includes/post-template.php(240): apply_filters('the_content', 'Checkout</h...')
#13 /var/www/xzz/wp-content/themes/intbarcodesroot/templates/content-lowcontent.php(4): the_content in /var/www/xzz/wp-content/plugins/woocommerce-reminder-pro/woocommerce-reminder-pro.php on line 140

As a temporary fix, I changed function wcrp_include_hold_payment_link( $array, $instance ) to function wcrp_include_hold_payment_link( $array, $instance=null ) .

You do not have permission to view answers

This question is now closed