• Resolved jasonbskim

    (@jasonbskim)


    The following error appears when synchronizing Fields while registering a user in WordPress.
    There is Key & Value in Usermeta Fields of WordPress, but is there a way to turn Sync Error?

    Object: Contact

    Message: Required fields are missing: [LastName]

    Params: Array
    (
    [FirstName] =>
    [LastName] =>
    [Name_Legal__c] =>
    [Department] =>
    [MobilePhone] =>
    [ContactReason__c] =>
    [Phone] =>
    [ContactPosition__c] =>
    [Representative__c] =>
    [Email] => [email protected]
    )

Viewing 1 replies (of 1 total)
  • Plugin Author Jonathan Stegall

    (@jonathanstegall)

    The way that WordPress works is that when a record (a post, a user, whatever) is created, the core fields are created first and then the meta fields are generally added in separate calls (to wp_postmeta, etc.). With users this is slightly different because the first call is to create a profile (which includes last name).

    With this plugin, it can cause problems when there are required fields because the plugin sends the core fields to Salesforce before the meta fields exist.

    If you want to sync something to the Contact object, you need to do it in one of two ways:

    1. Use the WordPress user object because its core fields include the last name.
    2. OR, put the last name into one of the core fields for whatever object type you’re making.

Viewing 1 replies (of 1 total)

The topic ‘Message: Required fields are missing: [LastName]’ is closed to new replies.