I just made my first module on Magento2 and I want to switch to the helloworld/index/index/ action controller, but immediately throws an error:

Notice: Undefined index: modules in /.../.../.../magento2.test/vendor/magento/framework/App/Route/Config/Converter.php on line 47

Cache cleaned, updated indexes but the error remained.

How to fix it ?

  • In the config of the module, you need to watch what's there. - Naumov
  • @Naumov, figured it out. Just rearranged through composer and everything was decided - Maybe_V
  • It seems sawed the project on 1.9 now decided to pass to the 2nd? : D - Naumov
  • @Naumov, I have never worked with magento at all, came to the robot and immediately told the bos module to do 1.9. Passed, threw to him) well, so that I would not sit idle, they were given a task for the 2nd) - Maybe_V
  • Yes, when I started a familiar story, it was the same. Now I work with her mainly ... Narrow specialization, although I felt the second one a little bit, but it's still damp for me. Yes, and many do not know how to work with it, they picked up orders and could not implement them correctly, so for now I refuse it. - Naumov

0