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

  • Please run this SELECT * FROM theme WHERE theme_path LIKE '%327k%' in your DB – Kishan Savaliya Nov 16 '19 at 8:04
  • @KishanSavaliya above sql command return empty table. snipboard.io/cEr4qu.jpg – zus Nov 16 '19 at 8:59

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

Hope this will help you!

  • All of the sql command return 0 rows affected and run below QUERIES no luck, still same error. – zus Nov 16 '19 at 9:38
  • Can you please check you have any directory in your app/design/frontend ? – Kishan Savaliya Nov 16 '19 at 9:39
  • Magento folder available inside the location of app/design/frontend. – zus Nov 16 '19 at 9:43
  • 1
    Great help by Kishan Savaliya – zus Nov 18 '19 at 5:56
  • 1
    Happy to help you. :) – Kishan Savaliya Nov 18 '19 at 5:57

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

  • FYI there is no record found based on theme327k – zus Nov 16 '19 at 9:55
  • SELECT * FROM theme WHERE theme_path LIKE '%327k%' return 0 rows affected notification. – zus Nov 16 '19 at 9:56
  • Out of memory (allocated 6291456) (tried to allocate 7083982376866503816 bytes) in C:\wamp64\www\magento2\vendor\magento\framework\ObjectManager\Relations\Runtime.php on line 38 how to solve this error? – zus Nov 16 '19 at 10:52
  • @zus see updated – MagenX Nov 16 '19 at 11:30
  • Searched entire database drive.google.com/file/d/10BEDe40J4-0_8a78miWZmhVJK8KM9Yp8/view – zus Nov 16 '19 at 11:33

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.