1

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.

7ochem
7,61516 gold badges54 silver badges82 bronze badges
asked Jun 24, 2015 at 19:58

1 Answer 1

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.

answered Jun 24, 2015 at 20:44
1
  • 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 Commented Jun 25, 2015 at 5:38

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.