Thank you @warjort! I have been working for literally hours trying to get mine to work. I've been replacing mods one by one, etc. I'm so happy to have optifine and Curseforge working together. Now I'm replacing my favorite mods with older ones if necessary until Curseforge finds the issue.