Title: Suppress php errors
Last modified: April 10, 2020

---

# Suppress php errors

 *  [OlegApanovich](https://wordpress.org/support/users/mrdollar4444/)
 * (@mrdollar4444)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/supress-php-errors/)
 * There is error_reporting(0) in plguin class-aftership-api.php:36
    It seems like
   a very terrible to suppress all php errors, developers had hard time in debaging
   process. I think at least you mast have a filter for it something like this one
 * $php_error_reporting = apply_filters( ‘aftership_error_reporting’, 32767 );
    
   error_reporting($php_error_reporting);
 * But it seems to me that much better idea is comletely remove it from code.
    -  This topic was modified 6 years, 2 months ago by [OlegApanovich](https://wordpress.org/support/users/mrdollar4444/).

The topic ‘Suppress php errors’ is closed to new replies.

 * ![](https://ps.w.org/aftership-woocommerce-tracking/assets/icon-256x256.png?rev
   =2856422)
 * [AfterShip Tracking - All-In-One WooCommerce Order Tracking (Free plan available)](https://wordpress.org/plugins/aftership-woocommerce-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/aftership-woocommerce-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/aftership-woocommerce-tracking/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [OlegApanovich](https://wordpress.org/support/users/mrdollar4444/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/supress-php-errors/)
 * Status: not resolved