Welcome Guest, Not a member yet? Register   Sign In
Poll: Did the same thing happen to you?
You do not have permission to vote in this poll.
Yes, it happened to me
100.00%
3 100.00%
No, it never happened
0%
0 0%
Total 3 vote(s) 100%
* You voted for this item. [Show Results]

Codeigniter 4.6.0 Kint error
#1

Upgrading from version 4.5.8 to 4.6.0, on startup I got the error "Undefined constant Kint\Renderer\AbstractRenderer::SORT_FULL". Digging a little on the code, that instruction did exists on 4.5.8 but it was removed on 4.6.0, however the upgrade keeps the instruction in place and that results in a error.
My workaround: I commented out that instruction on app\Config\Kint.php and apparently everything works (so far), but I'm not really sure that'll come back and bite me in the long run. ¿Any thoughts about this?
Reply
#2

Hey, in the upgrading guide from 4.5.8 to 4.6.0 there's this All Changes section. In there, app/Config/Kint.php was listed as one of the changed files in the project space. So, yeah, your change won't bite you in the long run. But make sure to check the other files listed there to see if you need updating.
Reply
#3

(01-25-2025, 08:08 AM)jcvasquez07 Wrote: Upgrading from version 4.5.8 to 4.6.0, on startup I got the error "Undefined constant Kint\Renderer\AbstractRenderer::SORT_FULL". Digging a little on the code, that instruction did exists on 4.5.8 but it was removed on 4.6.0, however the upgrade keeps the instruction in place and that results in a error.
My workaround: I commented out that instruction on app\Config\Kint.php and apparently everything works (so far), but I'm not really sure that'll come back and bite me in the long run. ¿Any thoughts about this?

Hi,
Just change the content in app/Config/Kint.php to the new version here : Kint 4.6.0
Reply




Theme © iAndrew 2016 - Forum software by © MyBB