The error says that the node you are calling the enter function on is a StateMachine, so I would guess that you inadvertently stored the state machine node into the state variable. This could be due to the starting state node path being set incorrectly on the StateMachine node, in the inspector.
That's definitely what it was. I just forgot to set the "initial state' in the inspector. Thanks for your time.