An uncaught Exception was encountered Type: Error
Message: Array callback must have exactly two elements
Filename: C:\xampp\htdocs\admin-template\application\views\auth\login_form.php
Line Number: 85
I'm getting this error while using Tank Auth Library at my password error_form code:
<div class="form-group has-feedback">
<?php echo form_label('Password', $password['id'], ['class' => 'control-label']); ?>
<?php echo form_password($password, '', 'class="form-control" placeholder="Password"'); ?>
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
<small class="form-text text-muted">
<?php echo form_error($password['name']); ?>
<?php echo isset($errors[$password['name']]) ? $errors[$password['name']] : ''; ?>
</small>
</div>
While entering the correct password, I am getting this error. What should I do to resolve this error?