Zen Cart Logo
Forums / General Questions / [function.array-merge]: Argument #1 is not an array in reviews.php line 302

[function.array-merge]: Argument #1 is not an array in reviews.php line 302

Locked

Views: 3,887

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
13 Mar 2008, 5:25 PM
#1
longstockings avatar

longstockings

Zen Follower

Join Date:
Jul 2004
Posts:
198
Plugin Contributions:
0

[function.array-merge]: Argument #1 is not an array in reviews.php line 302

Hello

Today I migrated a shop from an old server onto a new one and everything went fine apart from the database versions were incompatible. I corrected this with a fresh import and all is well apart from the reviews page in the stores admin which says

Warning: array_merge() [function.array-merge]: Argument #1 is not an array in /home/toys4car/public_html/admin/reviews.php on line 302

Warning: array_merge() [function.array-merge]: Argument #2 is not an array in /home/toys4car/public_html/admin/reviews.php on line 303

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

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

I am assuming that this error is either down to the reviews not being imported correctly or a problem with a newer version of Mysql or php5

Any help to fix this would be much appreciated.

14 Mar 2008, 1:58 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: [function.array-merge]: Argument #1 is not an array in reviews.php line 302

longstockings:

I am assuming that this error is either down to the reviews not being imported correctlyProbably correct.
If the data in your "reviews" or "reviews_description" tables is missing or not in sync, you'll get those kinds of errors.