"Missing Attachement" appearing in posts
-
Hi
I have thematic 1.0.4 (using a child theme), and lately I started getting the text “Missing Attachment” just below the post title and above the post contents, in my custom post type posts.
Actually now the <body> tag of this page has the class “attachment” and “single” together.I switched to other themes and everything showed correctly, and when I switch back to my thematic child theme or theme theme, I get tat message and the whole page is seen by wordpress as attachment.
I tried a bit of debugging and found that if I delete the following lines from wp-includes\query.php in function is_attachment($attachment = ”), then it works ok (I know that’s not the solution, but just in case it helps). The lines I deleted are:
if ( empty( $attachment ) ) { return true; }
Any help is appreciated.
Thank you
- The topic ‘"Missing Attachement" appearing in posts’ is closed to new replies.