I recently moved my Magento 2.2.3 site to production server (different server, url and path). However, the custom theme seems to be ignored. If I enter the site, it shows the following error in the var/report files:
Required parameter 'theme_dir' was not passed /.../html/vendor/magento/framework/View/Design/Fallback/Rule/Theme.php(78): Magento\Framework\View\Design\Fallback\Rule\Simple->getPatternDirs(Array)
Some people in some threads said that this error is throw where the theme directory is deleted, but the directory is present in the same path of develop. And if I try to run:
php bin/magento setup:static-content:deploy --theme Vendor/theme es_MX en_US -f
Nothing happens. The strange thing is that it only happens with our custom theme child that we did. The father theme and his other children work without problem.
What could it be?