The game crashed whilst initializing game Error: net.minecraftforge.fml.ModLoadingException: Forge (forge) encountered an error during the sided_setup event phase
By itself the game launches perfectly fine with forge, but the moment I put Optifine into the mods folder it gives me this error and crashes the game on startup. Anybody know why? I've tried a different version of Optifine and that didn't work. I'm using both 1.19.3 versions. I switched my forge version to the recommended 1.19.3 version but it still gives me the same error on startup.
Here's the log: https://pastebin.com/Xy7W16TN