• Resolved kassemEzz

    (@kassemezz)


    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

Viewing 1 replies (of 1 total)
  • Thread Starter kassemEzz

    (@kassemezz)

    Just to update in case it helps someone, this turned out to a problem with recently updated “Custom Post Type UI” plugin. Once reverted back to older version everything was back to normal

Viewing 1 replies (of 1 total)
  • The topic ‘"Missing Attachement" appearing in posts’ is closed to new replies.