WordPress.org

Support

Support » Plugins and Hacks » No closing html tag. Not caching. (wp-super-cache)

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

  • 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?

Viewing 5 replies - 1 through 5 (of 5 total)
  • 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.

    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).

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

    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.

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘No closing html tag. Not caching. (wp-super-cache)’ is closed to new replies.