Stuck with 500 error after weird bugs and a rebuild

500 is a back-end error, so this is unlikely to be down to a Theme Component.

I suggest rebuilding without any unofficial plugins, see if that works, then add any additional plugins back one by one, rebuild at a time and see if you can isolate the issue.

Make sure you are using the original sources of plugins and not any unsupported forks.