Title: plugin removes document body
Last modified: February 25, 2021

---

# plugin removes document body

 *  [Tim Reeves](https://wordpress.org/support/users/tim-reeves/)
 * (@tim-reeves)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/plugin-removes-document-body/)
 * Hi [@ironikus](https://wordpress.org/support/users/ironikus/),
 * I have written an own, very minimalistic theme, and in general it works fine (
   and yes it does call wp_head, wp_body_open, wp_footer). Only problem is, that
   when the email encoder (or wp mailto, the older one) is active, the page output
   of all pages ends with </head>. The <body> is completely missing.
 * I have not seen this with any other themes – I use the plugin on quite a lot 
   of sites with various themes. So obviously my own theme is not doing something
   which most of them do.
 * Could you give me a heads-up? I’ve tried surfing but found nothing relevant.
 * Thanks in advance!
 * Tim

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

 *  Thread Starter [Tim Reeves](https://wordpress.org/support/users/tim-reeves/)
 * (@tim-reeves)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/plugin-removes-document-body/#post-14105684)
 * To add to that: No problem if choose the option “WordPress filters”, it’s only
   the Full-page scan option which loses the <body>.
 *  [Ironikus](https://wordpress.org/support/users/ironikus/)
 * (@ironikus)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/plugin-removes-document-body/#post-14108635)
 * Hey [@tim-reeves](https://wordpress.org/support/users/tim-reeves/) – Thank you
   very much for reaching out about that, as well as for using our plugin.
    Since
   the head tag is loaded accordingly, I assume the site just breaks with a PHP 
   error. To make sure if that’s the case, I suggest taking a look at the debug.
   log file of your website as it would give a clearer view of the issues that happened.
 * In case it’s empty, another possibility could be that you also try to buffer 
   the output (e.g using ob_start() ), which could cause similar issues.
 * Feel free to share some further details about the last function that is called
   before the site breaks.
    Thank you already very much. 🙂

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

The topic ‘plugin removes document body’ is closed to new replies.

 * ![](https://ps.w.org/email-encoder-bundle/assets/icon-256x256.png?rev=2056506)
 * [Email Encoder - Protect Email Addresses and Phone Numbers](https://wordpress.org/plugins/email-encoder-bundle/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/email-encoder-bundle/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/email-encoder-bundle/)
 * [Active Topics](https://wordpress.org/support/plugin/email-encoder-bundle/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/email-encoder-bundle/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/email-encoder-bundle/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Ironikus](https://wordpress.org/support/users/ironikus/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/plugin-removes-document-body/#post-14108635)
 * Status: not resolved