WordPress.org

Ready to get started?Download WordPress

Forums

No closing html tag. Not caching. (wp-super-cache) (6 posts)

  1. kufire
    Member
    Posted 4 years ago #

    I have validated my pages using the W3C Markup Validator (http://validator.w3.org/) and it is 100% valid. However, WP-Super-Cache says that I am missing the closing HTML tag. I check the source and the closing HTML tag is there.

    There are no other errors in the logs aside from URI's being matched. What can I do to solve this?

  2. Donncha O Caoimh
    Member
    Posted 4 years ago #

    Read the readme.txt, some other plugin is probably using the output buffer and not releasing it correctly. Search for the string "ob_start" in the files in plugins directory and search recursively.

  3. kufire
    Member
    Posted 4 years ago #

    I've alread searched for ob_start but no plugins use it according to Windows search (I copied everything to the hard drive and searched within files).

  4. kufire
    Member
    Posted 4 years ago #

    Anyone else have any ideas? I am using the Headway theme.

  5. Donncha O Caoimh
    Member
    Posted 4 years ago #

    It's almost certainly the ob_start I'm afraid.

    Open wp-cache-phase2.php and look for the error and dump the buffer using error_log() - that's the data the plugin has to work with.

  6. tmaster
    Member
    Posted 4 years ago #

    wp security scan uses ob_start but removing that plugin does not get rid of the error

    removing the gzippey plugin fixed that error. However it does not use ob_start.

    Now I get no error and I can see the wording at the end of the source html but it still fails the test.

Topic Closed

This topic has been closed to new replies.

About this Topic