public static function error_php($type, $level, $message, $file, $line){
        self::write_log($message, $type, $file, $line);
        if(error_reporting()){
            include PATHAPP . 'errors-info/error_php.php';
        }
    }