Support

Home Forums Event Espresso Premium Stripe Addon PHP Fatle Error

Stripe Addon PHP Fatle Error

Posted: March 25, 2024 at 12:20 pm


Bryce Jacobson

March 25, 2024 at 12:20 pm

PHP Fatal error: Uncaught Error: Class "EE_PMT_Base" not found in /nas/content/live/aafcm/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php:17#012Stack trace:#012#0 /nas/content/live/aafcm/wp-content/plugins/event-espresso-core-reg/core/helpers/EEH_Autoloader.helper.php(73): require_once()#012#1 /nas/content/live/aafcm/wp-includes/plugin.php(122): EEH_Autoloader::espresso_autoloader('EE_PMT_Stripe_O...')#012#2 /nas/content/live/aafcm/wp-includes/plugin.php(442): add_filter('wp_ajax_eea_str...', Array, 10, 1)#012#3 /nas/content/live/aafcm/wp-content/plugins/eea-stripe-gateway/EE_Stripe_Gateway.class.php(76): add_action('wp_ajax_eea_str...', Array)#012#4 /nas/content/live/aafcm/wp-includes/class-wp-hook.php(324): EE_Stripe_Gateway->after_registration('')#012#5 /nas/content/live/aafcm/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#012#6 /nas/content/live/aafcm/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#7 /nas/content/live/aafcm/wp-content/plugins/event-espresso-core-reg/core/services/addon/AddonManager.php(95): do_action('AHEE__EE_System...')#012#8 /nas/content/live/aafcm/wp-content/plugins/event-espresso-core-reg/core/EE_System.core.php(405): EventEspresso\core\services\addon\AddonManager->loadAddons()#012#9 /nas/content/live/aafcm/wp-includes/class-wp-hook.php(324): EE_System->load_espresso_addons('')#012#10 /nas/content/live/aafcm/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#012#11 /nas/content/live/aafcm/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#12 /nas/content/live/aafcm/wp-content/plugins/event-espresso-core-reg/core/EE_Bootstrap.core.php(23): do_action('AHEE__EE_Bootst...')#012#13 /nas/content/live/aafcm/wp-includes/class-wp-hook.php(324): EE_Bootstrap::load_espresso_addons('')#012#14 /nas/content/live/aafcm/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)#012#15 /nas/content/live/aafcm/wp-includes/plugin.php(517): WP_Hook->do_action(Array)#012#16 /nas/content/live/aafcm/wp-settings.php(506): do_action('plugins_loaded')#012#17 /nas/content/live/aafcm/wp-config.php(125): require_once('/nas/content/li...')#012#18 /nas/content/live/aafcm/wp-load.php(50): require_once('/nas/content/li...')#012#19 /nas/content/live/aafcm/wp-admin/admin-ajax.php(22): require_once('/nas/content/li...')#012#20 {main}#012 thrown in /nas/content/live/aafcm/wp-content/plugins/eea-stripe-gateway/payment_methods/Stripe_Onsite/EE_PMT_Stripe_Onsite.pm.php on line 17

WordPress: 6.4.3
PHP: 8.2
Host: WP Engine


Rio

  • Support Staff

March 25, 2024 at 6:45 pm

Hello,

Do you have other payment method enabled on your site? Do you also use outside EE payment method that is using stripe?

thanks


Tony

  • Support Staff

March 26, 2024 at 5:45 am

Hi there,

Do you know when the above error is thrown or is that something you received in an email from your site?


Bryce Jacobson

March 26, 2024 at 7:48 am

Happening on front-end and back-end of the site when then EE Stripe Add-on is active. Only started happening in the last couple of days. It’ll happen on some page loads and not others.


Bryce Jacobson

March 26, 2024 at 7:48 am

This reply has been marked as private.


Bryce Jacobson

March 26, 2024 at 7:49 am

Also yes, I have Stripe for Gravity Forms on/enabled, but that has been the case for years with no issues.


Tony

  • Support Staff

March 26, 2024 at 10:43 am

Only started happening in the last couple of days.

Hmm, so what has changed over the last few days? Any plugin updates?

We haven’t pushed an update for Stripe in a little while now so something has changed to start causing this. We have another thread reporting the same issues, both on WP Engine.

Is object caching enabled?

Can you link me to an active event I can try registering on to view this?


Bryce Jacobson

March 26, 2024 at 4:22 pm

This reply has been marked as private.


Bryce Jacobson

March 26, 2024 at 4:27 pm

Yes Object Catch is enabled. Has been forever with no issues.


Tony

  • Support Staff

March 26, 2024 at 4:35 pm

Yes Object Catch is enabled. Has been forever with no issues.

Unfortunately, that doesn’t mean there aren’t issues with it now.

I could say the same about the Stripe add-on, nothing has changed in a while so there’s no issues with it, yet there’s a fatal from no changes at all.

—-

The other report we’ve have from this is from WP Engine using another plugin that enqueues Stripe.js and we’ve applied a patch to the version running there, awaiting a reply to see if it fixes it for them.

I can do the same for you if you’d like, or send you a copy of Stripe with those changes for you to install yourself?


Bryce Jacobson

March 26, 2024 at 8:39 pm

Yes, please send adjusted Stripe file. Thanks.


Tony

  • Support Staff

March 27, 2024 at 11:44 am

We will be pushing an update to fix this today, we’ve moved the function currently throwing the error into the file actually calling the function to prevent this.

So far I’ve not been able to reproduce this on my sites but have confirmed the above fix on 2 installs running into this.


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


Bryce Jacobson

March 27, 2024 at 6:57 pm

Thank you. That appears to have fixed the issues.


Sam

  • Support Staff

March 28, 2024 at 12:12 am

We are glad you got that working now. Please feel free to let us know if you have any other questions.

The support post ‘Stripe Addon PHP Fatle Error’ 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