“Cannot call method ‘is_node_ready’ on a null value."

Can you show your CardState-script?