public static function store_error($wp_error)
 {
     if (!isset(self::$errors)) {
         self::$errors = array();
     }
     array_push(self::$errors, (array) $wp_error);
 }