Press and hold the settings icon, then select "App Info" the go to storage and "clear cache" then go back and "force stop" and then restart your device. Hope this fixes the error 🙂
Night mode being on the pull down access panel is what started causing my settings to crash. After I moved it back to the neural area where it wouldn't show, it stopped crashing.
In developer options, right under 'Night mode' is 'quick settings developer tiles' open it and you will see 2 toggle switches for night mode. Try both until you figure out which one isn't crashing settings.