fix #1992: when set yii\captcha\CaptchaValidator::$captchaAction = '/site/captcha'
yii\captcha\CaptchaValidator->createCaptchaAction() error