Had the same problems with email not being sent to "new customer". Applied the bug fix in post #114 and bingo!
With reference to post #130:
So you suffer from constant headaches or migraines and to get rid of them, you just pop a few painkillers a day. Problem fixed - the headaches are gone! Or is the problem fixed?Okay, I think I got it. In the add_customers_backend.php file in the admin folder at line #695 comment out the "$errors = false". So change this:
if (count($errors)) {
$cInfo = new objectInfo($_POST);
$processed = true;
} else {
$errors = false;
}
to this:
if (count($errors)) {
$cInfo = new objectInfo($_POST);
$processed = true;
} else {
//$errors = false;
}
Pains and error messages are of the same nature: they are telling you that there is a problem! Symptoms are good, they are telling us a story! Don't just suppress the symptoms, instead look for the underlying reason and fix it. Usual result: symptoms gone.......no more error, no more pain.
I am a natural therapist and not a php savvy programmer, so I leave it to the experts to fix the underlying problem of the symptom of this error message:
Great mod, just installed it on both of my stores but will tread with caution until it's 100%Warning: Invalid argument supplied for foreach() in /zencart_folder/admin/add_customers.php on line 71


Reply With Quote
