• Resolved lavendel2

    (@lavendel2)


    Dear support,

    First of all, thanks a lot for the new EDD 3.x update.

    However, when we enable PHP version 8.x there is a critical error on checkout.

    Is EDD 3.x compatible with PHP version 8.x?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Chris Klosowski

    (@cklosows)

    @lavendel2 Can you please share the error you are seeing?

    Overall EDD is mostly compatible with PHP 8.0 and should not product fatal errors. 8.1 may product some unintended errors.

    Thread Starter lavendel2

    (@lavendel2)

    Hello Chris,

    Thanks for getting back to me.

    Sure thing:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, array must have exactly two members in /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php:310 Stack trace: #0 /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #1 /home/runcloud/webapps/mainFV/wp-includes/plugin.php(517): WP_Hook->do_action() #2 /home/runcloud/webapps/mainFV/wp-content/plugins/easy-digital-downloads/includes/orders/functions/orders.php(1196): do_action() #3 /home/runcloud/webapps/mainFV/wp-content/plugins/easy-digital-downloads/includes/payments/functions.php(141): edd_build_order() #4 /home/runcloud/webapps/mainFV/wp-content/plugins/edd-recurring/includes/gateways/edd-recurring-gateway.php(640): edd_insert_payment() #5 /home/runcloud/webapps/mainFV/wp-content/plugins/edd-recurring/includes/gateways/edd-recurring-gateway.php(579): EDD_Recurring_Gateway->record_signup() #6 /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php(308): EDD_Recurring_Gateway->process_checkout() #7 /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #8 /home/runcloud/webapps/mainFV/wp-includes/plugin.php(517): WP_Hook->do_action() #9 /home/runcloud/webapps/mainFV/wp-content/plugins/easy-digital-downloads/includes/gateways/functions.php(404): do_action() #10 /home/runcloud/webapps/mainFV/wp-content/plugins/easy-digital-downloads/includes/process-purchase.php(193): edd_send_to_gateway() #11 /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php(308): edd_process_purchase_form() #12 /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #13 /home/runcloud/webapps/mainFV/wp-includes/plugin.php(517): WP_Hook->do_action() #14 /home/runcloud/webapps/mainFV/wp-content/plugins/easy-digital-downloads/includes/actions.php(56): do_action() #15 /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php(308): edd_post_actions() #16 /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #17 /home/runcloud/webapps/mainFV/wp-includes/plugin.php(517): WP_Hook->do_action() #18 /home/runcloud/webapps/mainFV/wp-settings.php(617): do_action() #19 /home/runcloud/webapps/mainFV/wp-config.php(86): require_once('...') #20 /home/runcloud/webapps/mainFV/wp-load.php(50): require_once('...') #21 /home/runcloud/webapps/mainFV/wp-blog-header.php(13): require_once('...') #22 /home/runcloud/webapps/mainFV/index.php(17): require('...') #23 {main} thrown in /home/runcloud/webapps/mainFV/wp-includes/class-wp-hook.php on line 310

    Plugin Support Mihai Joldis

    (@misulicus)

    Hey @lavendel2

    What is the exact PHP version that you’re on when you get that error? We are not yet PHP 8.1 compatible but 8.0 should work fine.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Critical error on EDD 3.x when PHP version 8.x’ is closed to new replies.