Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi @harryfear,
    It’s hard to say why you are getting this issue as this plugin does not do anything that can cause fatal error. It uses only one EDD hook named: edd_insert_payment which is documented here: https://docs.easydigitaldownloads.com/article/719-eddinsertpayment

    Can you try the following:

    1. Use FTP to go inside this plugin folder in your website
    2. Go to /libs/cache_controller.class.php file
    3. Go to line no 183
    4. Comment out the add_action() line but adding // before it and let me know if you are still having the issue.

    Basen on your response will try to debug further.

    Regarding the EDD Pro, can you send me the EDD Pro zip file so that I can look at the file structure and based on that update the plugin detection code. You can use something like https://www.transfernow.net/en to upload the ZIP and share the link.

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    No, do not do this again.

    Regarding the EDD Pro, can you send me the EDD Pro zip file so that I can look at the file structure and based on that update the plugin detection code. You can use something like https://www.transfernow.net/en to upload the ZIP and share the link.

    @harryfear That’s commercial software. Ignore @isaumya advice.

    @isaumya Do not ask people to make public paid commercial code again. Don’t.

    If you need to see that code then feel free to post a contact URL and ask @harryfear to use that off forums contact to get that code only.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @harryfear,
    As per @jdembowski advice, please reach out to me via this contact form so that I can look at the code of EDD Pro (as I don’t have that plugin and no way to access it). Please connect with me via this contact form: https://isaumya.com/contact

    Thread Starter harryfear

    (@harryfear)

    Sure! Have Tweet DM’d you the link.

    Thanks for your advice and help as always: the comment-out worked perfectly. We’ve blocked downstream updates for now while that’s working.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @harryfear,

    Thanks for that. Thanks, Please try this build of the plugin.

    1. You will see now it properly identifies EDD Pro (please check and confirm) 2. Check if you are still getting the Fatal Error from EDD

    Thread Starter harryfear

    (@harryfear)

    Hey Saumya,

    Thanks for your message.

    We’ve applied the new build, and confirm EDD is now detected.

    But the fatal exception occurs as such:

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

    I’ve commented 183 out again for now on our side.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @harryfear,
    This this case you need to reach out to EDD team about it, as calling their own hook is causing Fatal Error. Nothing that we can do about it. Tell them that when plugins are calling this hook fatal error is happening. I think this is on EDD end and not ours.

    Do let me know what the EDD team says.

    • This reply was modified 1 year, 4 months ago by iSaumya.
    Thread Starter harryfear

    (@harryfear)

    Thanks for your fast response ????

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @harryfear,
    I’ve spent some time today looking at the EDD and EDD Pro codebase and based on that I’ve made some modifications in the plugin code. Can you please try this build of the plugin and let me know if you are still getting the Fatal Error? The issue should be fixed now, but I would love to get a confirmation from your end.

    Looking forward to your reply.

    Thread Starter harryfear

    (@harryfear)

    Many thank you for the proactive follow-up!

    I’ve tested that version and it’s fixed the issue!

    I trust this is good news for general release of the fix?

    https://ibb.co/RY0vg4q
    https://ibb.co/mq3KtcJ

    Plugin Contributor iSaumya

    (@isaumya)

    Thanks @harryfear for confirming this. This fix will be added to the upcoming release of the plugin. Thanks a lot for the confirmation.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘EDD PHP 8.0/8.1 Fatal error’ is closed to new replies.