1 exception(s): Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Gaia\Product\Block\Googleshopping, Argument 2 passed to Gaia\Product\Block\Googleshopping::getProductByColor() must be of the type int, string given, called in /app/app/code/Gaia/Product/Block/Googleshopping.php on line 85 Exception #0 (Magento\Framework\Exception\RuntimeException): Type Error occurred when creating object: Gaia\Product\Block\Googleshopping, Argument 2 passed to Gaia\Product\Block\Googleshopping::getProductByColor() must be of the type int, string given, called in /app/app/code/Gaia/Product/Block/Googleshopping.php on line 85
#1 Magento\Framework\ObjectManager\Factory\Compiled->create() called at [vendor/magento/framework/ObjectManager/ObjectManager.php:56] #2 Magento\Framework\ObjectManager\ObjectManager->create() called at [vendor/magento/framework/View/Element/BlockFactory.php:46] #3 Magento\Framework\View\Element\BlockFactory->createBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:272] #4 Magento\Framework\View\Layout\Generator\Block->getBlockInstance() called at [vendor/magento/framework/View/Layout/Generator/Block.php:252] #5 Magento\Framework\View\Layout\Generator\Block->createBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:229] #6 Magento\Framework\View\Layout\Generator\Block->generateBlock() called at [vendor/magento/framework/View/Layout/Generator/Block.php:134] #7 Magento\Framework\View\Layout\Generator\Block->process() called at [vendor/magento/framework/View/Layout/GeneratorPool.php:93] #8 Magento\Framework\View\Layout\GeneratorPool->process() called at [vendor/magento/framework/View/Layout.php:365] #9 Magento\Framework\View\Layout->generateElements() called at [vendor/magento/framework/Interception/Interceptor.php:58] #10 Magento\Framework\View\Layout\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #11 Magento\Framework\View\Layout\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #12 Magento\Framework\View\Layout\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:32] #13 Magento\Framework\View\Layout\Interceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129] #14 Magento\Framework\View\Layout\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:65] #15 Magento\Framework\View\Page\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65] #16 Magento\Framework\View\Layout\Builder->build() called at [vendor/magento/framework/View/Page/Config.php:224] #17 Magento\Framework\View\Page\Config->build() called at [vendor/magento/framework/View/Page/Config.php:587] #18 Magento\Framework\View\Page\Config->getElementAttribute() called at [vendor/magento/framework/View/Page/Config.php:545] #19 Magento\Framework\View\Page\Config->addBodyClass() called at [vendor/magento/module-catalog/Helper/Product/View.php:224] #20 Magento\Catalog\Helper\Product\View->initProductLayout() called at [vendor/magento/module-catalog/Helper/Product/View.php:299] #21 Magento\Catalog\Helper\Product\View->prepareAndRender() called at [vendor/magento/framework/Interception/Interceptor.php:58] #22 Magento\Catalog\Helper\Product\View\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #23 Magento\Catalog\Helper\Product\View\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #24 Magento\Catalog\Helper\Product\View\Interceptor->___callPlugins() called at [generated/code/Magento/Catalog/Helper/Product/View/Interceptor.php:23] #25 Magento\Catalog\Helper\Product\View\Interceptor->prepareAndRender() called at [app/code/Gaia/Catalog/Controller/Product/View.php:88] #26 Gaia\Catalog\Controller\Product\View->execute() called at [vendor/magento/framework/Interception/Interceptor.php:58] #27 Gaia\Catalog\Controller\Product\View\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #28 Gaia\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/App/Action/Plugin/ActionFlagNoDispatchPlugin.php:51] #29 Magento\Framework\App\Action\Plugin\ActionFlagNoDispatchPlugin->aroundExecute() called at [vendor/magento/framework/Interception/Interceptor.php:135] #30 Gaia\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #31 Gaia\Catalog\Controller\Product\View\Interceptor->___callPlugins() called at [generated/code/Gaia/Catalog/Controller/Product/View/Interceptor.php:23] #32 Gaia\Catalog\Controller\Product\View\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:111] #33 Magento\Framework\App\Action\Action->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58] #34 Gaia\Catalog\Controller\Product\View\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #35 Gaia\Catalog\Controller\Product\View\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #36 Gaia\Catalog\Controller\Product\View\Interceptor->___callPlugins() called at [generated/code/Gaia/Catalog/Controller/Product/View/Interceptor.php:32] #37 Gaia\Catalog\Controller\Product\View\Interceptor->dispatch() called at [vendor/magento/framework/App/FrontController.php:186] #38 Magento\Framework\App\FrontController->processRequest() called at [vendor/magento/framework/App/FrontController.php:118] #39 Magento\Framework\App\FrontController->dispatch() called at [vendor/magento/framework/Interception/Interceptor.php:58] #40 Magento\Framework\App\FrontController\Interceptor->___callParent() called at [vendor/magento/framework/Interception/Interceptor.php:138] #41 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php:99] #42 Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135] #43 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:75] #44 Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:135] #45 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:153] #46 Magento\Framework\App\FrontController\Interceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23] #47 Magento\Framework\App\FrontController\Interceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116] #48 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:23] #49 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:263] #50 Magento\Framework\App\Bootstrap->run() called at [pub/index.php:30]