I'm inclined to guess that restarting was the cure (See my edit to my previous post.), not anything to do with Terminal.

More: By the way, any time you run into a weird issue, the first thing you should do is shut down your Mac and restart it.

And I'll suggest that you don't get into running Terminal commands that you find...somewhere. An incorrect command can do untold damage, and as a matter of fact, the only line in your Terminal output that means anything to me is
Code
Incorrect number of parameters
which suggests that the command you ran is NOT a correct command.

Last edited by artie505; 05/18/21 11:31 AM. Reason: More

The new Great Equalizer is the SEND button.

In Memory of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire