Question

Front End :

enter image description here

Note : theme 327k is my magento 1.9 theme

Back End :

enter image description here

How to solve the theme error after migrate m1 to m2

Was it helpful?

Solution

Run below 4 QUERIES one by one in database.

DELETE FROM theme WHERE theme_path LIKE '%327k%';

  • You do not have theme_path like 327k in theme table so you do not need to run first command.

UPDATE cms_page SET custom_theme = NULL;

TRUNCATE TABLE design_change;

DELETE FROM core_config_data WHERE value LIKE '%327k%';

After running this QUERIES in DB please run below commands once

rm -rf generated/* var/view_preprocessed/* var/page_cache/*
php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento cache:flush

Note : remove values from the table design_change

Hope this will help you!

OTHER TIPS

simply find this record theme327k and delete from your database, and run

bin/magento setup:upgrade

bin/magento setup:static-content:deploy -f

just search whole database wildcard, in phpmyadmin or mysqldump and grep for value, also check if your theme is not defined in composer.json

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top