Publishing a "Gallery" post format breaks index/archival pages in Twenty Ten
|Reported by:||avcascade||Owned by:|
|Component:||Posts, Post Types||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.