### Steps to reproduce
1. Follow standard upgrade protocol for upgrading from 3.0.0.22 to latest 3.1.1
2. Go to admin area -> users (error 500)
3. Use the search option (does not work)
4. Try to backup the data base from admin area. Not working
### Expected behaviour
Expect the above points to work as advertised. That is:
1. Users are listed and UI is functional
2. Search working.
3. Backup file created and downloaded
### Actual behaviour
1. When accessing Users from admin menu an error 500 appears in console and "Datatables warning" message appears in the frontend
2. When search is operated the list is not filtered. It shows all the content.
3. Back up is not created. The UI message comes on and never closes.
### Server configuration
**Operating system**:
UBUNTU 22.04
**Web server:**
Apache2
**Database:**
MYSQL 8.0.36
**PHP version:**
8.1.27
**Teampass version:**
3.0.0.22 and 3..1.1
**Teampass configuration file:**
**Updated from an older Teampass or fresh install:**
PLEASE attach to this issue the file `/includes/config/tp.config.php`.
### Client configuration
**Browser:**
**Operating system:**
### Logs
#### Web server error log
```
Insert your webserver log here
```
#### Log from the web-browser developer console (CTRL + SHIFT + i)
```
Insert the log here and especially the answer of the query that failed.
```