Two categories on my website mrmobileuk.com are showing the following error:
Fatal error: Unsupported operand types in app/code/core/Mage/ConfigurableSwatches/Helper/Mediafallback.php on line 61
These are the categories:
Rest other categories are fine.
There have been posts on this issue previously too on your site but no recommended solution has been posted in response.
@murtaza and rest who have been following this post.
There was no problem with the Mediafallback.php file.
Do not edit the core file.
I created new categories and tried to place the products in these new categories one by one. The error showed up again after moving a certain product which was the main cause. It was a configurable product but it wasn't associated with simple products. So I deleted that product and created again and was all fine after that. Because of that, the whole category was showing an error. I still do not know why that product was causing an error but deleting it solved the issue. So if you are keen to know why, you can investigate on that part.