Poll: Did the same thing happen to you? You do not have permission to vote in this poll. |
|||
Yes, it happened to me | 3 | 100.00% | |
No, it never happened | 0 | 0% | |
Total | 3 vote(s) | 100% |
* You voted for this item. | [Show Results] |
![]() |
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?
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.
(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. Hi, Just change the content in app/Config/Kint.php to the new version here : Kint 4.6.0 |