Thanks for the report! I looked into it, and it is a compatibility issue between the two mods, but the error comes from the Phosphorus side.
AluminiumX defines sodium hydroxide as a fluid. Phosphorus 0.3.9 adds it to the Red phosphorus washing recipe as an item, so the game can't find an item with that name. This only happens when sodium hydroxide is available by the time of the Phosphorus processing research. With just Krastorio 2 Spaced Out, AluminiumX 1.0.1 and Phosphorus 0.3.9, everything loads on Factorio 2.1.24, so another mod in your list is probably changing the research order.
Could you share your mod list and your Factorio version? I will pass this on to the Phosphorus author. Until it is fixed, the only workaround I can offer is to disable one of the two mods.