windows, firefox 8, joomla 1.7.3
Hi, the backend form for my icons table is working fine in the sandbox but the downloaded compenent is coming up with this error
Warning: get_class() expects parameter 1 to be object, array given in D:\xampp\htdocs\thaiplantscatalog\administrator\components\com_garden\models\iconitem.php on line 220
could you take a look please.
Thanks
update - now getting an error in the sandbox - icon category error
update 2- ok, I created an exact duplicate of the table and fields, and then it worked in both the sandbox and the component. I then foolishly deleted the original table which I know means you cannot check why it happened. I had put some images in the table, and I remember you mentioning that you did flush out the sandboxes which would remove images, do you think this could have caused something to corrupt or get stuck? It is the only thing I can think of as I checked it yesterday and it ran in the sandbox. I then checked in the sandbox this morning and noticed that the 2 test records with images had gone which is fine, but also that I got the error above creating a new record. Between it working and not working I had not made any change or even opened the table or the layouts. Puzzling. I will in avoid putting images into the sandbox in future though. I know what does and doesn't work, so it's not as necessary anyway.
So, my problem is solved, but want to avoid it happening again
Perhaps some clear advice somewhere on whether we can or cannot put images into rich text fields in the sandbox would be a good idea though.
thanks