eureka2 / G6K

Generator of calculation simulator (calculator)
MIT License
20 stars 19 forks source link

Call to protected method Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController::getParameter() #23

Open samboy45 opened 4 years ago

samboy45 commented 4 years ago

Hi, there is a problem in the simulator class : src/G6K/Model/Simulator.php In the loadDatabases method, you call getParameter(), who is a protected method from AbstractController.

To solve the problem , i inject the Container class in the constructor .

eureka2 commented 4 years ago

Hi,

Under what circumstances do you have this message? What is the version of symfony? What is the version of php?

alfred2016decanet commented 4 years ago

having same error on Symfony 4 php version 7.4.6

eureka2 commented 4 years ago

Please tell me how I can reproduce this error?

alfred2016decanet commented 4 years ago

after installing projet by using your process, i have executed run-script g6k-script when i'm tried to perform index.php/demo this error occured