Posted: 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. Environment is as follows: |
|
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. |
|
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? |
|
support@eventespresso.com thank you. |
|
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. |
|
Tony, this has happened 3 times since I launched the site last month. I have turned off the setting you mentioned above. |
|
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. |
|
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.