Throwing errors in 3.9.1!
-
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/
- The topic ‘Throwing errors in 3.9.1!’ is closed to new replies.