Welcome Guest, Not a member yet? Register   Sign In
Undefined variable: config in Model
#1

I use code in Model:
PHP Code:
$encrypter = \Config\Services::encrypter($config); 
And I have error: "Undefined variable: config". When I use this code in controller - it works. Explain please reason of error.e: con
Reply


Messages In This Thread
Undefined variable: config in Model - by naghtigall - 09-18-2019, 01:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB