Need help
I uninstalled a theme that I had, remove all its directories that need to be removed did the upgrade thing. everything is working on the admin side except when I go to categories. I get an error that is
Class Megnor\Category\Model\Category\Attribute\Source\Level does not exist
it's still looking for the directory. I think the issue is I create some categories and didn't delete.
I tried flushing the cache and upgrade compile that didn't work how can I fix this. Hopefully, don't have to reinstall.
Hi @bigd46
Can you confirm that is their any other module Mengor - which is currently being installed in your system ?
If yes check it di.xml - they may have given dependencies on this class - Class Megnor\Category\Model\Category\Attribute\Source\Level
If no any module from Mengor directory - then you need to do below things
remove generated directory by running this command - rm -rf generated
rm -rf cache
rm -rf page_cache
php bin/magento setup:di:compile
php bin/magento cache:clean
php bin/magento cache:flush
It will helps you
No actually the database response was the fix.