TypeError: Argument 1 passed to Magento\Bundle\Model\Link::setExtensionAttributes() must be an instance of Magento\Bundle\Api\Data\LinkExtensionInterface, instance of Magento\Catalog\Api\Data\ProductExtension given, called in /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Api/DataObjectHelper.php on line 125 and defined in /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-bundle/Model/Link.php:214 Stack trace: #0 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Api/DataObjectHelper.php(125): Magento\Bundle\Model\Link->setExtensionAttributes() #1 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Api/DataObjectHelper.php(85): Magento\Framework\Api\DataObjectHelper->_setDataValues() #2 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\Api\DataObjectHelper->populateWithArray() #3 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\Api\DataObjectHelper\Interceptor->___callParent() #4 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\Api\DataObjectHelper\Interceptor->Magento\Framework\Interception\{closure}() #5 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Framework/Api/DataObjectHelper/Interceptor.php(23): Magento\Framework\Api\DataObjectHelper\Interceptor->___callPlugins() #6 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-bundle/Model/Product/LinksList.php(67): Magento\Framework\Api\DataObjectHelper\Interceptor->populateWithArray() #7 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-bundle/Model/Product/OptionList.php(68): Magento\Bundle\Model\Product\LinksList->getItems() #8 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-bundle/Model/OptionRepository.php(142): Magento\Bundle\Model\Product\OptionList->getItems() #9 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-bundle/Model/Product/ReadHandler.php(44): Magento\Bundle\Model\OptionRepository->getListByProduct() #10 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/EntityManager/Operation/Read/ReadExtensions.php(48): Magento\Bundle\Model\Product\ReadHandler->execute() #11 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/EntityManager/Operation/Read.php(112): Magento\Framework\EntityManager\Operation\Read\ReadExtensions->execute() #12 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/EntityManager/EntityManager.php(70): Magento\Framework\EntityManager\Operation\Read->execute() #13 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-catalog/Model/ResourceModel/Product.php(722): Magento\Framework\EntityManager\EntityManager->load() #14 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Catalog/Model/ResourceModel/Product/Interceptor.php(185): Magento\Catalog\Model\ResourceModel\Product->load() #15 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Model/AbstractModel.php(540): Magento\Catalog\Model\ResourceModel\Product\Interceptor->load() #16 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\Model\AbstractModel->load() #17 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Model\Product\Interceptor->___callParent() #18 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Model\Product\Interceptor->Magento\Framework\Interception\{closure}() #19 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Catalog/Model/Product/Interceptor.php(1661): Magento\Catalog\Model\Product\Interceptor->___callPlugins() #20 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-catalog/Model/ProductRepository.php(309): Magento\Catalog\Model\Product\Interceptor->load() #21 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Model\ProductRepository->getById() #22 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Model\ProductRepository\Interceptor->___callParent() #23 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Model\ProductRepository\Interceptor->Magento\Framework\Interception\{closure}() #24 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Catalog/Model/ProductRepository/Interceptor.php(32): Magento\Catalog\Model\ProductRepository\Interceptor->___callPlugins() #25 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Catalog/Api/ProductRepositoryInterface/Proxy.php(111): Magento\Catalog\Model\ProductRepository\Interceptor->getById() #26 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-catalog/Helper/Product.php(430): Magento\Catalog\Api\ProductRepositoryInterface\Proxy->getById() #27 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-catalog/Helper/Product/View.php(277): Magento\Catalog\Helper\Product->initProduct() #28 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Helper\Product\View->prepareAndRender() #29 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Helper\Product\View\Interceptor->___callParent() #30 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Helper\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #31 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Catalog/Helper/Product/View/Interceptor.php(32): Magento\Catalog\Helper\Product\View\Interceptor->___callPlugins() #32 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-catalog/Controller/Product/View.php(140): Magento\Catalog\Helper\Product\View\Interceptor->prepareAndRender() #33 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Catalog\Controller\Product\View->execute() #34 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Product\View\Interceptor->___callParent() #35 /home/ecombricks/subdomains/inventorydemo/app/code/Ecombricks/Inventory/Plugin/Framework/App/Action/Action.php(45): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #36 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(135): Ecombricks\Inventory\Plugin\Framework\App\Action\Action->aroundExecute() #37 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php(51): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #38 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute() #39 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #40 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Catalog/Controller/Product/View/Interceptor.php(29): Magento\Catalog\Controller\Product\View\Interceptor->___callPlugins() #41 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/App/Action/Action.php(111): Magento\Catalog\Controller\Product\View\Interceptor->execute() #42 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch() #43 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Catalog\Controller\Product\View\Interceptor->___callParent() #44 /home/ecombricks/subdomains/inventorydemo/app/code/Ecombricks/Inventory/Plugin/Framework/App/Action/Action.php(29): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #45 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(135): Ecombricks\Inventory\Plugin\Framework\App\Action\Action->aroundDispatch() #46 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() #47 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Catalog/Controller/Product/View/Interceptor.php(38): Magento\Catalog\Controller\Product\View\Interceptor->___callPlugins() #48 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/App/FrontController.php(186): Magento\Catalog\Controller\Product\View\Interceptor->dispatch() #49 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/App/FrontController.php(118): Magento\Framework\App\FrontController->processRequest() #50 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch() #51 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent() #52 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #53 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() #54 /home/ecombricks/subdomains/inventorydemo/vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php(75): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #55 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() #56 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() #57 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins() #58 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch() #59 /home/ecombricks/subdomains/inventorydemo/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch() #60 /home/ecombricks/subdomains/inventorydemo/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http\Interceptor->launch() #61 /home/ecombricks/subdomains/inventorydemo/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #62 {main}