Hello,
I get the following message when I try to access my site:
There has been an error processing your request
Exception printing is disabled by default for security reasons. Error log record number: 9aa6283ba31dc46113c17435d8d65e41c099d14ed7b67d159cd98d9b42c1c99a
When I go to the error log the following is in it:
{"0":"Please upgrade your database: Run \"bin\/magento setup:upgrade\" from the Magento root directory.\nThe following modules are outdated:\nAmazon_Core schema: current version - 3.3.1, required version - 3.4.1\nAmazon_Core data: current version - 3.3.1, required version - 3.4.1\nAmazon_Login schema: current version - 3.3.1, required version - 3.4.1\nAmazon_Login data: current version - 3.3.1, required version - 3.4.1\nAmazon_Payment schema: current version - 3.3.1, required version - 3.4.1\nAmazon_Payment data: current version - 3.3.1, required version - 3.4.1\nDotdigitalgroup_Email schema: current version - 4.1.0, required version - 4.4.0\nDotdigitalgroup_Email data: current version - 4.1.0, required version - 4.4.0\nDotdigitalgroup_Chat schema: current version - 1.0.0, required version - 1.0.1\nDotdigitalgroup_Chat data: current version - 1.0.0, required version - 1.0.1\nYotpo_Yotpo schema: current version - 3.0.1, required version - 3.1.0\nYotpo_Yotpo data: current version - 3.0.1, required version - 3.1.0","1":"#1 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php:73]\n#2 Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]\n#3 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#4 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins() called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:26]\n#5 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch() called at [vendor\/magento\/framework\/App\/Http.php:116]\n#6 Magento\\Framework\\App\\Http->launch() called at [generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php:24]\n#7 Magento\\Framework\\App\\Http\\Interceptor->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:261]\n#8 Magento\\Framework\\App\\Bootstrap->run() called at [index.php:39]\n","url":"\/","script_name":"\/index.php","report_id":"9aa6283ba31dc46113c17435d8d65e41c099d14ed7b67d159cd98d9b42c1c99a"}
Has anyone any idea how to fix it?
Thanks
Trevor
Solved! Go to Solution.
Please run below command to fix this issue:
php bin/magento setup:upgrade
As few modules are outdated in database it will be fix by running above shared command.
Please run below command to fix this issue:
php bin/magento setup:upgrade
As few modules are outdated in database it will be fix by running above shared command.
Hello @trevor_nally
seems like you are upgrading module, so after install module, you must need to run below command
php bin/magento setup:upgrade
if you running with production mode then one of below command php bin/mageno setup:static-content:deploy or php bin/magento d:m:set production
How shared command can work?
php bin/magento d:m:set production
this command to set production mode not to upgrade module version in database.
Hello @Manish Mittal
php bin/mageno setup:static-content:deploy or php bin/magento d:m:set production
my meaning is above one
Hope you and @trevor_nally are clear
Yes for the above one only asking, why you are recommending to set production mode? this is just simple to run upgrade command and clear cache.
Hello @Manish Mittal
we are not sure on which mode site is running
if it is running on developer mode then good with your step, otherwise need both commands
I dont think here required to set production mode, error clearly says to upgrade schema, anyway thanks for answering.
Hi Manish,
Thank you. I get the attached error when I do that.