I think that \Setono\SyliusMailchimpPlugin\Model\MailchimpAwareTrait::$mailchimpState should be nullable and defined as below:
/**
* @var string
*
* @ORM\Column(type="string", nullable=true)
*/
protected $mailchimpState = self::MAILCHIMP_STATE_PENDING;
In this way, this field of the entities (order and customer) already present on the DB will be null.
It has to be null and not an empty string as is right now and I have explained the reason here.
getMailchimpState() and setMailchimpState() should be changed accordingly.
I think that
\Setono\SyliusMailchimpPlugin\Model\MailchimpAwareTrait::$mailchimpStateshould be nullable and defined as below:In this way, this field of the entities (order and customer) already present on the DB will be
null.It has to be
nulland not an emptystringas is right now and I have explained the reason here.getMailchimpState()andsetMailchimpState()should be changed accordingly.