Forum Replies Created

Viewing 8 replies - 1 through 8 (of 8 total)
  • 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! =)

    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”);

    Thanks guys! Nice when help comes from everywhere! =)

    Thread Starter emalave

    (@emalave)

    after many tries and solutions, the ones that works for me is simple.

    Just comment out the lines…

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

    emalave

    (@emalave)

    define( ‘WP_DEBUG’, false );

    IMAGE_FILTER.PHP

    First line after <?php

    emalave

    (@emalave)

    Thanks BlackPebble!

    Where did you add your code? I found out a couple of other places to do this too following your fantastic hint.

    Feedwordpress_advanced_filters.php

    You can edit out the line that reads this:

    LINE 154

    faf_debug(“Attach Id ( $attach_id ) not integer for post_thumbnail $post_id”);

    into this:

    faf_debug(“”);

    It wont show the errors, but the large spacing will still be there.

    You could wrap a {display:none;} style around the line to handle that as well.

    Now even if it throws an error. it will not display anything.

    Also a better fix is to turn off the debug on this line:

    LINE 801

    if (FAF_DEBUG == true)

    to this:

    if (FAF_DEBUG == false)

    Thanks a bunch BP! May the force be with you!
    =)

    emalave

    (@emalave)

    I get the same issue. Anyone know how to fix?

    would your host happen to be dreamhost?

    Hi, Love the plugin! I have one issue though. I am unable to add more “groups” to the draggable listing.

    Only admins and authors show up… Can I get the other roles to display?

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