-
Notifications
You must be signed in to change notification settings - Fork 201
Description
Describe the bug
I cannot create new contacts; neither in the web UI, nor via DAV using my Android phone's contacts app.
Steps to reproduce
- Open Nextcloud Contacts (
https://<server URL>/apps/contacts/) - Click "+ New contact"
- Add any info (e.g. name, phone number)
- Open browser console on Network tab
- Click "Save"
- See red popup in top right corner saying "Unable to update contact"
- Observe HTTP 500 response (see details below).
Expected behavior
The contact should be created successfully and I should not see an error.
Actual behavior
The HTTP PUT request to create the contact to https://<server URL>/remote.php/dav/addressbooks/users/<user>/contacts/<UUID>.vcf gets an HTTP 500 response with the following content:
<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
<s:exception>Error</s:exception>
<s:message>Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()</s:message>
</d:error>If I create a contact using DAV, I also see a HTTP 500 response in my web server logs, and the Nextcloud log contains the following entry:
Level: Error
Application: webdav
Message: Error Call to undefined method OC\DB\QueryBuilder\QueryBuilder::execute()
Time: 4 Mar 2026, 23:05:34
Contact version
8.4.0
Operating system
Linux (GNU Guix)
PHP engine version
Other
Web server
Nginx
Database
PostgreSQL
Additional info
Nextcloud Hub 26 Winter (33.0.0); PHP 8.5.2.
PHP extensions installed: apcu.so; dba.so; imagick.so; redis.so; plus built-in modules such as --with-pdo-pgsql and --with-pgsql.