I am getting the following error in my Magento application sometimes, it’s not breaking the application always but in regular interval I am getting this error.
The application CPU usage is also going high sometimes. Application is using redis for both caching and session. Database is AWS Aurora.
[Tue Jul 16 15:41:41.849749 2019] [:error] [pid 6506] [client
10.101.8.81:26870] PHP Fatal error: Uncaught Error: Call to undefined method
MagentoCatalogModelResourceModelProductInterceptor::_construct()
in
/mnt/drive1/www/magento-2019-07-08-06-50-51/vendor/magento/framework/Model/ResourceModel/AbstractResource.php:40nStack
trace:n#0
/mnt/drive1/www/magento-2019-07-08-06-50-51/vendor/magento/module-eav/Model/Entity/AbstractEntity.php(234): MagentoFrameworkModelResourceModelAbstractResource->__construct()n#1
/mnt/drive1/www/magento-2019-07-08-06-50-51/vendor/magento/module-catalog/Model/ResourceModel/AbstractResource.php(51):
MagentoEavModelEntityAbstractEntity->__construct(Object(MagentoEavModelEntityContext),
Array)n#2
/mnt/drive1/www/magento-2019-07-08-06-50-51/vendor/magento/module-catalog/Model/ResourceModel/Product.php(130):
MagentoCatalogModelResourceModelAbstractResource->__construct(Object(MagentoEavModelEntityContext),
Object(MagentoStoreModelStoreManager),
Object(MagentoCatalogModelFactory), Array)n#3
/mnt/drive1/www/magento-2019-07-08-06-50-51/generated/code/Magen in
/mnt/drive1/www/magento-2019-07-08-06-50-51/vendor/magento/framework/Model/ResourceModel/AbstractResource.php
on line 40,
Another similar error
PHP Fatal error: Couldn’t execute method
ComposerAutoloadClassLoader::composerautoloadclassloader::loadclassx03
in Unknown on line 0, referer: