exception ‘yii\base\InvalidParamException’ with message ‘Invalid path alias: @web/themes/spacelab’ in /var/www/yiiadvanced/_protected/vendor/yiisoft/yii2/BaseYii.php:152
It appeared when I turned back from production environment to development environment.
I’m not very familar with the advanced template but lets try to figure out what is going wrong:
When you now switch back to production?
Does it work again?
In whitch local path do you store your template?
I’m asking because as far as I know you have multiple web folders.
app/frontend/web
app/backend/web
Regarding the documentation @web is pointing to the web folder of the currently running application. (and frontend / backend are seperate applications)
Means (when I understand it correct):
If you have the theme only under /app/backend/web you will have "invalid path" in frontend.