Title: Disable all PHP error
Last modified: March 20, 2022

---

# Disable all PHP error

 *  Resolved [Sergio](https://wordpress.org/support/users/kallookoo/)
 * (@kallookoo)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/disable-all-php-error/)
 * Hi,
 * This plugin creates several php errors without WP_DEBUG being activated and they
   are totally unnecessary for any user.
    Please, remove them as they don’t make
   sense and are useless, except to fill the error log and confuse the user.
 * Thanks!

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

 *  Plugin Author [WP Trio](https://wordpress.org/support/users/wooelements/)
 * (@wooelements)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/disable-all-php-error/#post-15476825)
 * Thanks for taking time to report this issue. Would you mind sharing what are 
   the exact error messages you are getting?
 *  Thread Starter [Sergio](https://wordpress.org/support/users/kallookoo/)
 * (@kallookoo)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/disable-all-php-error/#post-15478725)
 * Hi,
 * The one I’ve seen is the “Subtotal couldn’t be fetched” but as I said it doesn’t
   make sense to show or create this type of errors for a production website.
 * In my opinion, all calls to error_log of this [class](https://plugins.trac.wordpress.org/browser/conditional-payments-for-woocommerce/trunk/includes/class-conditional-payments-filters.php)
   should not exist.
 *  Plugin Author [WP Trio](https://wordpress.org/support/users/wooelements/)
 * (@wooelements)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/disable-all-php-error/#post-15482501)
 * Thank you, that error message and couple others have now been removed in the 
   latest version 2.3.1.

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

The topic ‘Disable all PHP error’ is closed to new replies.

 * ![](https://ps.w.org/conditional-payments-for-woocommerce/assets/icon.svg?rev
   =3508857)
 * [Conditional Payments for WooCommerce](https://wordpress.org/plugins/conditional-payments-for-woocommerce/)
 * [Support Threads](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/conditional-payments-for-woocommerce/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [WP Trio](https://wordpress.org/support/users/wooelements/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/disable-all-php-error/#post-15482501)
 * Status: resolved