Answer the question
In order to leave comments, you need to log in
Why doesn't it see Yii2 widget files?
Good day! Connected himiklab/yii2-recaptcha-widget widget (via composer). In PhpStorm, when I connect namespace, it highlights that there is such a thing. But when I write
[[], \himiklab\yii2\recaptcha\ReCaptchaValidator::className()],
"Class 'himiklab\yii2\recaptcha\ReCaptchaValidator' not found" or if in view file then<?= $form->field($model, 'reCaptcha')->widget(\himiklab\yii2\recaptcha\ReCaptcha::className()) ?>
then the same error only the file name is "ReCaptcha". Tell me, what could it be? I looked at the files that are in the vendor / composer folder and there I did not find himiklab, maybe it didn’t add something to the files? But all the files are there and everything supposedly should be fine, but alas. Thanks in advance for the replies!
Answer the question
In order to leave comments, you need to log in
Apparently not installed, check if it is in the vendor folder
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question