cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot access or manage categories after uninstalling themes

Cannot access or manage categories after uninstalling themes

Hello

 

After uninstalling theme (Rokanthemes, I can no longer access my categories page in the backend.

 

All the caches were removed, the sites were reindexed and I also did a configuration: static-content: deploy

 

None have had any effect so far, and I can't figure out what went wrong.

 

i have this error in the reindex operation

Catalog rule indexing failed. See details in exception log.

exception log>>

main.CRITICAL: Class Rokanthemes\Categorytab\Model\Category\Attribute\Backend\Thumbnailimage does not exist {"exception":"[object] (ReflectionException(code: -1): Class Rokanthemes\\Categorytab\\Model\\Category\\Attribute\\Backend\\Thumbnailimage does not exist at /public_html/vendor/magento/framework/Code/Reader/ClassReader.php:19)"} []

 

 

thank you for your help

4 REPLIES 4

Re: Cannot access or manage categories after uninstalling themes

can you help me please

Re: Cannot access or manage categories after uninstalling themes

Also having this issue after uninstalling said module.

Re: Cannot access or manage categories after uninstalling themes

Also have this issue. Did you manage to find a fix?

Re: Cannot access or manage categories after uninstalling themes

Run these commands in phpmyadmin

 

mysql> delete FROM eav_attribute WHERE source_model LIKE '%rokan%' ;
Query OK, 13 rows affected (0.06 sec)

 

mysql> delete FROM eav_attribute WHERE backend_model LIKE '%rokan%' ;
Query OK, 2 rows affected (0.00 sec)

 

This worked for us.

 

 

We originally disabled modules

 

then removed them from app/code..

 

Then we ran this to remove all modules from database

mysql -u <user> -p -e "delete from <databasename>.setup_module WHERE module LIKE '%rokan%' ;

 

 

Reindex now should work and categories should be available.

 

I always run all of these once im finished messing around just to be a bit overkill

 

php bin/magento maintenance:enable
php bin/magento deploy:mode:set developer
rm -rf var/cache/* var/di/* var/generation/* var/page_cache/* var/view_preprocessed/* pub/static/*

php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f en_GB en_US

php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento deploy:mode:set production --skip-compilation
php bin/magento maintenance:disable