socal_kl Posted December 12, 2007 Posted December 12, 2007 I'm getting the following error below when I go to edit one of my products thats already in my catalog. Warning: reset() [function.reset]: Passed variable is not an array or object in /home/kmgmedio/public_html/charisma/admin/includes/classes/object_info.php on line 17 Warning: Variable passed to each() is not an array or object in /home/kmgmedio/public_html/charisma/admin/includes/classes/object_info.php on line 18 Now the edit product page still shows up wit h this error on top, but the page is blank with no products in it. Not sure what to do Ive tried uploading my backup of the object_info.php but nothing. any help is appreciated. cheers Weather you think you can, or you think you can't. Your right.
photofxplus Posted December 12, 2007 Posted December 12, 2007 That class function is being called 7 times on the categories page $pInfo = new objectInfo($product); and $cInfo = new objectInfo($cInfo_array); Is the GET variable 'action' set in your address bar? If so, what is the value,, I am assuming: action=new_product The first thing I would do is determine which class function is creating the error, then why the value sent to the class function is not an array. Lloyd
socal_kl Posted December 13, 2007 Author Posted December 13, 2007 That class function is being called 7 times on the categories page$pInfo = new objectInfo($product); and $cInfo = new objectInfo($cInfo_array); Is the GET variable 'action' set in your address bar? If so, what is the value,, I am assuming: action=new_product The first thing I would do is determine which class function is creating the error, then why the value sent to the class function is not an array. the address bar is showing the GET variable as action=new_product Weather you think you can, or you think you can't. Your right.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.