Error:
Unable to verify your data submission error
Create one public function in Yii2. But, submit data not accept in this method, see following error images. Why is this happen?
Unable to verify your data submission error
Create one public function in Yii2. But, submit data not accept in this method, see following error images. Why is this happen?
Add this in your controller:
Check whether there is hidden input in your form with CSRF token. It should look like
Add this in the head section of your layout:
<?= Html::csrfMetaTags() ?>