Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4.0 Release framework - Kint Error
#20
Thumbs Up 

(02-24-2020, 02:30 PM)atsanna Wrote:
(02-24-2020, 11:58 AM)jameslittle Wrote: @Dave friend and others...I'm thinking that this is at least partly a PHP issue.

I was on PHP Version 7.2.24-0ubuntu0.18.04.3 and both CI 4.0.0 and 4.0.1 threw a "Trying to get property 'maxDepth' of non-object" error.

However, when I upgraded to PHP 7.4.3, everything worked great. So I'm pretty sure that I either had something misconfigured in my 7.2 modules OR there's an obscure issue with Kint 3.3 and PHP 7.2


Quote:In the release of CodeIgniter, inside the Config folder, the file Kint.php has been added

Make sure you've added this file to your project's configuration folder too


This fixed it for my install as well. Just copied the file from the vendor/codeigniter4/framework/app/config/Kint.php into my /app/config folder. Thank you atsanna!
Reply


Messages In This Thread
RE: CodeIgniter 4.0 Release framework - Kint Error - by marqone - 02-27-2020, 06:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB