[wp-trac] [WordPress Trac] #15506: Publishing a "Gallery" post format breaks index/archival pages in Twenty Ten

WordPress Trac wp-trac at lists.automattic.com
Fri Nov 19 22:44:45 UTC 2010


#15506: Publishing a "Gallery" post format breaks index/archival pages in Twenty
Ten
--------------------------+-------------------------------------------------
 Reporter:  avcascade     |       Owner:                       
     Type:  defect (bug)  |      Status:  new                  
 Priority:  normal        |   Milestone:  Awaiting Review      
Component:  Post Types    |     Version:                       
 Severity:  major         |    Keywords:  Post formats, gallery
--------------------------+-------------------------------------------------
 When a "gallery" type post is published in WordPress 3.1-bleeding,
 WordPress spits out this error and quits rendering the page in the
 browser. This occurs on the main page and archival pages in Twenty Ten
 1.3-alpha, with no plugins active:

 Catchable fatal error: Object of class WP_Error could not be converted to
 string in /home/username/domain/wp-content/themes/twentyten/loop.php on
 line 92

 Unpublishing the gallery post (reverting it to draft status) causes the
 error to go away.

 This error does not appear when viewing the permalinked post. Only on the
 index page and archival pages (category view, month view, etc.)

 It may have been fixed already, but I updated to the latest nightly build
 using WP Beta Tester and the issue persists.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15506>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list