Took me a while to figure out what's going on, but the error triggered by line 80 of your data-final-fixes lua:
data.raw["resource"][resource.name].category = "basic-solid" .. resource.name
My mod works on the assumption that there will always be resources with type "basic-solid". Which clearly I can't trust! I could change it to use resources which only output items instead of fluids.