• Sometimes when I visit my website, the page prints the following code on the top of my page:

    1
    
    Attach Id ( 1497 ) not integer for post_thumbnail 1166
    
    1
    
    Attach Id ( 1498 ) not integer for post_thumbnail 1166

    Can anyone tell me what this means and how I can fix this? Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter wpwpwilly

    (@wpwpwilly)

    Can anyone help me with this? 🙂

    emalave

    (@emalave)

    I also found out that this is the best and safest way for the error to go away. It does not mess around with the debug or the logic in the plugin.

    Go back to the original code, unmodified then comment out the line that produce the debug.

    comment out the lines…

    FOLDER LOCATION OF FILE:
    PLUGINS/FAF/

    LINE 154 of the IMAGES_FILTER.PHP file

    COMMENT OUT THE LINE LIKE I DID BELOW…

    else {
    //faf_debug( is_numeric($attach_id) );
    // faf_debug(“Attach Id ( $attach_id ) not integer for post_thumbnail $post_id”);

    May the force be with you! =)

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘"Attach id not integer" error’ is closed to new replies.