• Resolved kristonor

    (@kristonor)


    Hello,

    When I try to add new customer on order I get this message;

    New customer could not be added by Add Customer Plugin. Please contact the Plugin Author.
    {“errors”:{“customer_type_error”:[“Kundetype er p\u00e5krevd!”]},”error_data”:[]}

    In the settings I have applied this:
    Add new customer by default (YES)
    Define user role individually (YES) – set to “Private”

    When I add new customer on order I have selected the customer type “Privat” and still get this error message

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author dansart

    (@dansart)

    Hi @kristonor
    Thanks for reaching out.
    This is likely caused by a third party plugin. Do you have a Plugin that is used to modify users, e.g. add custom fields to user / customer page?
    Can you provide me with a list of the installed plugins?

    Best, Daniel

    Thread Starter kristonor

    (@kristonor)

    Hello,

    We use this for custom user roles: https://nb.ww.wp.xz.cn/plugins/members/

    And we also use Advanced Custom Fields PRO for the theme

    Thread Starter kristonor

    (@kristonor)

    We use Advanced Custom Fields where we have a field group for: User:Woocommerce

    Field name: customer_type
    Values: private, company
    Standard value: privat

    Can this be the issue?

    Plugin Author dansart

    (@dansart)

    Possible.
    Is the ACF required?
    If not, I would guess it is the members plugin. Can you try to deactivate this and try to add a customer it again.

    Best, Daniel

    Thread Starter kristonor

    (@kristonor)

    The field group is not required no

    I deactivated the plugin Members, and the error is still there

    Thread Starter kristonor

    (@kristonor)

    I fixed the problem

    Plugin Author dansart

    (@dansart)

    I tried to reproduce the error with ACF, but it works with me.
    Can you provide a complete plugin list?
    For sensitive content, please use my email: [email protected]

    Plugin Author dansart

    (@dansart)

    Great! Thanks for letting me know.
    Best, Daniel

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Error on creating new customer’ is closed to new replies.