Skip to content

I ran ‘composer update’ and it brought the website down. How to fix?

Magento 2.4.2-p1
Smartwave Porto
13 Amasty extensions

Someone recommended for me to run:

composer update

I have done this and now the front end does not load and shows the following Error:

1 exception(s):
Exception #0 (MagentoFrameworkExceptionLocalizedException): Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Magento_DataExporter schema: current version - none, required version - 42.0.1
Magento_DataExporter data: current version - none, required version - 42.0.1
Magento_ServicesConnector schema: current version - none, required version - 1.1.0
Magento_ServicesConnector data: current version - none, required version - 1.1.0
Magento_QueryXml schema: current version - none, required version - 42.0.0
Magento_QueryXml data: current version - none, required version - 42.0.0
Magento_ServicesId schema: current version - none, required version - 1.1.0
Magento_ServicesId data: current version - none, required version - 1.1.0
Amasty_CheckoutCore schema: current version - 1.0.0, required version - 1.1.0
Amasty_CheckoutCore data: current version - 1.0.0, required version - 1.1.0
Magecomp_Smspro schema: current version - 1.0.7, required version - 1.0.9
Magecomp_Smspro data: current version - 1.0.7, required version - 1.0.9

Exception #0 (MagentoFrameworkExceptionLocalizedException): Please upgrade your database: Run "bin/magento setup:upgrade" from the Magento root directory.
The following modules are outdated:
Magento_DataExporter schema: current version - none, required version - 42.0.1
Magento_DataExporter data: current version - none, required version - 42.0.1
Magento_ServicesConnector schema: current version - none, required version - 1.1.0
Magento_ServicesConnector data: current version - none, required version - 1.1.0
Magento_QueryXml schema: current version - none, required version - 42.0.0
Magento_QueryXml data: current version - none, required version - 42.0.0
Magento_ServicesId schema: current version - none, required version - 1.1.0
Magento_ServicesId data: current version - none, required version - 1.1.0
Amasty_CheckoutCore schema: current version - 1.0.0, required version - 1.1.0
Amasty_CheckoutCore data: current version - 1.0.0, required version - 1.1.0
Magecomp_Smspro schema: current version - 1.0.7, required version - 1.0.9
Magecomp_Smspro data: current version - 1.0.7, required version - 1.0.9
<pre>#1 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/amasty/aminvisiblecaptcha/Plugin/Framework/App/FrontControllerInterface/ValidateCaptcha.php:123]
#2 AmastyInvisibleCaptchaPluginFrameworkAppFrontControllerInterfaceValidateCaptcha->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:151]
#3 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/module-page-cache/Model/App/FrontController/BuiltinPlugin.php:71]
#4 MagentoPageCacheModelAppFrontControllerBuiltinPlugin->aroundDispatch() called at [vendor/magento/framework/Interception/Interceptor.php:151]
#5 MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}() called at [vendor/magento/framework/Interception/Interceptor.php:169]
#6 MagentoFrameworkAppFrontControllerInterceptor->___callPlugins() called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:23]
#7 MagentoFrameworkAppFrontControllerInterceptor->dispatch() called at [vendor/magento/framework/App/Http.php:116]
#8 MagentoFrameworkAppHttp->launch() called at [vendor/magento/framework/App/Bootstrap.php:263]
#9 MagentoFrameworkAppBootstrap->run() called at [pub/index.php:29]
</pre>

This is an EMERGENCY. How can I fix this?