Posted: March 25, 2024 at 6:10 am
An error of type E_ERROR was caused in line 17 of the file /nas/content/live/[SITEHERE]/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php. Error message: Uncaught Error: Class “EE_PMT_Base” not found in /nas/content/live/[SITEHERE]/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php:17 |
|
Hi There, Can you please let us know the site configuration like, WordPress version, PHP, MySQL version etc? |
|
This reply has been marked as private. | |
Hi there, Has object caching been enabled on the site? |
|
It’s been turned off. |
|
Hmmm, ok. So, when is the above error thrown? Does it have the full stacktrace? |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Thank you; we have Stripe and invoicing or manual payment active. That is correct. |
|
The Invoice payment method uses If you run a registration on the site and select invoice to finalist, does it throw another error or does that one work? |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Heyyy, that helps! Ok… so… do you have any other plugins using Stripe payments? There is a JS error on the site showing that Stripe.js is being enqueued multiple times, that usually means another plugin is adding it to the page with EE. IIRC you’re comfortable editing PHP, right?
On line 76 is this:
Just comment that out by adding
Does that stop it from throwing the fatal? (Note, this isn’t a solution, it is just to troubleshoot the issue itself) |
|
This reply has been marked as private. | |
This reply has been marked as private. | |
This reply has been marked as private. | |
Can I take a look at this on the site? If so I’ll need wp-admin and FTP credentials: https://eventespresso.com/send-login-details/ I assume if you de-activate Stripe the error is no longer thrown? |
|
Yes, of course. I appreciate your assistance. I deactivated Stripe through Gravity Forms and an error is still being thrown on the frontend. |
|
Sorry, in the above I meant if you deactivate the EE Stripe add-on the error goes away? (I know that’s not a solution as that’s your only payment method, just general troubleshooting but if you send the above details over I’ll take a look and confirm) |
|
This reply has been marked as private. | |
This morning when I opened the site I could see the critical error being thrown (no access at that point so I don’t know what the actual error was). But… now, with no additional changes (I assume you haven’t made changes your end) there’s no critical error. That would suggest some form of caching and I’m guessing by the error, object caching. Are you sure object caching has been disabled? I have applied a fix to the version of Stripe running on your site. Can you let me know if you still get the same fatal error, please? |
|
This reply has been marked as private. | |
Awesome, thank you for confirming. We will be including the above fix in an update for the Stripe addon due out today. |
|
The update has been pushed live (version 1.1.13.p of the Stripe add-on). If you don’t see it available on your site just yet go to Event Espresso -> General Settings and just hit save to force an update check. It should then show in Dashboard -> Plugins |
|
Thanks; I’ll take a look at this. In the meantime, how has the other update you were working on going? I’m afraid if I update one, it’ll break the website so I want to ensure we’re good. |
|
You can backup your site using any database plugin or your hosting then make an update. You can also try to do it on your stagging if you want to test it. thanks |
|
The support post ‘Having an Issue with Stripe’ 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.