Contacts problem when the Maps app is active

Nextcloud version _: 24.0.12
Operating system and version (eg, Ubuntu 20.04): Debian Bullseye
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.56
PHP version (eg, 7.4): 7.4.33

The issue you are facing:
Whenever I am creating of updating a contact, I am getting a warning about the change not being updated on the server. Update of the contact breaks in the process or fails entirely. It turns out that disabling the Maps application solves the problem.

Is this the first time you’ve seen this error? (Y/N): No

Steps to replicate it:

  1. Create a contact
  2. Update it from another brwoser or application
  3. The indicator to the right rotates and never finishes

The output of your nextcloud.log:

{"reqId":"c3J9MwNJKzXw6t6HFuMG","level":4,"time":"2023-11-17T12:42:52+00:00","remoteAddr":"195.201.31.206","user":"this.user","app":"webdav","method":"PUT","url":"/remote.php/dav/addressbooks/users/this.user/contacts/AD3F2F6D-1B35-4D86-A88E-47F1D5AB8247.vcf",**"message":"This parser can only read from strings or streams."**,"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/115.0","version":"24.0.12.1","exception":{"Exception":"InvalidArgumentException","Message":"This parser can only read from strings or streams.","Code":0,"Trace":[{"file":"/var/www/html/next/3rdparty/sabre/vobject/lib/Parser/MimeDir.php","line":83,"function":"setInput","class":"Sabre\\VObject\\Parser\\MimeDir","type":"->"},{"file":"/var/www/html/next/3rdparty/sabre/vobject/lib/Reader.php","line":47,"function":"parse","class":"Sabre\\VObject\\Parser\\MimeDir","type":"->"},{"file":"/var/www/html/next/apps/maps/lib/Service/AddressService.php","line":223,"function":"read","class":"Sabre\\VObject\\Reader","type":"::"},{"file":"/var/www/html/next/apps/maps/lib/Listener/CardUpdatedListener.php","line":54,"function":"scheduleVCardForLookup","class":"OCA\\Maps\\Service\\AddressService","type":"->"},{"file":"/var/www/html/next/lib/private/EventDispatcher/ServiceEventListener.php","line":87,"function":"handle","class":"OCA\\Maps\\Listener\\CardUpdatedListener","type":"->"},{"file":"/var/www/html/next/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":251,"function":"__invoke","class":"OC\\EventDispatcher\\ServiceEventListener","type":"->"},{"file":"/var/www/html/next/3rdparty/symfony/event-dispatcher/EventDispatcher.php","line":73,"function":"callListeners","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/next/lib/private/EventDispatcher/EventDispatcher.php","line":88,"function":"dispatch","class":"Symfony\\Component\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/next/lib/private/EventDispatcher/EventDispatcher.php","line":100,"function":"dispatch","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/next/apps/dav/lib/CardDAV/CardDavBackend.php","line":763,"function":"dispatchTyped","class":"OC\\EventDispatcher\\EventDispatcher","type":"->"},{"file":"/var/www/html/next/3rdparty/sabre/dav/lib/CardDAV/Card.php","line":94,"function":"updateCard","class":"OCA\\DAV\\CardDAV\\CardDavBackend","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/next/3rdparty/sabre/dav/lib/DAV/Server.php","line":1137,"function":"put","class":"Sabre\\CardDAV\\Card","type":"->"},{"file":"/var/www/html/next/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":492,"function":"updateFile","class":"Sabre\\DAV\\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/html/next/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPut","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/html/next/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/next/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/next/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/next/apps/dav/lib/Server.php","line":358,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/html/next/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/html/next/remote.php","line":170,"args":["/var/www/html/next/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/html/next/3rdparty/sabre/vobject/lib/Parser/MimeDir.php","Line":135,"CustomMessage":"--"}}

Note this: “message”:“This parser can only read from strings or streams.”