# WordPress-Mautic Sync error - Failed to fetch custom field

**URL:** https://forum.mautic.org/t/wordpress-mautic-sync-error-failed-to-fetch-custom-field/34899
**Category:** Product Support
**Created:** [January 30, 2025, 5:00pm UTC](https://forum.mautic.org/t/wordpress-mautic-sync-error-failed-to-fetch-custom-field/34899 "2025-01-30T17:00:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![stemautic88](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stemautic88/32/690_2.png) [@stemautic88](https://forum.mautic.org/u/stemautic88)
#### Post date: [January 30, 2025, 5:00pm UTC](https://forum.mautic.org/t/wordpress-mautic-sync-error-failed-to-fetch-custom-field/34899/1 "2025-01-30T17:00:18Z")

</div>

**Your software**  
_My PHP version is_ : 8.0.30  
_My MySQL/MariaDB version is_ (delete as applicable): MySQL 8.0.40  
_Mautic version is_: 4.4.13  
_WordPress-plugin Name/version_: Mautic Integration For WooCommerce 1.5.3

**Updating/Installing Errors**  
_I am_ (delete as applicable): Running the application on production server  
_Upgrading/installing via_ (delete as applicable) : n/a

_These errors are showing in the installer_ : n/a

_These errors are showing in the Mautic log_ :

mautic.WARNING: PHP Warning - Undefined array key “group” - in file /hpathtoMautic/docroot/app/bundles/LeadBundle/Form/Type/FieldType.php - at line 442 {“hostname”:“serverdomain”,“pid”:15}

**Your problem**  
_My problem is_ :

The WP plugin is not able to create some custom fields (mostly multiselect fields), as it returns the fields already exist in Mautic, but they don’t. When I search the Mautic database, I don’t find these fields either.  
The WP plugin vendor already took a look at the issue and came up with the idea that there might be hidden fields in the database of Mautic.

_Steps I have tried to fix the problem_ :

Deleted all custom fields in Mautic. Even checked the database if there are any entries with field alias. Re-installed the WP-plugin and started the custom field creation. Always with the same result, that some custom fields exist in Mautic. Even though they are not displayed in the custom field list in Mautic, nor they could be found in the Mautic database by searching for the custom field alias.

The whole issue also seems to impact the sync of new users from WP to Mautic, which does not work automatically right now. Users are only synced when the manual sync feature in the WP-plugin is used.

Any help with this is highly appreciated.

Thanks!

---

<div class="post-metadata">

### Author: ![stemautic88](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/stemautic88/32/690_2.png) [@stemautic88](https://forum.mautic.org/u/stemautic88)
#### Post date: [February 24, 2025, 11:43am UTC](https://forum.mautic.org/t/wordpress-mautic-sync-error-failed-to-fetch-custom-field/34899/2 "2025-02-24T11:43:12Z")

</div>

The problem wasn’t with Mautic.

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/mautic/original/1X/43c63600fe51440378769136903f1fa2a9a34102.png) [@system](https://forum.mautic.org/u/system)
#### Post date: [February 25, 2025, 11:43pm UTC](https://forum.mautic.org/t/wordpress-mautic-sync-error-failed-to-fetch-custom-field/34899/3 "2025-02-25T23:43:35Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
