Ohh. Have you chehked if the optifine version you use is usable with the forge you use?
Normally you take the latest forge and roll with it, but with optifine, before you download it, click changelog of the version you are about to download and check the required forge version from it. Then manually download that specific forge version. Hope that helps