These are fixed in wrong way as in Joomla 3.1 the function definition is:

    public function __construct($config = array())

We need to fix KunenaController instead to accept the argument.