Reputation: 163
After reading any kind of solution, i need your help to solve my problem. Magento 2.1.2, PHP7, Ubuntu. Fresh install, created new theme. When i switch to the new theme, this error appears even in frontend that in backend (backend shouldn't be a problem!):
Frontend error
Backend error
Already tried:
I think it's just amazing! I can understand any problem, but this is really strange. Why should the backend be affected by this problem? Why, even if i set mode developer, magento 2 tries to get some "static/_cache" CSS file?
Thanks
Upvotes: 2
Views: 858
Reputation: 2959
I hope, you have already found the solution for your issue but it might be useful for future surfers.
The path for the frontend compilation in admin panel is given below:
Stores > Configuration > ADVANCED > Developer > Front-end development workflow
But, if there is an error in Backend panel as well then the listed issue can be resolved by running the update
query in the database.
update core_config_data
set value='server_side_compilation'
where path = 'dev/front_end_development_workflow/type';
Upvotes: 2