Support

Home Forums Event Espresso Premium Plugin gets deactivated on its own

Plugin gets deactivated on its own

Posted: May 3, 2023 at 8:10 am

Viewing 6 reply threads


dburkinshaw

May 3, 2023 at 8:10 am

Just built a site and noticed that my PayPal integration was disconnected (twice). The message read “The payment method PayPal Commerce was automatically deactivated because it appears its associated Event Espresso Addon was recently deactivated.
The first time this happened, the plugin was still deactivated (how? I don’t know). This time the plugin was showing as Activated yet the PayPal payment method was deactivated. This is causing a lot of headaches because people are getting invoiced instead of being able to pay for their purchases.

Environment is as follows:
WP Version 6.2
PHP Version 8.1.18
MySQL Version 5.7.23
Event Espresso Version 5.0.3.p


Garth

  • Support Staff

May 3, 2023 at 12:54 pm

Hi there,

We have heard of other reports of this happening to one or two other people. But we do not have enough information yet to know why this is happening to some people and not others.

If you’re comfortable with adding a little PHP to your site, add this snippet: https://gist.github.com/Pebblo/d854e7b795cf818a365dea031a9b4f86

You can add that to a custom functions plugin and we have some documentation here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Then, enable WP_DEBUG_LOGGING using this in your sites wp-config.php file:

https://eventespresso.com/wiki/troubleshooting-checklist/#wpdebug

You will likely already have something like define( ‘WP_DEBUG’, false );, the above snippet replaces that single line.

What all of that will do, is set your site to add PHP errors within /wp-content/debug.log so we can view them and if a payment method is automatically deactivated, it will add a stack trace of WHAT caused it to deactivate which should help narrow the cause down.


dburkinshaw

May 12, 2023 at 12:15 pm

Hi Garth. The Plugin turned PayPal off again. I did add the code / plugin as suggested above and have the debug.log file. Where can I send this file?


Garth

  • Support Staff

May 12, 2023 at 1:41 pm

support@eventespresso.com thank you.


Tony

  • Support Staff

May 12, 2023 at 2:47 pm

Hi there,

I was able to grab a copy of the log file from your site and have created a ticket for our developers to investigate this.

This has happened regularly for a little while now, right?

Based on your log file, I have something you can try to see if it makes a difference whilst we dig into this.

Go to Event Espresso -> General Settings -> Your Ogranization.

Scroll to the bottom.

There should be a ‘UXIP Opt In?’ option, is that enabled? If so disable it and save.

See if that makes a difference to this happening again, if not, I need the log file gain when it does happen.


dburkinshaw

May 12, 2023 at 2:55 pm

Tony, this has happened 3 times since I launched the site last month. I have turned off the setting you mentioned above.


Tony

  • Support Staff

May 12, 2023 at 3:56 pm

We’ve added some additional logging to a test site for this and will be monitoring the results.

I suspect disabling the above function will fix it on your site but please do let me know.

Viewing 6 reply threads

The support post ‘Plugin gets deactivated on its own’ 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