Posted: February 6, 2024 at 7:50 am
This morning I woke up to our site being fully down. It turned out to be the Stripe Payment Gateway v1.1.12.p … it was throwing a fatal error: [06-Feb-2024 14:44:42 UTC] PHP Fatal error: Uncaught Error: Class “EE_PMT_Base” not found in /dom45333/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php:17 The only solution to get my site back up and live was to delete the eea-stripe-gateway plugin, which effectively kills my ability to sell event tickets. Please help me get this back online as we have active event registrations happening right now! |
|
Hi there, Is Stripe the only payment method you have active within EE? For the site to be working in the evening and then throwing a fatal in the morning after, something must have changed between those times. I assume no updates have been run on the site? Serer maintenance? Has your host updated the version of PHP in use for example? The specific error you are getting is saying there is a classing missing, at that point in the code execution EE will have already loaded the files needed. I’m wondering if you are getting the same error with any other payment methods you have active (if any) as they all use the |
|
I can see you’re using EE 5.0.16.p What version of WP and PHP are you running, please? I’ll double-check using the same versions on a test site |
|
WP: 6.3.3 |
|
EE Plugins, I have the following: I also had |
|
Just checking to see if we have any updates. I have tried downgrading all of the plujgins using a backup from yesterday. I have tried a whole suite of troubleshooting on my staging site. I have tried walking through all of my settings, I am still unable to enable the stripe payment gateway without receiving fatal errors. I appreciate your quick response, we are trying to launch another event tomorrow… |
|
Hi there, Here is a website I set up to test your configuration. This is running PHP 8.1, WP 6.3.3, and the latest Event Espresso files. https://teest.dev/wp633/events/testing-stripe-php-8-1-and-wp-6-3-3/ You can see that the website is up and Stripe is active by selecting a ticket and going to the payment page.
Can you try downloading the Stripe plugin from your account page and then re-installing? |
|
I did indeed try that. Still no success. Still fatal error. I have enabled square payments temporarily, which is now working but still not ideal. What logs or information can I provide you to help troubleshoot this problem? Or perhaps I can send you credential access to our staging site? |
|
Is this same issue happening on your staging site? |
|
Yes, it is… Fatal error: Uncaught Error: Class “EE_PMT_Base” not found in /dom34076/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php:17 Stack trace: #0 /dom34076/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Autoloader.helper.php(73): require_once() #1 /wordpress-versions/6.3.3/wp-includes/plugin.php(122): EEH_Autoloader::espresso_autoloader(‘EE_PMT_Stripe_O…’) #2 /wordpress-versions/6.3.3/wp-includes/plugin.php(442): add_filter(‘wp_ajax_eea_str…’, Array, 10, 1) #3 /dom34076/wp-content/plugins/eea-stripe-gateway/EE_Stripe_Gateway.class.php(76): add_action(‘wp_ajax_eea_str…’, Array) #4 /wordpress-versions/6.3.3/wp-includes/class-wp-hook.php(310): EE_Stripe_Gateway->after_registration(”) #5 /wordpress-versions/6.3.3/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #6 /wordpress-versions/6.3.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /dom34076/wp-content/plugins/event-espresso-core-reg/core/services/addon/AddonManager.php(95): do_action(‘AHEE__EE_System…’) #8 /dom34076/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(405): EventEspresso\core\services\addon\AddonManager->loadAddons() #9 /wordpress-versions/6.3.3/wp-includes/class-wp-hook.php(310): EE_System->load_espresso_addons(”) #10 /wordpress-versions/6.3.3/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #11 /wordpress-versions/6.3.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #12 /dom34076/wp-content/plugins/event-espresso-core-reg/core/EE_Bootstrap.core.php(23): do_action(‘AHEE__EE_Bootst…’) #13 /wordpress-versions/6.3.3/wp-includes/class-wp-hook.php(310): EE_Bootstrap::load_espresso_addons(”) #14 /wordpress-versions/6.3.3/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array) #15 /wordpress-versions/6.3.3/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #16 /wordpress-versions/6.3.3/wp-settings.php(495): do_action(‘plugins_loaded’) #17 /dom34076/wp-config.php(54): require_once(‘/wordpress-vers…’) #18 /dom34076/wp-load.php(50): require_once(‘/dom34076/wp-co…’) #19 /wordpress-versions/6.3.3/wp-admin/admin.php(34): require_once(‘/dom34076/wp-lo…’) #20 /wordpress-versions/6.3.3/wp-admin/plugins.php(10): require_once(‘/wordpress-vers…’) #21 {main} thrown in /dom34076/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php on line 17 |
|
My guess is that it is something related to the core plugin update, but I have no evidence for this, other than your plugin auto-updated and our entire site went down… |
|
We do not support auto updates right now, so we didn’t update anything. What’s bonkers is that all the payment methods in Event Espresso use One thing I do see that may be a problem is caching. It looks Pagely is your host, and we’re familiar with them. They like to cache a lot of things. PHP object caching can cause file classes to not be found, such is your case. Do you have the ability to clear the caches with pagely? https://support.pagely.com/hc/en-us/articles/200236950-How-Do-I-Purge-All-the-Cached-Pages-Assets-for-My-Site If that doesn’t work, it might be worth asking them to take a look too. |
|
Still no resolution here. I was able to confirm that our host ran the auto update. clearing the cache does not resolve the issue. I have temporarily migrated to square payments, which is working, but we greatly prefer stripe. you can see the error live in our staging environment here: https://staging.businessden.com/ I would be happy to generate credentials for that site and disable the plugin temporarily so you can log in and poke around. |
|
yes, please fill this form. https://eventespresso.com/send-login-details/ thanks |
|
The support post ‘Fatal error with stripe payment gateway!’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.