OK I had the same problem and I just downloaded a new version of zencart, registered some test customers and I am getting those lines of errors :
Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home1/arabbro1/public_html/pc2all/admin/customers.php on line 1099
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home1/arabbro1/public_html/pc2all/admin/customers.php on line 1101
Warning: reset() [function.reset]: Passed variable is not an array or object in /home1/arabbro1/public_html/pc2all/admin/includes/classes/object_info.php on line 29
Warning: Variable passed to each() is not an array or object in /home1/arabbro1/public_html/pc2all/admin/includes/classes/object_info.php on line 30
I can't even delete any customer!! please check my customers file
![]()
Either your countries table is empty, or the customer you added is connected to a country which you've deleted from the database.
You can't go deleting data and not encounter errors.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thanks DrByte, I fixed it, You maybe right about that because I indeed deleted all the countries from my phpmyadmin side and left only one, for customers also I had to delete them from the phpmyadmin side and when I created a test customer to edit/delete his info, I could do that luckily .. Thanks again ..![]()