Title: Error Message since Update
Last modified: August 30, 2016

---

# Error Message since Update

 *  Resolved [melody.dy](https://wordpress.org/support/users/melodydy/)
 * (@melodydy)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-message-since-update-2/)
 * I get the following message above every single event since the new update. How
   can this be fixed?
 * Warning: max() [function.max]: Array must contain at least one element in /var/
   sites/h/huinternationalclub.com/public_html/wp-content/plugins/the-events-calendar/
   src/Tribe/Cost_Utils.php on line 296
 * Warning: array_merge() [function.array-merge]: Argument #1 is not an array in/
   var/sites/h/huinternationalclub.com/public_html/wp-content/plugins/the-events-
   calendar/src/Tribe/Cost_Utils.php on line 307
 * Warning: Invalid argument supplied for foreach() in /var/sites/h/huinternationalclub.
   com/public_html/wp-content/plugins/the-events-calendar/src/Tribe/Cost_Utils.php
   on line 309
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Brian](https://wordpress.org/support/users/brianjessee/)
 * (@brianjessee)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/error-message-since-update-2/#post-6830208)
 * Hi,
 * Sorry for the issues.
 * If there is text in the cost field it creates this problem.
 * If you turn off WordPress Debug in your wp-config.php file it will hide the warnings
   until we can get a patch:
 * [https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG](https://codex.wordpress.org/Debugging_in_WordPress#WP_DEBUG)
 * Does that help for now?

Viewing 1 replies (of 1 total)

The topic ‘Error Message since Update’ is closed to new replies.

 * ![](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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Brian](https://wordpress.org/support/users/brianjessee/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/error-message-since-update-2/#post-6830208)
 * Status: resolved