Fatal error: Can't use method return value in write context in /home/sosgarde/public_html/test/sossitter_sosgarde-development/src/Bundles/StoreBundle/Entity/Users.php on line 1557

Fatal error: Uncaught exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Compile Error: Can't use method return value in write context' in /home/sosgarde/public_html/test/sossitter_sosgarde-development/src/Bundles/StoreBundle/Entity/Users.php:1557 Stack trace: #0 {main} Next exception 'Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException' with message 'Circular reference detected for service "security.authentication.manager", path: "security.firewall.map.context.main -> security.authentication.manager -> fos_user.user_provider.username_email -> fos_user.user_manager -> twig.controller.exception -> twig -> security.authorization_checker".' in /home/sosgarde/public_html/test/sossitter_sosgarde-development/app/bootstrap.php.cache:2146 Stack trace: #0 /home/sosgarde/public_html/test/sossitter_sosgarde-development/app/cache/prod/appProdProjectContainer.php(2385): Symfony\Component\DependencyInjection\Container->get('security.authen...') #1 /home/sosgarde/public_html/te in /home/sosgarde/public_html/test/sossitter_sosgarde-development/app/bootstrap.php.cache on line 2146