Separate names with a comma.
Yeet. It Worked. Thanks for helping
This is indeed an error in the code. If anyone else has this problem and you are using PHP you should check the error.log file in your cPanel or ISPManager if you are using a web host, or even better, as @Picsou993 said enable errors in php.ini by changing
(P.S. keep in mind it might be commented)