You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is log file error
[2024-07-26 12:01:05] MailChimpLogger.INFO: Notice: Undefined offset: 1649 in /var/www/html/screwman/app/code/Ebizmarts/MailChimp/Helper/Data.php on line 459
[] []
[2024-07-26 12:01:06] MailChimpLogger.INFO: Generate Carts payload
public function getMapFields($storeId = null)
{
if (!$this->_mapFields) {
$customerAtt = $this->getBindableAttributes();
$data = $this->getConfigValue(self::XML_MERGEVARS, $storeId);
try {
$data = $this->unserialize($data);
if (is_array($data)) {
foreach ($data as $customerFieldId => $mailchimpName) {
$this->_mapFields[] = [
'mailchimp' => strtoupper($mailchimpName),
'customer_field' => $customerAtt[$customerFieldId]['attCode'],
'isDate' => $customerAtt[$customerFieldId]['isDate'],
'isAddress' => $customerAtt[$customerFieldId]['isAddress'],
'options' => $customerAtt[$customerFieldId]['options']
];
}
}
} catch (\Exception $e) {
$this->log($e->getMessage());
}
}
return $this->_mapFields;
}
public function getDateFormat()
{
return 'm/d/Y';
}
This is log file error
[2024-07-26 12:01:05] MailChimpLogger.INFO: Notice: Undefined offset: 1649 in /var/www/html/screwman/app/code/Ebizmarts/MailChimp/Helper/Data.php on line 459
[] []
[2024-07-26 12:01:06] MailChimpLogger.INFO: Generate Carts payload
public function getMapFields($storeId = null)
{
if (!$this->_mapFields) {
$customerAtt = $this->getBindableAttributes();
$data = $this->getConfigValue(self::XML_MERGEVARS, $storeId);
try {
$data = $this->unserialize($data);
if (is_array($data)) {
foreach ($data as $customerFieldId => $mailchimpName) {
$this->_mapFields[] = [
'mailchimp' => strtoupper($mailchimpName),
'customer_field' => $customerAtt[$customerFieldId]['attCode'],
'isDate' => $customerAtt[$customerFieldId]['isDate'],
'isAddress' => $customerAtt[$customerFieldId]['isAddress'],
'options' => $customerAtt[$customerFieldId]['options']
];
}
}
} catch (\Exception $e) {
$this->log($e->getMessage());
}
}
return $this->_mapFields;
}
public function getDateFormat()
{
return 'm/d/Y';
}
The text was updated successfully, but these errors were encountered: