Welcome Guest, Not a member yet? Register   Sign In
ArgumentCountError Too few arguments to function ::__construct()
#2

(This post was last modified: 05-19-2023, 05:13 PM by kenjis.)

The controller in CI4 does not have the __construct() method.
See https://github.com/codeigniter4/CodeIgni...roller.php
So if you add __construct(), no parameters are passed by the framework.
Reply


Messages In This Thread
RE: ArgumentCountError Too few arguments to function ::__construct() - by kenjis - 05-19-2023, 05:11 PM



Theme © iAndrew 2016 - Forum software by © MyBB