Error thrown

Call to a member function open_right_now() on null