Title: Error message upon opening EC
Last modified: September 1, 2016

---

# Error message upon opening EC

 *  Resolved [ydwcom8585](https://wordpress.org/support/users/ydwcom8585/)
 * (@ydwcom8585)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/error-message-upon-opening-ec/)
 * The following is the error message that shows up across the top of our website
   when we go to the link for events in our menu. WP 4.5.2 ,The Events Calendar 
   4.2 I don’t know what to do.
 * Warning: key() expects parameter 1 to be array, null given in /home/content/p3pnexwpnas06_data02/
   17/3219717/html/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.
   php on line 46
 * Warning: reset() expects parameter 1 to be array, null given in /home/content/
   p3pnexwpnas06_data02/17/3219717/html/wp-content/plugins/the-events-calendar/src/
   Tribe/JSON_LD/Venue.php on line 49
 * Warning: Creating default object from empty value in /home/content/p3pnexwpnas06_data02/
   17/3219717/html/wp-content/plugins/the-events-calendar/src/Tribe/JSON_LD/Venue.
   php on line 51
 * Website is [http://youdefinewellness.com](http://youdefinewellness.com)
 * Thanks for your help
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

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

 *  [Caroline](https://wordpress.org/support/users/tribecari/)
 * (@tribecari)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/error-message-upon-opening-ec/#post-7482508)
 * Hey, thanks for reaching out and sorry for the trouble! I’m happy to help troubleshoot
   this with you to see what’s happening.
 * First of all, please make sure you are using the latest version of our plugins.
   Once you’ve done that, will you please [follow the steps outlined in this article](https://theeventscalendar.com/knowledgebase/testing-for-conflicts/)?
   This will allow us to determine if there is a problem in our plugin or a conflict
   with the theme or other installed plugins.
 * Let’s start there and see what we find!
 *  Thread Starter [ydwcom8585](https://wordpress.org/support/users/ydwcom8585/)
 * (@ydwcom8585)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/error-message-upon-opening-ec/#post-7482522)
 * I followed the steps in the article linked above and the same error messages 
   showed up. So no plugin/theme conflict. I regularly update plugins as they show
   up on my admin page. I am running The Events Calendar 4.2.
    Changing themes and
   deactivating plugins left my front page empty, which is not a total disaster 
   as it needed to be re-done. So if you go to the website don’t be surprised by
   a blank page. The menu links still work fine so you can look at what happens 
   when you go to Events.
 * Thanks for looking into this..
 *  [Caroline](https://wordpress.org/support/users/tribecari/)
 * (@tribecari)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/error-message-upon-opening-ec/#post-7482553)
 * Hi there,
 * Thanks for taking the time to go through our testing steps and follow up! On 
   further review, this does appear to be a known issue, and we’re looking into 
   addressing it in our next software update. The good news is that these warnings
   should not impact the actual functionality of your site, and you can easily hide
   them with a simple settings modification. In the root folder of your WordPress
   installation, open the file **wp-config.php** and replace this line
 * `define('WP_DEBUG', false);`
 * with the following:
 *     ```
       ini_set('log_errors','On');
       ini_set('display_errors','Off');
       ini_set('error_reporting', E_ALL );
       define('WP_DEBUG', false);
       define('WP_DEBUG_LOG', true);
       define('WP_DEBUG_DISPLAY', false);
       ```
   
 * After saving the file, clear your browser cache and refresh the calendar page,
   and the warning messages should be gone.
 * Thanks, and let me know if you should have any other questions!
 *  Thread Starter [ydwcom8585](https://wordpress.org/support/users/ydwcom8585/)
 * (@ydwcom8585)
 * [9 years, 12 months ago](https://wordpress.org/support/topic/error-message-upon-opening-ec/#post-7482556)
 * Thank you for your time and help.
    Everything seems to working just fine
 *  [Geoff Graham](https://wordpress.org/support/users/geoffgraham/)
 * (@geoffgraham)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/error-message-upon-opening-ec/#post-7482599)
 * Hey glad to see the issue is now resolved 🙂
 * I’m marking this topic as resolved, if you need help with anything else please
   create a new thread and we will be happy to assist you.

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

The topic ‘Error message upon opening EC’ 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/)

## Tags

 * [error message](https://wordpress.org/support/topic-tag/error-message/)

 * 5 replies
 * 3 participants
 * Last reply from: [Geoff Graham](https://wordpress.org/support/users/geoffgraham/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/error-message-upon-opening-ec/#post-7482599)
 * Status: resolved