Title: Throwing errors in 3.9.1!
Last modified: August 21, 2016

---

# Throwing errors in 3.9.1!

 *  [Tevya](https://wordpress.org/support/users/thefiddler/)
 * (@thefiddler)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/throwing-errors-in-391/)
 * This plugin is throwing errors in the latest version of WP. At the top of the
   front-end and the Admin, I’m seeing stuff like this:
 * `\s*(.+?)\s*\<\/div\>#s'; $contents = preg_replace_callback( $pattern, create_function('
   $matches', 'return "";' ), $contents ); /* Remove the TH from the Cart page */
   $pattern = '#\\s*(.+?)\s*\<\/th\>#s'; $contents = preg_replace_callback( $pattern,
   create_function( '$matches', 'return "";' ), $contents ); $pattern = '#\\s*\s*
   <\/td\>#s'; $contents = preg_replace_callback( $pattern, create_function( '$matches','
   return "";' ), $contents ); $buffer = $contents; return $buffer; } function buffer_start(){
   ob_start("callback"); } function buffer_end() { ob_end_flush(); } add_action('
   wp_head', 'buffer_start'); add_action('wp_footer', 'buffer_end'); ?>`
 * Once this plugin is disabled, it’s fine again. Can you fix please? It’s a very
   helpful little plugin.
 * [https://wordpress.org/plugins/woocommerce-remove-quantity-fields/](https://wordpress.org/plugins/woocommerce-remove-quantity-fields/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Tevya](https://wordpress.org/support/users/thefiddler/)
 * (@thefiddler)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/throwing-errors-in-391/#post-4926110)
 * Or possibly it has to do with WC 2.1.x??? I think we would have caught it a while
   back if it was a WC issue. I think it’s WP 3.9 or 3.9.1 that it’s conflicting
   with.
 * _[Moderator Note: [No bumping](http://codex.wordpress.org/Forum_Welcome#No_Bumping),
   thank you.]_

Viewing 1 replies (of 1 total)

The topic ‘Throwing errors in 3.9.1!’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/woocommerce-remove-quantity-fields.
   svg)
 * [Woo Remove Qty selectors](https://wordpress.org/plugins/woocommerce-remove-quantity-fields/)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-remove-quantity-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-remove-quantity-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-remove-quantity-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-remove-quantity-fields/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [Tevya](https://wordpress.org/support/users/thefiddler/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/throwing-errors-in-391/#post-4926110)
 * Status: not resolved