Fatal error: Uncaught Error: Call to a member function getUrl() on int in /html/mag2.schoenbuch.com/app/code/BKO/CatalogData/Observer/ChangeTheme.php:142 Stack trace: #0 /html/mag2.schoenbuch.com/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): BKO\CatalogData\Observer\ChangeTheme->execute(Object(Magento\Framework\Event\Observer)) #1 /html/mag2.schoenbuch.com/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(BKO\CatalogData\Observer\ChangeTheme), Object(Magento\Framework\Event\Observer)) #2 /html/mag2.schoenbuch.com/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #3 /html/mag2.schoenbuch.com/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('catalog_control...', Array) #4 /html/mag2.schoenbuch.com/vendor/magento/module-catalog/Helper/Product.php(472): Magento\Frame in /html/mag2.schoenbuch.com/app/code/BKO/CatalogData/Observer/ChangeTheme.php on line 142