CodeIgniter Forums
Initialization problem with Kint-php - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Initialization problem with Kint-php (/showthread.php?tid=92368)



Initialization problem with Kint-php - cbazan - 01-23-2025

Hi. I just upgraded my Codeigniter 4 using composer (as I always do) from version 4.5.7 to 4.6.0 and I get the following error when I try to run my application:
Undefined constant Kint\Renderer\AbstractRenderer::SORT_FULL

This has never happened to me before.
The file and line referenced is APPPATH/Config/Kint.php at line 44.
Any light anyone can shed on this?
Thanks in advance


RE: Initialization problem with Kint-php - cbazan - 01-23-2025

I'll answer myself. It seems that the update I had performed using composer was somehow unsuccessful. I installed/created a new build using version 4.6.0 and comparing the two builds, there were many different files.
Everything is working fine now.