Title: [Plugin: WP-HTML-Compression] PHP Catchable fatal error
Last modified: August 20, 2016

---

# [Plugin: WP-HTML-Compression] PHP Catchable fatal error

 *  Resolved [biswajeet](https://wordpress.org/support/users/biswajeet/)
 * (@biswajeet)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-html-compression-php-catchable-fatal-error/)
 * Hi I am this error –
    `PHP Catchable fatal error: Method WP_HTML_Compression::
   __toString() must return a string value in /wp-includes/functions.php on line
   3335`
 * thanks.
 * [http://wordpress.org/extend/plugins/wp-html-compression/](http://wordpress.org/extend/plugins/wp-html-compression/)

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

 *  Plugin Author [Steven Vachon](https://wordpress.org/support/users/prometh/)
 * (@prometh)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-html-compression-php-catchable-fatal-error/#post-2729861)
 * Were you attempting to load an empty HTML document?
 *  Thread Starter [biswajeet](https://wordpress.org/support/users/biswajeet/)
 * (@biswajeet)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-html-compression-php-catchable-fatal-error/#post-2729900)
 * I just changed the update version code to –
    `@add_action('get_header', 'wp_html_compression_start',
   1);`
 * And now its working fine…
 * Check it out
 *  Plugin Author [Steven Vachon](https://wordpress.org/support/users/prometh/)
 * (@prometh)
 * [14 years ago](https://wordpress.org/support/topic/plugin-wp-html-compression-php-catchable-fatal-error/#post-2729901)
 * If you have a theme that does not call `get_header()`, such as single page themes,
   then compression will not occur.
 *  Plugin Author [Steven Vachon](https://wordpress.org/support/users/prometh/)
 * (@prometh)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-html-compression-php-catchable-fatal-error/#post-2729938)
 * Error no longer displayed in 0.5.1

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

The topic ‘[Plugin: WP-HTML-Compression] PHP Catchable fatal error’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-html-compression.svg)
 * [WP-HTML-Compression](https://wordpress.org/plugins/wp-html-compression/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-html-compression/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-html-compression/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-html-compression/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-html-compression/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-html-compression/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Steven Vachon](https://wordpress.org/support/users/prometh/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-html-compression-php-catchable-fatal-error/#post-2729938)
 * Status: resolved