Occ user:delete exception

Using NC stable 22, MariaDB 10.5.11, PHP 7.3, i see the following error when trying to delete a user:

$ ./occ user:delete user001
The current PHP memory limit is below the recommended value of 512MB.

In DbalException.php line 71:
                                                                       
  An exception occurred while executing a query: SQLSTATE[42S22]: Col  
  umn not found: 1054 Unknown column 'type' in 'where clause'          
                                                                       

In ExceptionConverter.php line 65:
                                                                       
  An exception occurred while executing a query: SQLSTATE[42S22]: Col  
  umn not found: 1054 Unknown column 'type' in 'where clause'          
                                                                       

In Exception.php line 26:
                                                                       
  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'type' in 'w  
  here clause'                                                         
                                                                       

In Statement.php line 92:
                                                                       
  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'type' in 'w  
  here clause'                                                         
                                                                       

user:delete <uid>

I wonder in which database and table the column “type” is missing from?

TIA for any clues about the error!