1

I am trying to uninstall some modules in my Magento 2.3.1, I followed the following steps:

Remove the module Vendor_% from app\etc\config.php
Drop module tables or columns from database, please check app\code\Vendor\Module\Setup folder for more information
Remove the folder app\code\vendor/%
Remove module configuration settings from core_config_data table by running the following query
    DELETE FROM core_config_data WHERE path LIKE 'vendor%';
Remove module from setup_module table by running the following query
    DELETE FROM setup_module WHERE module LIKE 'vendor_%';
SSH Server
    php bin/magento cache:clean
    php bin/magento cache:flush
    php bin/magento setup:upgrade
    php bin/magento setup:di:compile
    php bin/magento setup:static-content:deploy -f
    php bin/magento indexer:reindex
    php bin/magento cache:clean
    php bin/magento cache:flush

The problem is that after doing all this I receive the following error message:

enter image description here

Any idea how I can fix this problem?

UPDATE 1

Now I have the following error, but nothing appears in table eav_attribute, any idea of ​​how to fix it?

enter image description here

  • Delete generated folder, clear cache and run "bin/magento setup:upgrade --keep-generated" and let me know if that works. Please cross verify that no other module was dependent on the module you uninstalled. – Rishabh Dwivedi Jul 5 '19 at 12:41
2

Run below query in MySQL its issue comming due to attribute exist in database.

SELECT * FROM `eav_attribute` WHERE `backend_model` LIKE 'Rokanthemes\Categorytab\Model\Category\Attribute\Backend\Thumbnailimage'

Then delete that row it will fixed issue.

| improve this answer | |
  • Yes! Thank you very much!!! :-) – Despotars Jul 8 '19 at 5:48
  • Hi, I have another error (you can see my update in my question), but nothing appears in table eav_attribute, any idea of ​​how to fix it? – Despotars Jul 12 '19 at 7:25
  • 1
    @Despotars check this in same table with frontend_model column – Ansar Husain Jul 12 '19 at 8:55
  • ok thanks! Finally there were more rows that can be detected by the source_model column. Thank you very much again! :) – Despotars Jul 12 '19 at 9:02

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.