Fatal error with PHP version 8.1
-
Hi,
When the Super Page Cache for Cloudflare is enabled (together with EDD 3.x); and I purchase a product on the checkout of the Easy Digital Downloads store; a fatal error will be displayed:
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
The fatal error will be removed once I disable the WP CF page cache plugin.
Can you please have a look at why this fatal error is popping up when the plugin is enabled?
Thanks in advance.
- The topic ‘Fatal error with PHP version 8.1’ is closed to new replies.