Support

Home Forums Event Espresso Premium EE will break pages with missing EE events

EE will break pages with missing EE events

Posted: August 19, 2018 at 6:20 pm

Viewing 1 reply thread


utahhockey

August 19, 2018 at 6:20 pm

InvalidArgumentException thrown
If a page has a deleted EE event then the entire page is not functional and will only show the following error code.

A valid Event ID is required to use the “ESPRESSO_TICKET_SELECTOR” shortcode.
An Event with an ID of “61843” could not be found.
Please verify that the shortcode added to this post’s content includes an “event_id” argument and that it’s value corresponds to a valid Event ID.


Josh

  • Support Staff

August 20, 2018 at 4:24 pm

Hi,

That’s actually a known issue and the dev team will hopefully add some better error handling there. So for example if the viewer of the page with the errant shortcode is the admin, they’ll see a message that says to correct the event ID in the shortcode. Then, if the viewer of the page isn’t an admin, the shortcode will output nothing and the remainder of the page will generate as expected.

In the meantime, the error can be avoided by providing only valid event IDs in ESPRESSO_TICKET_SELECTOR shortcodes.

Viewing 1 reply thread

The support post ‘EE will break pages with missing EE events’ 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