Fatal error: Uncaught Error: Call to a member function getPath() on string in /var/www/html/app/code/Ortho/Theme/Plugin/Product/View.php:87 Stack trace: #0 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(146): Ortho\Theme\Plugin\Product\View->afterExecute(Object(Magento\Catalog\Controller\Product\View\Interceptor), Object(Magento\Framework\View\Result\Page\Interceptor)) #1 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #2 /var/www/html/generated/code/Magento/Catalog/Controller/Product/View/Interceptor.php(26): Magento\Catalog\Controller\Product\View\Interceptor->___callPlugins('execute', Array, Array) #3 /var/www/html/vendor/magento/framework/App/Action/Action.php(107): Magento\Catalog\Controller\Product\View\Interceptor->execute() #4 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\R in /var/www/html/app/code/Ortho/Theme/Plugin/Product/View.php on line 87