Possible conflict between Events+ and CustomPress custom template

I have set up the Events + plugin on my site but now I want to see my custom data page but this fatal error appears:

Fatal error: Call to a member function is_main_query() on a non-object in /home/einstein/public_html/wp-content/plugins/events-and-bookings/lib/default_filters.php on line 122

Deactivating Events + renders my custom page with data in a correct manner, but when Events + comes becomes active, it does not work?

Since I need both CustomPress and Events+ active, what can I do to avoid this conflict? Do you need to see my custom page source code? How can I fix that error?

Thanks in advance for the help :smiley:.