Error thrown

Call to a member function call_functions() on null