An unexpected error occurred.
Undefined variable $method