Title: Error message &quot;Undefined offset: 0&quot;
Last modified: August 24, 2016

---

# Error message "Undefined offset: 0"

 *  Resolved [Harry_Tuttle](https://wordpress.org/support/users/tuttle/)
 * (@tuttle)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-message-undefined-offset-0/)
 * I have this error message :
    Notice: Undefined offset: 0 in /home/ecolesaipb/
   www/wp-includes/query.php on line 3778
 * On this address : [http://www.ecolesaintantoine.fr/events/](http://www.ecolesaintantoine.fr/events/)
 * Do you know why ?
 * Thank you !
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

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

 *  [BeardedGinger](https://wordpress.org/support/users/joshlimecuda/)
 * (@joshlimecuda)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-message-undefined-offset-0/#post-6177502)
 * Hey tuttle,
 * Thanks for reaching out!
 * I took a look at your site however I didn’t see the error you’ve mentioned. Were
   you able to get the issue resolved?
 * Thanks!
 *  Thread Starter [Harry_Tuttle](https://wordpress.org/support/users/tuttle/)
 * (@tuttle)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-message-undefined-offset-0/#post-6177509)
 * Hi,
 * I had `define(‘WP_MEMORY_LIMIT’, ‘512M’);
    define(‘WP_CACHE’, true);` in my wp-
   config.php. I suppress that, and the message desappear…
 * But I wrote that these codes was important…
 * Do you think my problem is resolved ?
 *  [momnt](https://wordpress.org/support/users/momnt/)
 * (@momnt)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/error-message-undefined-offset-0/#post-6177553)
 * Hey [@tuttle](https://wordpress.org/support/users/tuttle/),
 * It’s hard to say for sure if your problem is, indeed, resolved, and if you really
   need those items in your site’s _wp-config.php_ file, then you may find it worthwhile
   to keep investigating this issue.
 * The WP_CACHE line seems to be the problematic one, not so much the WP_MEMORY_LIMIT
   one.
 * Out of curiosity, why did you add these lines to your wp-config.php?
 * If they’re not needed, then you can proceed without them, but if they are, then
   I’d recommend adding them back to your file and then running through the troubleshooting
   steps we have outlined here → [https://theeventscalendar.com/knowledgebase/testing-for-conflicts/](https://theeventscalendar.com/knowledgebase/testing-for-conflicts/)
 * Let us know what you find!
 * — George

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

The topic ‘Error message "Undefined offset: 0"’ 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/)

 * 3 replies
 * 3 participants
 * Last reply from: [momnt](https://wordpress.org/support/users/momnt/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/error-message-undefined-offset-0/#post-6177553)
 * Status: resolved