Open subineseller opened 3 years ago
Hi @subineseller ,
Try this - https://github.com/magento/magento2/issues/21663#issuecomment-674535792 @scommercemage provide some fix
Check your custom modules or extensions and find if you are using either of the following -:
Magento\Catalog\Model\Product (in the constructor)
$this->_product->load($id)
or
$this->_objectManager->get('\Magento\Catalog\Model\Product')->load($id)
If yes then change it to use \Magento\Catalog\Api\ProductRepositoryInterface and load product using getById($id) instead.
Hope this solve your concern
Most of the changes updated in master branch https://github.com/facebookincubator/facebook-for-magento2/pull/57
else pull from master branch
Hi @kanhaiya5590
We checked all other third party Modules, no issues with any of our other modules. Issue only showing when we enable facebook plugin.
@subineseller, can you please pull new logs from var/log/exception.log
andvar/log/facebook-business-extension.log
right after you try to open category or product page? Also, which extension version are you using? Thanks!
Error 500 error after enabling the module, Installed using composer php-business-sdk installed Home page loading fine category and product page showing Internal Server Error. https://prnt.sc/15go3qc