Welcome Guest, Not a member yet? Register   Sign In
Class "Kint\Renderer\Renderer" not found
#1

Hi,
I am getting the error below after I upgraded to 4.3 (from 4.2.11).


Quote:Class "Kint\Renderer\Renderer" not found
SYSTEMPATH/Config/Factories.php at line 129
I noticed that Composer removed Kint during "composer update", but did not install the newer version. However, it (newer version, 5.0.1) is under "requires (dev)" section of CI4 on packagist.org.
So, I added "kint-php/kint": "^5.0.1" to composer.json and ran "composer update" again, which installed Kint 5.0.2, but the error did not go away.

Any suggestions ?

Thanks
Reply
#2

Please follow the upgrade instructions: https://www.codeigniter.com/user_guide/i...le-changes
Reply
#3

Change This

app/Config/Kint.php has been updated for Kint 5.0. You need to replace Kint\Renderer\Renderer with Kint\Renderer\AbstractRenderer and replace Renderer::SORT_FULL with AbstractRenderer::SORT_FULL.
Reply
#4

Yes, I initially made the mistake of not checking the upgrade instructions Michalsn mentioned.
It is all good now.
Thanks
Reply




Theme © iAndrew 2016 - Forum software by © MyBB