Support » Plugin: AfterShip - WooCommerce Tracking » Suppress 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 9 months, 2 weeks ago by OlegApanovich.
  • The topic ‘Suppress php errors’ is closed to new replies.