2

Magento2, testing stuff, and created custom themes, did not use composer, so how do I remove theme from system, command line uninstall themes does not seem to work, screenshot below: attempt to uninstall theme from shell

simply deleting the folders and clearing cache does not seem to do it.

1
  • Did you delete related files in the pub/static folder and also it should be removed from the theme table. Only themes installed via composer can be uninstalled.
    – Maddy
    Commented Feb 1, 2016 at 22:19

1 Answer 1

1

If after clearing var/cache, var/generation, var/page_cache and pub/static/* folders still you find it there, there is an entry for themes in database table theme with your theme info. Just delete the row containing your theme info and it will be gone from your system.

2
  • +1 since this worked for me.. But it's horrific!! Why is there not any simple command to do this?!? :O
    – Andrea
    Commented May 13, 2016 at 17:04
  • Also, warning when clearing the pub/static folder: the .htaccess file should not be deleted (devdocs.magento.com/guides/v2.0/config-guide/cli/…)
    – Andrea
    Commented May 13, 2016 at 17:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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