Call to undefined function validation () |
I am converting to codeigniter 4
In a sub view I want to show all the errors of the form. In codeigniter 3 I was using validator_errors without problems In the BaseController I loaded the Validation livery PHP Code: $this->validation = \Config\Services::validation (); In the subview it is, while the errors see exist: PHP Code: if (! empty (validation () -> listErrors ())) I get the error Code: Call to undefined function validation () |
Messages In This Thread |
Call to undefined function validation () - by lucavalentino - 06-25-2021, 01:20 AM
RE: Call to undefined function validation () - by berendbotje91 - 06-25-2021, 02:22 AM
RE: Call to undefined function validation () - by lucavalentino - 06-25-2021, 05:16 AM
RE: Call to undefined function validation () - by lucavalentino - 06-25-2021, 07:24 AM
RE: Call to undefined function validation () - by superior - 06-25-2021, 07:43 AM
RE: Call to undefined function validation () - by paulbalandan - 06-25-2021, 08:56 AM
RE: Call to undefined function validation () - by Gary - 06-26-2021, 03:47 PM
|