Warning: Undefined variable $class_data in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\security\Voter.tpl.php on line 3

Fatal error: Uncaught Error: Call to a member function getNamespace() on null in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\security\Voter.tpl.php:3 Stack trace: #0 {main} thrown in C:\laragon\httpdocs\_cosendi\vendor\symfony\maker-bundle\src\Resources\skeleton\security\Voter.tpl.php on line 3