Zen Cart Logo
Forums / General Questions / problem with customers detail

problem with customers detail

Views: 726

Results 1 to 4 of 4
28 Feb 2012, 7:19 AM
#1
kevinc66 avatar

kevinc66

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

problem with customers detail

Hi,

I am having some problem with my customers detail. The first 2 pages about 400 customers are fine. But the remaining 20 pages until the first customer who signed up are having error. Missing details.This is the error:

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/simplyvc/public_html/jintex/admin/customers.php on line 1071

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/simplyvc/public_html/jintex/admin/customers.php on line 1073

Warning: reset() [function.reset]: Passed variable is not an array or object in /home/simplyvc/public_html/jintex/admin/includes/classes/object_info.php on line 29

Warning: Variable passed to each() is not an array or object in /home/simplyvc/public_html/jintex/admin/includes/classes/object_info.php on line 30

regards
Kevin

28 Feb 2012, 12:45 PM
#2
aditya369 avatar

aditya369

New Zenner

Join Date:
Oct 2011
Posts:
36
Plugin Contributions:
0

Re: problem with customers detail

Replace
$customer_info = array_merge($country->fields, $info->fields, $reviews->fields);
$cInfo_array = array_merge($customers->fields, $customer_info);
With
$customer_info = array_merge((array)$country->fields, (array)$info->fields, (array)$reviews->fields);
$cInfo_array = array_merge((array)$customers->fields, (array)$customer_info);

I think, this should work.

29 Feb 2012, 6:31 AM
#3
kevinc66 avatar

kevinc66

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: problem with customers detail

Thks, will try later and see whether it will work or not.

29 Feb 2012, 6:33 AM
#4
kevinc66 avatar

kevinc66

New Zenner

Join Date:
May 2006
Posts:
76
Plugin Contributions:
0

Re: problem with customers detail

Hey, thks a lot. It works...

regards