• Resolved jpgoem

    (@jpgoem)


    After upgrading from TEC 6.0.1.1 to 6.0.2 (and 6.0.3), events do not show in a Query Loop block.

    I have a page with a Query Loop block, showing all posts with post type “event”.
    Since TEC 6.0.2, it no longer shows events.
    If I modify the block to show all standard posts (post type “post”), then events are shown !

    Rollback to TEC 6.0.1.1 solves the issue.

    Please advise how to proceed.

Viewing 11 replies - 1 through 11 (of 11 total)
  • @jpgoem

    Yikes!
    Can you tell me what theme and PHP version you are using?

    Hang in there!
    Geoff

    We are also experiencing issues with the new version. Originally Events were not showing up on Mobile. After adjusting many of the settings, I realize we have 2 Default versions available. In one, mobile does not work at all but desktop experience is fine. On the other, mobile works as expected but the side menu and side widgets do not display and the events are hidden by the left side menu (i.e. text not appearing square but behind the side menu area).

    We are on PHP 7.4.12 (Supports 64bit values) and using a custom theme.

    • This reply was modified 3 years, 4 months ago by spratticus81.
    Thread Starter jpgoem

    (@jpgoem)

    @geoffbel

    I am using Kadence 1.1.31 and PHP 7.4.30.
    The problem is the same if I use the Twenty Twenty-Two theme.

    • This reply was modified 3 years, 4 months ago by jpgoem.

    I have also “lost” my calendar after upgrading to 6.0.3.1. PHP 7.4
    I can access it if i link to /events, but earlier I had it visible on the right side of my page. Theme: Colinear

    I’m not sure if what we are experiencing is a bug or if I need to make a CSS (or other) change in our plug-in since we have a custom Theme in place. Would be very very helpful if I could get simple guidance on langauge I can add to the Event plug-in to keep the sidebar from showing up. You can view the issue here (I’m currently using the Default Events Page since that is the only way it displays correctly on mobile as well. On Desktop, the calendar is being covered up by an “empty” left-sidebar that shouldn’t be showing up): https://aa-dc.org/events

    <?php
    /**
     * Plugin Name: The Events Calendar
     * Description: The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.
     * Version: 6.0.3.1
     * Author: The Events Calendar
     * Author URI: https://evnt.is/1x
     * Text Domain: the-events-calendar
     * License: GPLv2 or later
     *
     * @package TEC
     */
    
    /**
     * Copyright 2009-2021 by The Events Calendar and the contributors
     *
     * This program is free software; you can redistribute it and/or
     * modify it under the terms of the GNU General Public License
     * as published by the Free Software Foundation; either version 2
     * of the License, or (at your option) any later version.
     *
     * This program is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     * GNU General Public License for more details.
     *
     * You should have received a copy of the GNU General Public License
     * along with this program; if not, write to the Free Software
     * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
     */
    define( 'TRIBE_EVENTS_FILE', __FILE__ );
    
    // Load the required php min version functions.
    require_once dirname( TRIBE_EVENTS_FILE ) . '/src/functions/php-min-version.php';
    
    // Load the Composer autoload file.
    require_once dirname( TRIBE_EVENTS_FILE ) . '/vendor/autoload.php';
    
    /**
     * Verifies if we need to warn the user about min PHP version and bail to avoid fatals
     */
    if ( tribe_is_not_min_php_version() ) {
    	tribe_not_php_version_textdomain( 'the-events-calendar', TRIBE_EVENTS_FILE );
    
    	/**
    	 * Include the plugin name into the correct place
    	 *
    	 * @since  4.8
    	 *
    	 * @param  array $names current list of names.
    	 *
    	 * @return array
    	 */
    	function tribe_events_not_php_version_plugin_name( $names ) {
    		$names['the-events-calendar'] = esc_html__( 'The Events Calendar', 'the-events-calendar' );
    		return $names;
    	}
    
    	add_filter( 'tribe_not_php_version_names', 'tribe_events_not_php_version_plugin_name' );
    
    	if ( ! has_filter( 'admin_notices', 'tribe_not_php_version_notice' ) ) {
    		add_action( 'admin_notices', 'tribe_not_php_version_notice' );
    	}
    
    	return false;
    }
    
    /**
     * Loads the action plugin
     */
    require_once dirname( TRIBE_EVENTS_FILE ) . '/src/Tribe/Main.php';
    
    Tribe__Events__Main::instance();
    
    register_activation_hook( TRIBE_EVENTS_FILE, array( 'Tribe__Events__Main', 'activate' ) );
    
    register_deactivation_hook( TRIBE_EVENTS_FILE, array( 'Tribe__Events__Main', 'deactivate' ) );
    • This reply was modified 3 years, 4 months ago by spratticus81.
    Thread Starter jpgoem

    (@jpgoem)

    to @geoffbel

    I just did a test with TEC 6.0.4, and the problem is not solved. Rollback to TEC 6.0.1.1 or earlier avoids the problem.

    Not sure if this will be helpful to anyone else but it turns out our issue is that our theme (Twenty Fourteen) is not compatible with the new Event Calendar. The very easy solution is injecting this custom CSS code to the theme so the sidebar isn’t an issue:

    body.post-type-archive-tribe_events #page::before,
    body.single-tribe_events #page::before { display: none; }

    How can I roll back TEC? If I make a calendar entry it appears as a post.

    Thread Starter jpgoem

    (@jpgoem)

    to @lars1960,
    To roll back a plugin, I am using the “WP Rollback” plugin (https://wordpress.org/plugins/wp-rollback/). This allows to roll back any plugin to any of its releases.

    Plugin Support WilloftheD

    (@abzlevelup)

    Hi everyone, apologies for the delay here, and thanks for sharing this issue with the Query Loop Block not showing. While we try to replicate and investigate more of this issue, for now please downgrade to v6.0.1.

    Hang in there.

    Best,
    Abz

    Thread Starter jpgoem

    (@jpgoem)

    to @abzlevelup and @geoffbel :
    I upgraded TEC to 6.0.6, and now the problem is solved.
    Thank you for the support.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘After upgrading from TEC 6.0.1.1 to 6.0.2 (or later), events do not show.’ is closed to new replies.