• I received the following email from WordPress after updating my PHP to PHP 8.o Fast CGI. I tested it out and the plugin lets me make a sale and get paid but doesn’t record it in the database and does not send out the emails it should after the purchase. I need this fixed ASAP.

    Since WordPress 5.2 there is a built-in feature that detects when a
    plugin or theme causes a fatal error on your site, and notifies you
    with this automated email.
    
    In this case, WordPress caught an error with one of your plugins, Easy
    PayPal Events Pro.
    
    First, visit your website (https://onevoiceindy.org/) and check for
    any visible issues. Next, visit the page where the error was caught
    (https://onevoiceindy.org/wp-admin/admin-post.php?action=add_wpeevent_button_ipn)
    and check for any visible issues.
    
    Please contact your host for assistance with investigating this issue further.
    
    If your site appears broken and you can't access your dashboard
    normally, WordPress now has a special "recovery mode". This lets you
    safely login to your dashboard and investigate further.
    
    https://onevoiceindy.org/wp-login.php?action=enter_recovery_mode&rm_token=SuAWe8HrnrtPBY7ZKcXRYe&rm_key=2BsBZBHrcqODaeaMZJl4Na
    
    To keep your site safe, this link will expire in 1 day. Don't worry
    about that, though: a new link will be emailed to you if the error
    occurs again after it expires.
    
    When seeking help with this issue, you may be asked for some of the
    following information:
    WordPress version 6.0.3
    Active theme: Florentine (version 1.20.9)
    Current plugin: Easy PayPal Events Pro (version 1.1.2)
    PHP version 8.0.2
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 59 of the file
    /home/dh_7us396/onevoiceindy.org/wp-content/plugins/easy-paypal-events-pro/includes/public_ipn.php.
    Error message: Uncaught Error: Undefined constant "DEBUG" in
    /home/dh_7us396/onevoiceindy.org/wp-content/plugins/easy-paypal-events-pro/includes/public_ipn.php:59
    Stack trace:
    #0 /home/dh_7us396/onevoiceindy.org/wp-includes/class-wp-hook.php(307):
    wpplugin_wpeevent_button_ipn('')
    #1 /home/dh_7us396/onevoiceindy.org/wp-includes/class-wp-hook.php(331):
    WP_Hook->apply_filters('', Array)
    #2 /home/dh_7us396/onevoiceindy.org/wp-includes/plugin.php(476):
    WP_Hook->do_action(Array)
    #3 /home/dh_7us396/onevoiceindy.org/wp-admin/admin-post.php(61):
    do_action('admin_post_nopr...')
    #4 {main}
     thrown

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter pgaov2020

    (@pgaov2020)

    Update –

    While on PHP 8 Fast CGI, the plugin would accept orders and connect to PayPal correctly. What wasn’t working was the sending of the emails notifying us of the order and providing the purchaser their e-ticket. It also didn’t record the purchases in the database.

    I was able to downgrade back to PHP 7.4 CGI and things are working again.

    So, it appears that there is a problem with this plug in and PHP 8 Fast CGI. I hope this gets fixed soon so we can upgrade to the more current version of PHP.

    Thread Starter pgaov2020

    (@pgaov2020)

    One other note – the test emails you can send from the plug-in worked fine while on PHP 8 Fast CGI. It was just the automated emails after a purchase that didn’t work.

    Thread Starter pgaov2020

    (@pgaov2020)

    Also, after switching back to PHP 7.4, the emails from the plugin notifying me of a sale and the one to the purchaser actually were received for the two orders placed while I was still on PHP 8. It took a while, but it appears that PayPal must have been resending the information regarding successful payment back to the plug-in and eventually the information was logged in the plugin. The orders database even ended up recording the 2 sales.

    My big concern is that PHP 7.4 is not going to be updated much after Nov. so I’m sure that I will be forced to move up to PHP 8, especially with the pending release of WordPress 6.1.

    I need to know that your plugin will be maintained and continue working, especially since we paid for the Pro version.

    Plugin Author Scott Paterson

    (@scottpaterson)

    Hi @pgaov2020,

    I will fix this error tomorrow and release a new version.

    For future issues regarding the Pro plugin, please contact us here: https://wpplugin.org/contact/support-question/#form

    Thank you,
    Scott

    Thread Starter pgaov2020

    (@pgaov2020)

    Thank you for addressing this and providing the link to submit support requests for the Pro version. I’ll be on the lookout for the update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Fatal Error’ is closed to new replies.