Fatal error: Uncaught Error: Call to a member function getOptionId() on null in /home/skirack/public_html/app/code/local/Amasty/Shopby/Helper/Url.php:100 Stack trace: #0 /home/skirack/public_html/app/code/local/Amasty/Shopby/Helper/Url.php(68): Amasty_Shopby_Helper_Url->_getFirstAttributeValueUrl() #1 /home/skirack/public_html/app/code/local/Amasty/Shopby/Block/Top.php(39): Amasty_Shopby_Helper_Url->getCanonicalUrl() #2 /home/skirack/public_html/app/code/local/Amasty/Shopby/Block/Top.php(178): Amasty_Shopby_Block_Top->_handleCanonical(NULL) #3 /home/skirack/public_html/app/code/core/Mage/Core/Block/Abstract.php(293): Amasty_Shopby_Block_Top->_prepareLayout() #4 /home/skirack/public_html/app/code/local/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Smartwave_All_Model_Core_Layout)) #5 /home/skirack/public_html/app/code/local/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('amshopby/top', 'amshopby.top') #6 /home/skirack/public_html/app/code/local/Mage/Core/Model/Layout.php( in /home/skirack/public_html/app/code/local/Amasty/Shopby/Helper/Url.php on line 100