Missing 4th param etc if (!isset($api_key)) { throw new PostmenException('API key is required', 999, false); }