After update composer

Please help me, I get this error.

Module 'Iazel_RegenProductUrl' from '/var/www/vhosts/exm.com/httpdocs/app/code/Iazel/RegenProductUrl' has been already defined in '/var/www/vhosts/exm.com/httpdocs/vendor/elgentos/regenerate-catalog-urls/Iazel/RegenProductUrl'.

  • 1
    check if you have another registration.php file in a differen module that registers the Iazel_RegenProductUrl module. Maybe in app/code. – Marius Feb 7 at 8:35
  • @Marius yes i have – Dinesh Thakur Feb 7 at 8:39
  • plz help me any idea for this error – Dinesh Thakur Feb 7 at 8:39
  • this is my live site – Dinesh Thakur Feb 7 at 8:40
  • 1
    Take backup of app/code/Iazel/RegenProductUrl and remove Iazel/RegenProductUrl folder. – Dhaduk Mitesh Feb 7 at 8:43

Based on the comments....
It looks like you have to versions of the same module. One in vendor and another one in app/code.
Remove the one from app/code, and clear the cache.
If you don't want to remove the module for some reason, you can just rename registration.php from the app/code module to anything else.

| improve this answer | |
  • Sir you are great thq so much – Dinesh Thakur Feb 7 at 8:50
  • sir one more que. how to use this module do you know – Dinesh Thakur Feb 7 at 8:51
  • ask the developer. I have no idea – Marius Feb 7 at 8:51
  • @DineshThakur Is this third party module or you have created? – Dhaduk Mitesh Feb 7 at 8:57
  • No i have not created this module – Dinesh Thakur Feb 7 at 8:59

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.