WordPress.org

Ready to get started?Download WordPress

Forums

The Events Calendar
[resolved] Single view runs loop twice. (2 posts)

  1. willi828
    Member
    Posted 1 year ago #

    When I add a new template for handling the single view, the content loops twice. The post only has one result (because its single), but yet the template loops within itself. I've "fixed" this with CSS, but it still is bothering me. When I turn DEBUG on within wp-config.php I get these errors:

    Notice: Undefined offset: 1 in [...]/wordpress/wp-includes/query.php on line 2800
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/query.php on line 3592
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/query.php on line 3594
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/query.php on line 3596
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/query.php on line 3597
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/query.php on line 3604
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/query.php on line 3615
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/post-template.php on line 30
    
    Notice: Trying to get property of non-object in [...]/wordpress/wp-includes/post-template.php on line 30

    It could be interfering with other plugins, I suppose.

    http://wordpress.org/extend/plugins/the-events-calendar/

  2. roblagatta
    Modern Tribe Support
    Plugin Author

    Posted 1 year ago #

    Hey Willi828, is this a template you created yourself? Have you already tried the plugin deactivation route to see if those notices go away? None of these notices look specific to The Events Calendar, best I can tell...

    Let me know and we can take a look/try to troubleshoot as needed.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic