Title: Undefined variable $grid
Last modified: May 17, 2022

---

# Undefined variable $grid

 *  [robnicholson](https://wordpress.org/support/users/robnicholson/)
 * (@robnicholson)
 * [4 years ago](https://wordpress.org/support/topic/undefined-variable-grid/)
 * This error is appearing at the bottom of every page:
 * [https://i.imgur.com/r5YQFWg.png](https://i.imgur.com/r5YQFWg.png)
 * Doesn’t seem to be causing any harm.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fundefined-variable-grid%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [robnicholson](https://wordpress.org/support/users/robnicholson/)
 * (@robnicholson)
 * [4 years ago](https://wordpress.org/support/topic/undefined-variable-grid/#post-15654133)
 * I didn’t spot this error on my pilot site as PHP error reporting was off by default.
   I’ve just added the following to wp_config.php which hides the error until it
   can be fixed:
 * ini_set(‘display_errors’,’Off’);
    ini_set(‘error_reporting’, E_ALL ); define(‘
   WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false);
 * I’ve turned error reporting on in my pilot site and the error now displays there.
   So can test if a fix works before adding to live.
 * Text copy of the error:
 * Warning: Undefined variable $grid in /usr/share/nginx/pilot.bbf/wp-content/plugins/
   my-calendar/my-calendar-core.php on line 519
    -  This reply was modified 4 years ago by [robnicholson](https://wordpress.org/support/users/robnicholson/).
    -  This reply was modified 4 years ago by [robnicholson](https://wordpress.org/support/users/robnicholson/).
 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [4 years ago](https://wordpress.org/support/topic/undefined-variable-grid/#post-15661817)
 * Yep, I’m aware of it. Will be fixed in the next release.

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

The topic ‘Undefined variable $grid’ is closed to new replies.

 * ![](https://ps.w.org/my-calendar/assets/icon-256x256.png?rev=1097576)
 * [My Calendar - Accessible Event Manager](https://wordpress.org/plugins/my-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/my-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/my-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/my-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/my-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/my-calendar/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/undefined-variable-grid/#post-15661817)
 * Status: not resolved