Class "Kint\Renderer\Renderer" not found |
Hi,
I am getting the error below after I upgraded to 4.3 (from 4.2.11). Quote:Class "Kint\Renderer\Renderer" not foundI 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
Please follow the upgrade instructions: https://www.codeigniter.com/user_guide/i...le-changes
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.
Yes, I initially made the mistake of not checking the upgrade instructions Michalsn mentioned.
It is all good now. Thanks |
Welcome Guest, Not a member yet? Register Sign In |