Problem
During composer installation, you see the following error message(s):
Example:
{"0":"Please upgrade your database: Run \"bin\/magento setup:upgrade\" from the Magento root directory.\nThe following modules are outdated:\nTNW_Marketing schema: current version - none, required version - 2.0.3\nTNW_Marketing data: current version - none, required version - 2.0.3\nTNW_Stripe schema: current version - none, required version - 2.1.13\nTNW_Stripe data: current version - none, required version - 2.1.13","1":"<pre>#1 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000001da1964a000000005e016003#) called at [vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php:73]\n#2 Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch(&Magento\\Framework\\App\\FrontController\\Interceptor#000000001da196dc000000005e016003#, &Closure#000000001da1973f000000005e016003#, &Magento\\Framework\\App\\Request\\Http#000000001da1964a000000005e016003#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]\n#3 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000001da1964a000000005e016003#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#4 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#000000001da1964a000000005e016003#), array(array('page_cache_from_...', 'storeCookieValid...', 'install', 'configHash'), array('front-controller...'), 'requestPreproces...')) called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:26]\n#5 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#000000001da1964a000000005e016003#) called at [vendor\/magento\/framework\/App\/Http.php:136]\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:258]\n#8 Magento\\Framework\\App\\Bootstrap->run(&Magento\\Framework\\App\\Http\\Interceptor#000000001da196a0000000005e016003#) called at [index.php:39]\n<\/pre>","url":"\/","script_name":"\/index.php"}
Solution
This issue could happen when you first try to install our extension when your Magento is set to "dev" stability mode. This only happens for some versions of the extension, but not all. If you ever run into this scenario try to install BOTH of these extensions separately.
Example:
*nix command
composer require tnw/marketing=2.0.3 composer require tnw/module-stripe=2.1.13
Related articles