1

I have used LOF_Affliate module in one of my projects as its module version is (1.0.0). Recently I am upgrading the Magento version 2.3.5 to 2.4.3. After upgrading I am facing the below issue.

"Deprecated Functionality: Cannot use "parent" when current class scope has no parent in /var/www/html/app/code/Lof/Affiliate/Controller/Router.php on line 40 "

In magento 2.4.3, "parent is deprecated"?

Is anyone having any solution for this, if you have please guide me.

1
  • 2
    try to contact the extension vendor for the upgraded version of the extension, which is compatible with new magento version. Commented Feb 21, 2022 at 6:46

1 Answer 1

0

it happen because di unable resolve implementation class for some interfaces in development mode to solve it need execute di compile command

rm -rf generated 
bin/magento setup:di:compile

Your Answer

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

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