Support

Home Forums Event Espresso Premium Having an Issue with Stripe

Having an Issue with Stripe

Posted: March 25, 2024 at 6:10 am


Katelyn

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


Sam

  • Support Staff

March 25, 2024 at 7:14 am

Hi There,

Can you please let us know the site configuration like, WordPress version, PHP, MySQL version etc?


Katelyn

March 25, 2024 at 8:07 am

This reply has been marked as private.


Tony

  • Support Staff

March 25, 2024 at 8:28 am

Hi there,

Has object caching been enabled on the site?


Katelyn

March 25, 2024 at 8:38 am

It’s been turned off.


Tony

  • Support Staff

March 25, 2024 at 8:43 am

Hmmm, ok.

So, when is the above error thrown? Does it have the full stacktrace?


Katelyn

March 25, 2024 at 8:46 am

This reply has been marked as private.


Katelyn

March 25, 2024 at 8:50 am

This reply has been marked as private.


Tony

  • Support Staff

March 25, 2024 at 8:54 am

This reply has been marked as private.


Katelyn

March 25, 2024 at 8:55 am

Thank you; we have Stripe and invoicing or manual payment active. That is correct.


Tony

  • Support Staff

March 25, 2024 at 9:03 am

The Invoice payment method uses EE_PMT_Base.

If you run a registration on the site and select invoice to finalist, does it throw another error or does that one work?


Katelyn

March 25, 2024 at 9:05 am

This reply has been marked as private.


Tony

  • Support Staff

March 25, 2024 at 9:39 am

This reply has been marked as private.


Katelyn

March 25, 2024 at 9:39 am

This reply has been marked as private.


Tony

  • Support Staff

March 25, 2024 at 9:52 am

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?

/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php

On line 76 is this:

add_action('wp_ajax_eea_stripe_log_error', ['EE_PMT_Stripe_Onsite', 'log_stripe_error']);

Just comment that out by adding // at the beginning, like so:

//add_action('wp_ajax_eea_stripe_log_error', ['EE_PMT_Stripe_Onsite', 'log_stripe_error']);

Does that stop it from throwing the fatal?

(Note, this isn’t a solution, it is just to troubleshoot the issue itself)


Katelyn

March 25, 2024 at 11:09 am

This reply has been marked as private.


Katelyn

March 25, 2024 at 12:37 pm

This reply has been marked as private.


Katelyn

March 25, 2024 at 3:08 pm

This reply has been marked as private.


Tony

  • Support Staff

March 26, 2024 at 5:40 am

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?


Katelyn

March 26, 2024 at 6:33 am

Yes, of course. I appreciate your assistance.

I deactivated Stripe through Gravity Forms and an error is still being thrown on the frontend.


Tony

  • Support Staff

March 26, 2024 at 6:34 am

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)


Katelyn

March 26, 2024 at 6:38 am

This reply has been marked as private.


Tony

  • Support Staff

March 26, 2024 at 7:28 am

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?


Katelyn

March 26, 2024 at 9:11 pm

This reply has been marked as private.


Tony

  • Support Staff

March 27, 2024 at 11:45 am

Awesome, thank you for confirming.

We will be including the above fix in an update for the Stripe addon due out today.


Tony

  • Support Staff

March 27, 2024 at 4:34 pm

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


Katelyn

March 29, 2024 at 7:14 am

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.


Rio

  • Support Staff

March 29, 2024 at 6:53 pm

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.

Event Espresso