# Error calling /contacts/batch/edit - Array to string issue?

**URL:** <https://forum.mautic.org/t/error-calling-contacts-batch-edit-array-to-string-issue/33922>\
**Category:** Mautic 5 Install/Upgrade Support\
**Created:** [October 24, 2024, 6:14am UTC](https://forum.mautic.org/t/error-calling-contacts-batch-edit-array-to-string-issue/33922 "2024-10-24T06:14:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dharakos](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/dharakos/32/12962_2.png) [@dharakos](https://forum.mautic.org/u/dharakos)\
**Post date:** [October 24, 2024, 6:14am UTC](https://forum.mautic.org/t/error-calling-contacts-batch-edit-array-to-string-issue/33922/1 "2024-10-24T06:14:40Z")

</div>

**Your software**  
My Mautic version is: 5.1.1  
My PHP version is: 8.1 (also tried 8.2)  
My Database type and version is: mariadb 10.6 (cluster)

**Your problem**  
My problem is: I do a PUT to /contacts/batch/edit and it fails with a 500 - It was working and stopped (I think when I moved 5.1.0 to 5.1.1)

These errors are showing in the log:  
[2024-10-24T05:39:03.397797+00:00] mautic.WARNING: PHP Warning - Array to string conversion - in file /var/www/html/vendor/doctrine/dbal/src/Driver/PDO/Statement.php - at line 48

Steps I have tried to fix the problem: tried on both PHP 8.2 and 8.1 - I **think** this came in when I moved to 5.1.1 - Love to know if others on 5.1.1 are successfully calling it?
