When i install the Event + plugin i get the following

Hi! When i install the Event + plugin i get the following massage:
Fatal error: Call to a member function is_main_query() on a non-object in /home/tyorg/public_html/wp-content/plugins/events-and-bookings/lib/default_filters.php on line 122
Please help me fix.... Thanks!