Hello there.
For these errors, can I get you to open the console and provide the text it shows there?
Press f12 after the crash happens, and click on the console tab. It should should show more important info about where the error is happening.
Without that extra info, it will be very difficult for me to pin down the cause of the error, as both messages aren't very descriptive on their own. One thing you could try would be to disable the independent item patch and ItemCore and see if that clears the error. The info on the patch does state to make sure itemcore is configured in a very specific way, and if you haven't done that, there would be issues, possibly the stack error.
The crash when you disable CS Core and try to enter the command on the menu is because without the CS Core plugin, that command doesn't know what to do, and the functions it calls don't exist.
~Ramza