Dhaduk Mitesh
Dhaduk Mitesh

Reputation: 129

How to solve "Unable to load theme by specified key: 'rwd\/astra'","1":"#0 error in magento2?

I migrate magento1 database to magento2 and when I open magento2 frontend and backend than this error occurs.

"Unable to load theme by specified key: 'rwd/astra'","1":"#0

I have no custom module or theme in magento2 then why this error is produced?

Does anyone have a solution for this problem?

Upvotes: 0

Views: 3398

Answers (2)

Daniel
Daniel

Reputation: 804

In addition to records in the design_change table pointing to now non-existent records (as mentioned in Wolf's answer), I also found records in the cms_page table referring to a non-existent theme.

The following query clears the custom_theme values for all cms_page entries. Please checkout the data in your table before running this query since it will clear all the values -- In my case this is just what I wanted.

UPDATE cms_page SET custom_theme = NULL WHERE custom_theme IS NOT NULL

Upvotes: 4

Wolf
Wolf

Reputation: 11

Go to your database, in table "design_change" delete row has "design" value same error.

Upvotes: 0

Related Questions