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


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?

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 3 months, 3 weeks ago ago

Topic Tags

Tagged: , ,

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!