syntax error and get_redis_link method