Error: Undefined array key \"URI\ in nextcloud.log

Nextcloud version: 28.0.2
Operating system and version: Ubuntu 22.04
Apache version: Apache/2.4.52
PHP version: 8.1.2
Database: PostgreSQL 14.11

Problem:
Every time I click on something in nextcloud, e.g. talk, I get the following error message in the nextcloud.log (this error message is always posted 4 times one below the other)

nextcloud.log output:

{"reqId":"Qj47GFH1j8eoWu08mCUf","level":3,"time":"2024-02-28T10:28:26+00:00","remoteAddr":"*.*.*.*","user":"******","app":"PHP","method":"POST","url":"/contactsmenu/contacts","message":"Undefined array key \"URI\" at /var/www/nextcloud/lib/private/Contacts/ContactsMenu/ContactsStore.php#138","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"Qj47GFH1j8eoWu08mCUf","level":3,"time":"2024-02-28T10:28:26+00:00","remoteAddr":"*.*.*.*","user":"******","app":"PHP","method":"POST","url":"/contactsmenu/contacts","message":"Undefined array key \"URI\" at /var/www/nextcloud/lib/private/Contacts/ContactsMenu/ContactsStore.php#138","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"Qj47GFH1j8eoWu08mCUf","level":3,"time":"2024-02-28T10:28:26+00:00","remoteAddr":"*.*.*.*","user":"******","app":"PHP","method":"POST","url":"/contactsmenu/contacts","message":"Undefined array key \"URI\" at /var/www/nextcloud/lib/private/Contacts/ContactsMenu/ContactsStore.php#138","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.2.5","data":{"app":"PHP"}}
{"reqId":"Qj47GFH1j8eoWu08mCUf","level":3,"time":"2024-02-28T10:28:26+00:00","remoteAddr":"*.*.*.*","user":"******","app":"PHP","method":"POST","url":"/contactsmenu/contacts","message":"Undefined array key \"URI\" at /var/www/nextcloud/lib/private/Contacts/ContactsMenu/ContactsStore.php#138","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36","version":"28.0.2.5","data":{"app":"PHP"}}

My thoughts:
I had connected AD to log in, had a conversation with a test user there, then deleted the AD connection and connected keycloak using the “social login” app. This showed me the conversation with a user who no longer existed, which I then deleted.

I have attached another screenshot with the message on the console.

Maybe someone can help me

Thanks

after I reinstalled nextcloud and installed the app “Announcement Center”, I now get this error. When I go to the configuration page of the app, only a blank page appears. Unfortunately, the log is now full of errors. Even restarting apache or uninstalling the app didn’t help. Does anyone have another solution?