0

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.

2 Answers 2

4

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.

2
  • 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

11
  • Using search in DB for MGS\Mpanel\Model\Category\Attribute\Source\Perrow and empty that field,it show no record match in db. @Ketan Borada Feb 1, 2019 at 5:49
  • search for %MGS\Mpanel% or %MSG% entire DB you will find it in 'eav_attribute' table Feb 1, 2019 at 5:51
  • I will search in eav_attribute table it show one record. paste.pics/4NMXT Feb 1, 2019 at 5:53
  • prntscr.com/mf2rcx empty this field value and run Feb 1, 2019 at 5:54
  • Now it show another error:Class MGS\\Mpanel\\Model\\Category\\Attribute\\Source\\Ratio does not exist Feb 1, 2019 at 5:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.