Hello and thank you for your time. I needed to add some customer details fields to my site and I did so following the guidance from this link:
http://www.zen-cart.com/forum/showth...r+field&page=2
Everything works good, I added Address line 3 and urbanization code. I can make changes in My Account, in admin I can do updates, etc, everythings splendid. But in admin on the Customers >> Customers page, I have 4 errors, that only show up when a customer is not selected, for example when first navigating to the page.
The first two errors, refer to untouched core code on customers.php:Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/hume2/public_html/admin/customers.php on line 1136
Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/hume2/public_html/admin/customers.php on line 1138
Warning: reset() [function.reset]: Passed variable is not an array or object in /home/hume2/public_html/admin/includes/classes/object_info.php on line 29
Warning: Variable passed to each() is not an array or object in /home/hume2/public_html/admin/includes/classes/object_info.php on line 30
Anyone with ideas I'm listening. Everything works fine just those errors.... Also, I've recently upgraded it to Zen 1.3.8a, PHP 5.2.6, and MySql 5.0.58 but funny enough all that went off without a hitch. haha! and thanks!Code:$customer_info = array_merge($country->fields, $info->fields, $reviews->fields); $cInfo_array = array_merge($customers->fields, $customer_info);
Bookmarks