Showing results for 
Search instead for 
Did you mean: 

Getting 404 page on site/themesetup


Getting 404 page on site/themesetup

Pl help resolve 404 page shown on site/themesetup.

(Site loading properly, also able to login into Admin panel)


I followed the Steps to upgrade theme:
1. mode was already default
2. unzip theme zip in magento root (i.e, where the bin, var, app folder are there)
3. ran site/themesetup
Got error.
Checked in /var/report/(errorno)

{"0":"Please upgrade your database: Run \"bin\/magento setup:upgrade\" from the Magento root directory.\nThe following modules are outdated:\nMagefan_Community schema: current version - 2.0.6, required version - 2.0.12\nMagefan_Community data: current version - 2.0.6, required version - 2.0.12\nMagefan_Blog schema: current version - 2.9.0, required version - 2.9.4\nMagefan_Blog data: current version - 2.9.0, required version - 2.9.4\nMagefan_WysiwygAdvanced schema: current version - 2.0.3, required version - 2.0.7\nMagefan_WysiwygAdvanced data: current version - 2.0.3, required version - 2.0.7","1":"<pre>#1 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}() called at [vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php:69]\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:137]\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-n

So, ran setup upgrade.
It ran successfully with 'nothing to do'.


Now, once again ran site/themesetup in browser, but this time it should a 404 page (just like a 404 page in normal site,..i.e, the 404 I get is random url is hit on browser..


I unzipped the theme file again, and again tried site/themesetup

However, getting same 404 page.


Pl. help


“The definition of insanity is doing the same thing over and over again, but expecting different results.” - Albert Einstein

Re: Getting 404 page on site/themesetup

Hi @Shailesh G,


Try the following command before upgrading your theme. 


php bin/magento setup:upgrade


Hope it helps! Let me know if you need further assistance. 



If issue solved, Click Kudos & Accept as Solution.

Marcus | LitExtension Expert
Shopping Cart Migration Service