How to solve MGS\\Mpanel\\Model\\Category\\Attribute\\Source\\Perrow does not exist error in magento-2.2.7?

magento.stackexchange https://magento.stackexchange.com/questions/260081

  •  16-02-2021
  •  | 
  •  

Question

I have installed a MGSTheme in old Magento version 2.1.12. But Now it generate some error during update. If i will remove complete folder app/code/MGS after that we run update process. it updated successfully but when i click on Admin>>Catalog->Category in admin panel. It show some error :

{"0":"Class MGS\Mpanel\Model\Category\Attribute\Source\Perrow does not exist","1":"#0 /opt/lampp/htdocs/magento_demo/vendor/magento/framework/Code/Reader/ClassReader.php(19): ReflectionClass->__construct('MGS\\Mpanel\\Mode...')\n#1 /opt/lampp/htdocs/foxministry_stg/vendor/magento/framework/ObjectManager/Definition/Runtime.php(44):

How to solve it, Please help me. I am using Magento-2.2.7 now.

Was it helpful?

Solution

search in Database table for eav_attribute in backend_model colume MGS\Mpanel\Model\Category\Attribute\Source\Perrow and empty that field i think your problem is slove.

OTHER TIPS

  • Extension you have installed add new category attribute in admin and it's multiselect or dropdown.
  • When you remove extension category attribute is not deleted
  • after you removed files attribute option can not beload from file.so remove that category attribute for remove error.

Another solution

search in DB for MGS\Mpanel\Model\Category\Attribute\Source\Perrow and empty that field. you will find it in 'eav_attribute' table and more if available enter image description here

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