Fatal error: Uncaught Error: Call to a member function getOptionId() on null in /home/moda/domains/1moda.eu/public_html/staging/app/code/local/Amasty/Shopby/Helper/Url.php:119 Stack trace: #0 /home/moda/domains/1moda.eu/public_html/staging/app/code/local/Amasty/Shopby/Helper/Url.php(73): Amasty_Shopby_Helper_Url->_getFirstAttributeValueUrl() #1 /home/moda/domains/1moda.eu/public_html/staging/app/code/local/Amasty/Shopby/Block/Top.php(39): Amasty_Shopby_Helper_Url->getCanonicalUrl() #2 /home/moda/domains/1moda.eu/public_html/staging/app/code/local/Amasty/Shopby/Block/Top.php(190): Amasty_Shopby_Block_Top->_handleCanonical(NULL) #3 /home/moda/domains/1moda.eu/public_html/staging/app/code/core/Mage/Core/Block/Abstract.php(293): Amasty_Shopby_Block_Top->_prepareLayout() #4 /home/moda/domains/1moda.eu/public_html/staging/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Inchoo_PHP7_Model_Layout)) #5 /home/moda/domains/1moda.eu/public_html/staging/app/code/core/Mage/Core/Model/Layout.php( in /home/moda/domains/1moda.eu/public_html/staging/app/code/local/Amasty/Shopby/Helper/Url.php on line 119