Fix class BadFunctionCallException not found