"Content - Event" plugin: How to avoid error when event unpublished

  • hide10
  • hide10's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 month 1 week ago #141044 by hide10
Hello,

I'm using the "Content - Event" plugin to display event info inside an article.
But there is problem if event creator unpublish the event for some reasons.

For example,
{ebevent 1}
is used in the article.

If event creator unpublish the event ID 1, the WHOLE ARTICLE becomes INACCESSIBLE, showing the forrowing error:
"404 EB_EVENT_NOT_FOUND"

We want to avoid this error even if the event is unpublished.
For example, just show "event is not available" message instead of event details, if the event is unpublished.

Is there any solution?

Thanks.

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #141054 by Tuan Pham Ngoc
Hello

Just updated the code of Events Booking package on server to handle this case better. You can access to My Downloads menu item, see your order, download latest package of Events Booking from there, update it to your site and the issue won't happen anymore

Tuan

Please Log in or Create an account to join the conversation.

  • hide10
  • hide10's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
1 month 1 week ago #141056 by hide10
Hello Tuan,

Thank you so much for providing the solution!
I've updated to the latest package, and confirmed there is no errors even if the event is unpublished :)

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #141069 by Tuan Pham Ngoc
Great. Thanks for confirming

Tuan

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc