Magento – Column ‘option_id’ in where clause is ambiguous.

This problem should be fixable by changing app/code/core/Mage/Eav/Model/Resource/Entity/Attribute/Option/Collection.php line 117. Just insert “main_table.” (without “) before option_id. The line shoul look like the following after that:

One thought on “Magento – Column ‘option_id’ in where clause is ambiguous.

  1. Hello,
    Had exactly the same problem and found your post. Yeah, it solves the problem, but modifying core files is never a good idea. You could override the class/method… OR:

    $collection->addFilterToMap(‘option_id’, ‘main_table.option_id’);

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.