Open carlkyo opened 1 year ago
Facing the same issue.
No validation rules for the placeholder: id SYSTEMPATH/Validation/Validation.php at line 734
SYSTEMPATH/Validation/Validation.php : 142 — CodeIgniter\Validation\Validation->fillPlaceholders ( arguments )
The issue arises on the user details tab at http://localhost:8080/index.php/admin/users/4
I believe it's due to passing the 'id' value for validation which should not be.
The error is a result of the breaking change to CI 4.3.5 (https://codeigniter4.github.io/userguide/installation/upgrade_435.html) I have submitted a patch #385 to fix it. It will fix the issue only for new installs.
You can fix the issue immediately in your existing Bonfire installation by adding
'id' => [
'rules' => 'permit_empty|is_natural_no_zero',
],
to $validation
array in your app/Config/Users.php
No validation rules for the placeholder: id
SYSTEMPATH\Validation\Validation.php at line 687
VENDORPATH\lonnieezell\bonfire\src\Users\Controllers\UserController.php : 146 — CodeIgniter\Controller->validate ( arguments )