Trying to debug a get_enabled() error