Tag Archives: tribe

Welcome to Events 2.0! This is a HUGE upgrade from 1.6.5. Please make sure you have backed up before proceeding any further.

If you are getting this error when using “The Events Calendar” it’s because on some servers Tribe’s query for checking legacy events has a flaw. This is the message: Welcome to Events 2.0! This is a HUGE upgrade from 1.6.5. Please make sure you have backed up before proceeding any further. You can easily revert to an old version if you want to backup first. This upgrade includes two major steps, migrating data & updating your templates as necessary. There have been significant changes to the template tags and functions. Check out our walkthrough on the upgrade before proceeding and check out the FAQ & Knowledge base from the support page. If you’re new to The Events Calendar, you may want to review our new user primer. You have events that need to be migrated. Please visit the bottom of the settings page to perform the migration. (I’d also like to point out that the link to the settings page needs to be updated because it is broken, but you can access the settings page via Settings->The Events Calendar in the admin menu. Anyhow, this is the code that the plugin uses to check for legacy events, it includes two functions: private static function getLegacyEvents( $number = -1 ) { // TODO: needs to account for either v1 posts or v2 ‘sp_events’ $query = new WP_Query( array( ‘post_status’ => ‘published’, ‘posts_per_page’ => $number, ‘meta_key’ => ‘_EventStartDate’, ‘category_name’ => ‘xEvents’ )); if (count($query->posts)) { TribeEvents::debug( __( ‘Install has 1 or more … Continue reading

Posted in Web Development | Tagged , , , | Leave a comment