Ensure bodyParams is an array before creating request

Error: Argument 2 passed to OAuth2\Request::__construct() must be of the type array, null given, called in /var/www/web-site/releases/20140805145036/vendor/zfcampus/zf-oauth2/src/Controller/AuthController.php on line 211 and defined