Hi! I'm getting the same crash on Factorio 2.0 with Construction Approvals 5.1.1 (playing with a large modpack). It happens when super-force placing (Ctrl+Shift+click) a blueprint that only contains tiles.
I looked into it and fixed it locally. The cause is that get_blueprint_entities() returns nil (not an empty table) for blueprints without entities, so table_size() fails in get_blueprint_dimensions().
The fix is a one-line change in control.lua, line 899:
local blueprint_entities = blueprint.get_blueprint_entities()
becomes:
local blueprint_entities = blueprint.get_blueprint_entities() or {}
The same pattern appears at line 461 (get_entities_as_blueprint_entities), which I changed to:
return bp.get_blueprint_entities() or {}
If you'd rather not make the change yourself, feel free to contact me here or on Steam ( Darihs Skalibrista [ESP] ) and I'll send you the patched file. Otherwise you can apply it directly and re-upload.
Thanks for the mod!