I am upgrading Magento 2.3.3 store to Magento 2.3.5

I go to Themes tab in admin (Content > Design > Themes) and try to save my theme.

But it returns this error

Path "/theme/origin" cannot be used with directory "/var/www/html/m235/pub/media"

How to solve it?


1 Answer 1


For solution,

  • Go to theme table from your database.
  • Check your theme's type column value. It maybe 1 or 2.
  • Change that value with 0 (Your theme's type column value).
  • Now, Deploy store and clean cache and check it.
  • 1
    Thanks ! It's working.
    – Mehta Prem
    Sep 23, 2020 at 4:05
  • Why Change that value with 0 ? Sep 23, 2020 at 5:05
  • Need to set custom theme as physical type theme so. Sep 23, 2020 at 5:07

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.