If you are using PHP5 then use this contribution.
Reason: with v1.6 and the previous one (bug fix) if you have any changes to your customer's address_book then you will get errors similar to:
Warning: array_merge() [function.array-merge]: Argument #1
is not an array in
/home/xxxxxxxxx/public_html/shop/admin/customers.php on line
733
Warning: reset() [function.reset]: Passed variable is not an
array or object in
/home/xxxxxxxxx/public_html/shop/admin/includes/classes/object_info.php
on line 17
Warning: Variable passed to each() is not an array or object
in
/home/xxxxxxxxx/public_html/shop/admin/includes/classes/object_info.php
on line 18
The 2 changes to admin/customers.php file need to be as follows:
1. Line 764 find:
$customer_info = array_merge($country, $info, $reviews);
replace with;
$customer_info = array_merge((array)$country, (array)$info, (array)$reviews);
2. Line 766 find:
$cInfo_array = array_merge($customers, $customer_info);
replace with:
$cInfo_array = array_merge((array)$customers, (array)$customer_info);
The admin/customers.php file in this contribution has been changed to the above.
THIS IS A FULL PACKAGE (for php5 users)
More...





LinkBack URL
About LinkBacks








Reply With Quote
Bookmarks