All-In-One Event Calendar plugin by timely is one of the best plugin options if you have the event posting feature in your website. This plugin makes the event creation very simple and displays the event beautifully.

You can also extend the plugin functionality to share the events in Facebook and twitter by using add-ons which is free of charge. With the release of new version 2.0 this plugin provides the wordpress users a powerful set of features to create the advanced event calendar.

However if you have recently upgraded this plugin you can find the custom query to show the upcoming events is no longer working. This is because the objects you have used in custom query like $ai1ec_calendar_helper and $ai1ec_events_helper no longer exist in the recent release.

You don’t have to worry about it. You can still make it work and here is the sample code of how to do it.