WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Single view runs loop twice.

[Resolved] Single view runs loop twice.

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author Rob La Gatta

    @roblagatta

    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.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Single view runs loop twice.’ is closed to new replies.