I have downloaded and installed a magento2 theme. I enabled it under Stores>Configuration>Design.

As soon as I want to flush the cache it gives me the following error:

There has been an error processing your request

Exception printing is disabled by default for security reasons.

Error log record number: 1072691483201

And I can't log into the admin panel till I uninstall the files "theme.xml", "composer.json" and "registration.php" of the installed theme. The store also gives the same error as soon as the theme is installed.

Does anyone know a solution for this?


Just remove maintenance.flag file from your root folder, also remove cache and session folder which inside the var.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.