Error after upgrading to version 4.1.7 |
After upgrading to version 4.1.7 I have the error below, can anyone help me?
Error Code: Access to undeclared static property: Kint\Kint::$depth_limit search → Also I have another question, why the release of new versions of codeigniter is not communicated in the news of the site? Thanks
Are you sure you're on 4.1.7? I thought this was fixed in the 4.1.6 re-release.
Yes, I also saw that it was fixed in version 4.1.6 following this thread:
https://forum.codeigniter.com/thread-809...#pid392700 The file downloaded and from which I copied the system folder is this: codeigniter4-CodeIgniter4-v4.1.7-0-g99e0797.zip PHP Code: /** And I didn't use composer for codeigniter installation, but manual installation.
Where did you download codeigniter4-CodeIgniter4-v4.1.7-0-g99e0797.zip from?
It seems you are using old Kint.php in system/ThirdParty/Kint/. (01-13-2022, 05:40 PM)kenjis Wrote: Where did you download codeigniter4-CodeIgniter4-v4.1.7-0-g99e0797.zip from? From download page: https://api.github.com/repos/codeigniter...all/v4.1.7
I downloaded codeigniter4-CodeIgniter4-v4.1.7-0-g99e0797.zip and run spark serve,
and no problem. (01-13-2022, 12:41 PM)chronic Wrote: Also I have another question, why the release of new versions of codeigniter is not communicated in the news of the site? Because the announcement was made in the 4.1.6 thread. https://forum.codeigniter.com/thread-809...#pid392848 (01-13-2022, 06:22 PM)kenjis Wrote: I downloaded codeigniter4-CodeIgniter4-v4.1.7-0-g99e0797.zip and run spark serve, Sorry if I bothered you, I found where the problem was, I usually use the manual installation of codeigniter, I was convinced for this project too, but I didn't realize that I used the composer for this. I still have a question, is it normal that after starting the composer update command it returns these two lines as the last entries? Code: > CodeIgniter\ComposerScripts::postUpdate
I got it!
You installed Kint with Composer, but you updated CI4 manually and did not run `composer update`. If Kint is installed via Composer, it is used. But it was out of dated version. So the error occurred. These two lines as the last entries are normal. Always shows up. (01-14-2022, 04:18 PM)kenjis Wrote: I got it! Exactly... Thanks kenjis |
Welcome Guest, Not a member yet? Register Sign In |