Forge works just fine. Just downloaded the latest version for 1.13.2 (25.0.26) and I tested that it works fine with normal forge mods. I downloaded the latest optifine version for 1.13.2 (OptiFine 1.13.2 HD U E6) as well and put it in the mods folder. I ran the forge profile but optifine doesn't work: the video settings options are the vanilla ones so I know optifine isn't active for some reason. I deleted the other mod in case it was somehow interfering, but no, optifine now being the only thing in the mods folder it still does nothing.
I looked at "latest.log" and found this:
[16:27:46] [main/WARN]: Mod file Mod File: C:\Users\phoeb\AppData\Roaming\.minecraft\mods\OptiFine_1.13.2_HD_U_E6.jar is missing mods.toml file
[16:27:46] [main/WARN]: File C:\Users\phoeb\AppData\Roaming\.minecraft\mods\OptiFine_1.13.2_HD_U_E6.jar has been ignored - it is invalid
How can I fix this?