Fatal error: Uncaught Error: Call to a member function getOptionId() on null in /var/www/vhosts/bedsdirectuk.net/htdocs/releases/1542190135/app/code/local/Amasty/Shopby/Helper/Url.php:95 Stack trace: #0 /var/www/vhosts/bedsdirectuk.net/htdocs/releases/1542190135/app/code/local/Amasty/Shopby/Helper/Url.php(68): Amasty_Shopby_Helper_Url->_getFirstAttributeValueUrl() #1 /var/www/vhosts/bedsdirectuk.net/htdocs/releases/1542190135/app/code/local/Amasty/Shopby/Block/Top.php(39): Amasty_Shopby_Helper_Url->getCanonicalUrl() #2 /var/www/vhosts/bedsdirectuk.net/htdocs/releases/1542190135/app/code/local/Amasty/Shopby/Block/Top.php(178): Amasty_Shopby_Block_Top->_handleCanonical(NULL) #3 /var/www/vhosts/bedsdirectuk.net/htdocs/releases/1542190135/app/code/core/Mage/Core/Block/Abstract.php(293): Amasty_Shopby_Block_Top->_prepareLayout() #4 /var/www/vhosts/bedsdirectuk.net/htdocs/releases/1542190135/app/code/local/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout)) #5 /var/www/vhosts/bed in /var/www/vhosts/bedsdirectuk.net/htdocs/releases/1542190135/app/code/local/Amasty/Shopby/Helper/Url.php on line 95