Godot calls function but also throws "Can't call non-static function" error

They seem to have made two posts by accident. The more popular thread is here