I fixed the problem by uninstalling the modpack if you want to keep anything on your modpacks you could probably extract the world files and texture packs if you added some
. (The full crash report https://pastebin.com/VfXizfwk) if anyone has the error net.minecraftforge.fml.config.ConfigFileTypeHandler$ConfigLoadingExce (*note*(this isnt the full crash error) when opening a modpack uninstall said modpack i fixed it by doing so