When I try to see in the backend "Product Information"/"Related Products" I see this error:

Fatal error: Call to a member function setLinkModel() on a non-object in /XXXXXXXXXX/app/code/core/Mage/Catalog/Model/Product/Link.php on line 105

Same error on the right of the front-end for each products.

1 Answer 1


It seams that this line return null or false $collection = Mage::getResourceModel('catalog/product_link_product_collection').
Firs try clearing the cache.
If that changes nothing.... Either the file app/code/core/Mage/Catalog/Model/Resource/Product/Link/Product/Collection.php is missing or there is an extension rewriting this model but it does it wrong.

  • Thank you so much. I'm very surprised. The file app/code/core/Mage/Catalog/Model/Resource/Product/Link/Product/Collection.php is empty, it existing without any characters. I used Filezilla and its queue to transfer via FTP the latest edition of Magento CE and I can't imagine that some files are empty. Thank you Marius!! Cheers
    – Fausto
    Commented Jun 25, 2015 at 5:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.