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.
- The topic ‘Suppress php errors’ is closed to new replies.