Support

Home Forums Event Espresso Premium Errors from PayPal integration

Errors from PayPal integration

Posted: August 11, 2017 at 6:52 am


Oguzhan Altun

August 11, 2017 at 6:52 am

Hello,

I find these errors from the server log after having 2 customers use paypal to pay for their registrations this morning. They managed to pay at the end, but I think it will be a good idea to address the errors before they create issues in the future:

[Fri Aug 11 10:22:03 2017] [error] [client 84.253.8.197] FastCGI: server “/home/clients/1d989383ee11099bb2d8468c003d5c0c/.config/apache/www.genevaphotoclub.com/.fpm/php5.external” stderr: <br /> PHP version: 7.0.13 <br /> Stack Trace: #0 [internal function]: EventEspresso\\core\\domain\\entities\\DbSafeDateTime->__sleep(), referer: https://www.paypal.com/webapps/hermes?flow=1-P&ulReturn=true&token=EC-5G4749189H512103J&useraction=commit&country.x=US&locale.x=fr_XC

You can see the full error log here:
https://pastebin.com/2JTdSdTq

Any suggestions?


Tony

  • Support Staff

August 11, 2017 at 7:34 am

Hi there,

That looks like the Apache error log rather than the PHP error log so we can’t see the actual error being thrown there.

Do you have access to the php error logs?

Also, can you let me know which version of Event Espresso 4 are you currently running on the site?


Oguzhan Altun

August 11, 2017 at 8:05 am

Hi Tony,

That’s the only error log I have access to. Any suggestions where I can find PHP error log? I checked the phpmyadmin as well but couldn’t find any error logs there neither.

I’m using the latest EE4 version: 4.9.45.p

I didn’t have these errors before, so it might be due to some of the latest changes.


Josh

  • Support Staff

August 11, 2017 at 10:12 am

Hi Oguzhan,

There’s an option that you can set in Event Espresso > General Settings > Admin settings:

Encode Session Data?

You set that option to Yes, then save.

If you want to log PHP errors with the WP_DEBUG feature, you can follow this guide:

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging


Oguzhan Altun

August 11, 2017 at 10:39 am

I enabled the encode session data. Where can I find the error log?


Josh

  • Support Staff

August 11, 2017 at 11:15 am

You can find the error log by reading the documentation that I shared:

https://codex.wordpress.org/Debugging_in_WordPress#Example_wp-config.php_for_Debugging


Oguzhan Altun

August 11, 2017 at 11:19 am

ah ok, so the Encode Session Data works the same as WP_DEBUG? Or should I enable them both?


Josh

  • Support Staff

August 11, 2017 at 11:27 am

No. Encoding Session data may fix the issue you’re seeing. WP_DEBUG is optionally for debugging.


Oguzhan Altun

August 11, 2017 at 12:40 pm

Ah ok, it did fix the issue, I just tested. Thank you!

The support post ‘Errors from PayPal integration’ 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