Error: Object of class Magento\Catalog\Model\Product\Interceptor could not be converted to string in /home/taowu/public_html/app/code/BoostMyShop/Supplier/Model/ResourceModel/Order/Product/Collection.php:28 Stack trace: #0 /home/taowu/public_html/app/code/BoostMyShop/AvailabilityStatus/Model/AvailabilityStatus.php(180): BoostMyShop\Supplier\Model\ResourceModel\Order\Product\Collection->addProductFilter(Object(Magento\Catalog\Model\Product\Interceptor)) #1 /home/taowu/public_html/app/code/BoostMyShop/AvailabilityStatus/Model/AvailabilityStatus.php(94): BoostMyShop\AvailabilityStatus\Model\AvailabilityStatus->getPoMessage(Object(Magento\Catalog\Model\Product\Interceptor), '1', 'outofstock') #2 /home/taowu/public_html/app/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable.php(36): BoostMyShop\AvailabilityStatus\Model\AvailabilityStatus->getOutOfStockMessage(Object(Magento\Catalog\Model\Product\Interceptor), '1') #3 /home/taowu/public_html/app/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable.php(24): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable->getOosMessage() #4 /home/taowu/public_html/generated/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable/Interceptor.php(24): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable->getMessage() #5 [internal function]: BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->getMessage() #6 /home/taowu/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(94): call_user_func_array(Array, Array) #7 /home/taowu/public_html/app/code/BoostMyShop/AvailabilityStatus/view/frontend/templates/product/view/type/configurable.phtml(2): Magento\Framework\View\TemplateEngine\Php->__call('getMessage', Array) #8 /home/taowu/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/taowu/pub...') #9 /home/taowu/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render(Object(BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor), '/home/taowu/pub...', Array) #10 /home/taowu/public_html/generated/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable/Interceptor.php(440): Magento\Framework\View\Element\Template->fetchView('/home/taowu/pub...') #11 /home/taowu/public_html/vendor/magento/framework/View/Element/Template.php(303): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->fetchView('/home/taowu/pub...') #12 /home/taowu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #13 /home/taowu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #14 /home/taowu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #15 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml() #16 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(138): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->___callParent('toHtml', Array) #17 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->Magento\Framework\Interception\{closure}() #18 /home/taowu/public_html/generated/code/BoostMyShop/AvailabilityStatus/Block/Product/View/Type/Configurable/Interceptor.php(767): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->___callPlugins('toHtml', Array, Array) #19 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(566): BoostMyShop\AvailabilityStatus\Block\Product\View\Type\Configurable\Interceptor->toHtml() #20 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('availabilitysta...') #21 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('availabilitysta...') #22 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('availabilitysta...') #23 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('availabilitysta...', false) #24 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('availabilitysta...', false) #25 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.info.ty...', false) #26 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.ty...') #27 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.ty...') #28 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.ty...', false) #29 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.ty...', false) #30 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.info.st...', false) #31 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.st...') #32 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.st...') #33 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.st...', false) #34 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.st...', false) #35 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.info.pr...', false) #36 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.pr...') #37 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.pr...') #38 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.pr...', false) #39 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.pr...', false) #40 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.info.ma...', false) #41 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.ma...') #42 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.ma...') #43 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.ma...', false) #44 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.ma...', false) #45 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.info.le...', false) #46 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.info.le...') #47 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.info.le...') #48 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.info.le...', false) #49 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.info.le...', false) #50 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.main.ro...', false) #51 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.main.ro...') #52 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.main.ro...') #53 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.main.ro...', true) #54 /home/taowu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(526): Magento\Framework\View\Layout\Interceptor->renderElement('product.main.ro...', true) #55 /home/taowu/public_html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(778): Magento\Framework\View\Element\AbstractBlock->getChildHtml('', true) #56 /home/taowu/public_html/app/design/frontend/Codazon/unlimited/default/Magento_Catalog/templates/product/view/form-wrapper.phtml(26): Magento\Catalog\Block\Product\View\Interceptor->getChildHtml() #57 /home/taowu/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/taowu/pub...') #58 /home/taowu/public_html/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\Catalog\Block\Product\View\Interceptor), '/home/taowu/pub...', Array) #59 /home/taowu/public_html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(544): Magento\Framework\View\Element\Template->fetchView('/home/taowu/pub...') #60 /home/taowu/public_html/vendor/magento/framework/View/Element/Template.php(303): Magento\Catalog\Block\Product\View\Interceptor->fetchView('/home/taowu/pub...') #61 /home/taowu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1111): Magento\Framework\View\Element\Template->_toHtml() #62 /home/taowu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1115): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element\{closure}() #63 /home/taowu/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(675): Magento\Framework\View\Element\AbstractBlock->_loadCache() #64 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Element\AbstractBlock->toHtml() #65 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Block\Product\View\Interceptor->___callParent('toHtml', Array) #66 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Block\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #67 /home/taowu/public_html/generated/code/Magento/Catalog/Block/Product/View/Interceptor.php(871): Magento\Catalog\Block\Product\View\Interceptor->___callPlugins('toHtml', Array, Array) #68 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(566): Magento\Catalog\Block\Product\View\Interceptor->toHtml() #69 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(542): Magento\Framework\View\Layout->_renderBlock('product.form.wr...') #70 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.form.wr...') #71 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.form.wr...') #72 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.form.wr...', false) #73 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.form.wr...', false) #74 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.main.wr...', false) #75 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.main.wr...') #76 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.main.wr...') #77 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.main.wr...', false) #78 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.main.wr...', false) #79 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('product.row', false) #80 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('product.row') #81 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('product.row') #82 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('product.row', false) #83 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('product.row', false) #84 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('content', false) #85 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('content') #86 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('content') #87 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('content', false) #88 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('content', false) #89 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('main', false) #90 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main') #91 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main') #92 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main', false) #93 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('main', false) #94 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('columns', false) #95 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('columns') #96 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('columns') #97 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('columns', false) #98 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('columns', false) #99 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('main.content', false) #100 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('main.content') #101 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('main.content') #102 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('main.content', false) #103 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('main.content', false) #104 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('page.wrapper', false) #105 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('page.wrapper') #106 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('page.wrapper') #107 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('page.wrapper', false) #108 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(594): Magento\Framework\View\Layout\Interceptor->renderElement('page.wrapper', false) #109 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(544): Magento\Framework\View\Layout->_renderContainer('root', false) #110 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(206): Magento\Framework\View\Layout->renderNonCachedElement('root') #111 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(497): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement('root') #112 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(193): Magento\Framework\View\Layout->renderElement('root', true) #113 /home/taowu/public_html/vendor/magento/framework/View/Layout.php(963): Magento\Framework\View\Layout\Interceptor->renderElement('root') #114 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Layout->getOutput() #115 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Layout\Interceptor->___callParent('getOutput', Array) #116 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() #117 /home/taowu/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(494): Magento\Framework\View\Layout\Interceptor->___callPlugins('getOutput', Array, Array) #118 /home/taowu/public_html/vendor/magento/framework/View/Result/Page.php(258): Magento\Framework\View\Layout\Interceptor->getOutput() #119 /home/taowu/public_html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render(Object(Magento\Framework\App\Response\Http\Interceptor)) #120 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\Result\Layout->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #121 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\Result\Page\Interceptor->___callParent('renderResult', Array) #122 /home/taowu/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\Result\Page\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #123 /home/taowu/public_html/generated/code/Magento/Framework/View/Result/Page/Interceptor.php(130): Magento\Framework\View\Result\Page\Interceptor->___callPlugins('renderResult', Array, Array) #124 /home/taowu/public_html/vendor/magento/framework/App/Http.php(120): Magento\Framework\View\Result\Page\Interceptor->renderResult(Object(Magento\Framework\App\Response\Http\Interceptor)) #125 /home/taowu/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(24): Magento\Framework\App\Http->launch() #126 /home/taowu/public_html/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #127 /home/taowu/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #128 {main}