The Events Calendar
Error on my page (2 posts)

  1. Menibelus
    Posted 2 years ago #


    On some of my pages like this for example:

    this message appears:
    Fatal error: Call to a member function is_main_query() on a non-object in /homez.37/cfdtygaa/www/intercoWp/wp-content/plugins/the-events-calendar/lib/the-events-calendar.class.php on line 2162

    What can I do?


  2. Barry Hughes
    Plugin Author

    Posted 2 years ago #

    I'm not actually seeing that error on the page you linked to - but this sounds like something that can happen with certain themes/plugins that for various reasons override WordPress's global $wp_query object. That may not be the cause but it is definitely a possibility and in the first instance I'd encourage you to:

    • Deactivate all other plugins
    • Switch to a default, unmodified theme such as Twenty Twelve
    • Check if the problem occurs under these circumstances


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • The Events Calendar
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic