Fatal error: Uncaught Error: Call to a member function getOptionId() on null in /var/www/cavesa.ch/app/code/local/Amasty/Shopby/Helper/Url.php:95 Stack trace: #0 /var/www/cavesa.ch/app/code/local/Amasty/Shopby/Helper/Url.php(68): Amasty_Shopby_Helper_Url->_getFirstAttributeValueUrl() #1 /var/www/cavesa.ch/app/code/local/Amasty/Shopby/Block/Top.php(39): Amasty_Shopby_Helper_Url->getCanonicalUrl() #2 /var/www/cavesa.ch/app/code/local/Amasty/Shopby/Block/Top.php(178): Amasty_Shopby_Block_Top->_handleCanonical(NULL) #3 /var/www/cavesa.ch/app/code/core/Mage/Core/Block/Abstract.php(297): Amasty_Shopby_Block_Top->_prepareLayout() #4 /var/www/cavesa.ch/app/code/local/Mage/Core/Model/Layout.php(414): Mage_Core_Block_Abstract->setLayout(Object(Inchoo_PHP7_Model_Layout)) #5 /var/www/cavesa.ch/app/code/local/Mage/Core/Model/Layout.php(428): Mage_Core_Model_Layout->createBlock('amshopby/top', 'amshopby.top') #6 /var/www/cavesa.ch/app/code/local/Mage/Core/Model/Layout.php(217): Mage_Core_Model_Layout->addBlock('amshopby/top', 'amshopby in /var/www/cavesa.ch/app/code/local/Amasty/Shopby/Helper/Url.php on line 95