Fatal error: Uncaught Error: Call to undefined method Magento\Catalog\Model\Category\FileInfo::getRelativePathToMediaDirectory() in /home/stylerep/public_html/tsf/app/code/Bss/RichSnippets/Model/Category/Image.php:73 Stack trace: #0 /home/stylerep/public_html/tsf/app/code/Bss/RichSnippets/Block/Category.php(225): Bss\RichSnippets\Model\Category\Image->getUrl(Object(Magento\Catalog\Model\Category\Interceptor)) #1 /home/stylerep/public_html/tsf/app/code/Bss/RichSnippets/view/frontend/templates/product/view/opengraph/category.phtml(29): Bss\RichSnippets\Block\Category->getCategoryImage() #2 /home/stylerep/public_html/tsf/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/stylerep/...') #3 /home/stylerep/public_html/tsf/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render(Object(Bss\RichSnippets\Block\Category\Interceptor), '/home/stylerep/...', Array) #4 /home/stylerep/public_html/tsf/vendor/magento/framework/Interception/Interceptor.php(138): Mage in /home/stylerep/public_html/tsf/app/code/Bss/RichSnippets/Model/Category/Image.php on line 73