Title: Gibberish values when using the php shortcode.
Last modified: January 31, 2018

---

# Gibberish values when using the php shortcode.

 *  [bibinb](https://wordpress.org/support/users/bibinb/)
 * (@bibinb)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/gibberish-values-when-using-the-php-shortcode/)
 * After updating to the latest version when i checked my site the whole site was
   filled with Gibberish values,
 * this was in my local setup,
 * I went and looked in the codes and i found that in this file
    “insert-php-code-
   snippet/shortcode-handler.php” line number 16,17 “if(strlen($tmp)>0) ob_clean();”
 * these lines were responsible for the issue, so i went and changed the ob_clean
   to ob_end_clean();
 * “if(strlen($tmp)>0)
    ob_end_clean();” And this fixed the issue, for now. Not 
   sure if this was right here, will there be a problem if the buffer is cleaned
   and turned off before starting it again.

The topic ‘Gibberish values when using the php shortcode.’ is closed to new replies.

 * ![](https://ps.w.org/insert-php-code-snippet/assets/icon-128x128.png?rev=1800967)
 * [Insert PHP Code Snippet](https://wordpress.org/plugins/insert-php-code-snippet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/insert-php-code-snippet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/insert-php-code-snippet/)
 * [Active Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/insert-php-code-snippet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/insert-php-code-snippet/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [bibinb](https://wordpress.org/support/users/bibinb/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/gibberish-values-when-using-the-php-shortcode/)
 * Status: not resolved