Error: Object of class Magento\Catalog\Model\Product\Interceptor could not be converted to string in /home/nginx/domains/motopro.ch/public/app/code/BoostMyShop/AvailabilityStatus/Model/AvailabilityStatus.php:105 Stack trace: #0 /home/nginx/domains/motopro.ch/public/app/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable.php(36): BoostMyShop\AvailabilityStatus\Model\AvailabilityStatus->getOutOfStockMessage() #1 /home/nginx/domains/motopro.ch/public/app/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable.php(24): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable->getOosMessage() #2 /home/nginx/domains/motopro.ch/public/generated/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable/Interceptor.php(24): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable->getMessage() #3 [internal function]: BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->getMessage() #4 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/TemplateEngine/Php.php(94): call_user_func_array() #5 /home/nginx/domains/motopro.ch/public/app/code/BoostMyShop/AvailabilityStatus/view/frontend/templates/product/view/type/configurable.phtml(2): Magento\Framework\View\TemplateEngine\Php->__call() #6 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/nginx/dom...') #7 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render() #8 /home/nginx/domains/motopro.ch/public/generated/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable/Interceptor.php(440): Magento\Framework\View\Element\Template->fetchView() #9 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Element/Template.php(303): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->fetchView() #10 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #11 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #12 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #13 /home/nginx/domains/motopro.ch/public/generated/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable/Interceptor.php(765): Magento\Framework\View\Element\AbstractBlock->toHtml() #14 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(566): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->toHtml() #15 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock() #16 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #17 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #18 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #19 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #20 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #21 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #22 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #23 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #24 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #25 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #26 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #27 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #28 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #29 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #30 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #31 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #32 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #33 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #34 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #35 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #36 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #37 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #38 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #39 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #40 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #41 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #42 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #43 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #44 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #45 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #46 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #47 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #48 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #49 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #50 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #51 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #52 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #53 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #54 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #55 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #56 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #57 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #58 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #59 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #60 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #61 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #62 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #63 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #64 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement() #65 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer() #66 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement() #67 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement() #68 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement() #69 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Layout.php(963): Magento\Framework\View\Layout\Interceptor->renderElement() #70 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #71 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent() #72 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #73 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Layout/Interceptor.php(494): Magento\Framework\View\Layout\Interceptor->___callPlugins() #74 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #75 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render() #76 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult() #77 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent() #78 /home/nginx/domains/motopro.ch/public/app/code/Magezon/Core/Plugin/View/Result/Layout.php(24): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #79 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/Interception/Interceptor.php(135): Magezon\Core\Plugin\View\Result\Layout->aroundRenderResult() #80 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}() #81 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins() #82 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult() #83 /home/nginx/domains/motopro.ch/public/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #84 /home/nginx/domains/motopro.ch/public/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #85 /home/nginx/domains/motopro.ch/public/pub/index.php(40): Magento\Framework\App\Bootstrap->run() #86 {main}