Title: Error handling caused php crash
Last modified: June 9, 2026

---

# Error handling caused php crash

 *  Resolved [ellisbarnwell](https://wordpress.org/support/users/ellisbarnwell/)
 * (@ellisbarnwell)
 * [3 days ago](https://wordpress.org/support/topic/error-handling-caused-php-crash/)
 * We’ve had some issues with error handling causing php to crash.
 * Issues come in common/src/Tribe/Error.php in count and implode functions when
   $indexes is an integer. I’m not sure if this is a problem with our setup in general
   but I managed to fix in our instance by checking if $indexes are countable before
   counting them.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [2 days, 16 hours ago](https://wordpress.org/support/topic/error-handling-caused-php-crash/#post-18933738)
 * Hi [@ellisbarnwell](https://wordpress.org/support/users/ellisbarnwell/),
 * Thanks for reaching out.
 * Could you please provide the complete PHP error message you’re seeing? Having
   the full error, including the stack trace (if available), will help us investigate
   the issue more thoroughly on our end.
 * Looking forward to your reply.
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [22 hours, 20 minutes ago](https://wordpress.org/support/topic/error-handling-caused-php-crash/#post-18935577)
 * Hi there,
 * It appears that we haven’t heard back from you in a while, so I’ll assume that
   the matter has been resolved. If you need any more help, feel free to start a
   new thread and we’ll be happy to assist you.

Viewing 2 replies - 1 through 2 (of 2 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ferror-handling-caused-php-crash%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Darian](https://wordpress.org/support/users/d0153/)
 * Last activity: [22 hours, 20 minutes ago](https://wordpress.org/support/topic/error-handling-caused-php-crash/#post-18935577)
 * Status: resolved