I had a default hook set in my configuration Once removed, the error disappeared
The error message is not clear