Support

Home Forums Event Espresso Premium EE throws exceptions on event details page

EE throws exceptions on event details page

Posted: March 27, 2019 at 3:36 am

Viewing 3 reply threads


ARAGATO

March 27, 2019 at 3:36 am

I am trying to debug some code and my debugger halts on “everything” in order to notice some “bugs” somewhere that I did not notice. However, when debugging an even details page it halts multiple times on an EE Exception.
https://i.imgur.com/jPvJrQj.png

$email_address is null, that I debug that events details page in an logged out status. But even if I am logged in the same exception appears.I understand that the email validator throws and exception, but why is it even called in the first place? Also the exception is thrown like 6 times.


Josh

  • Support Staff

March 27, 2019 at 7:58 am

Hi,

It sounds like you’ll need to wrap your code that does something with $email_address in a conditional. In other words, make sure it’s not NULL before trying to do something with it.


ARAGATO

March 27, 2019 at 8:01 am

The thing is, I am not doing anything with the code or calling the EE Email Validator in anyway.


Josh

  • Support Staff

March 27, 2019 at 8:32 am

I see, so this exception happens even when your custom code is removed?

Viewing 3 reply threads

The support post ‘EE throws exceptions on event details page’ 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