CodeIgniter Forums
Bug with Kint-library - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28)
+--- Forum: CodeIgniter 4 Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=31)
+--- Thread: Bug with Kint-library (/showthread.php?tid=75584)

Pages: 1 2


Bug with Kint-library - titounnes - 02-24-2020

after I updated my CI, I found a bug related to kint 


Quote:An uncaught Exception was encountered

Type:        Error
Message:    Class 'Kint\Renderer\Renderer' not found
Filename:    /var/app/CI4/appstarter/vendor/codeigniter4/framework/system/Config/Config.php
Line Number: 157 


best regard


RE: Bug with Kint-library - najdanovicivan - 02-24-2020

Hi. There's some issue with framework package on the Packagist not having the correct dependencies. This should be fixed very soon but at the moment you can try to bypass the issue with these commands

composer require kint-php/kint "3.3 as 2.2" --update-no-dev
composer require laminas/laminas-escaper --update-no-dev


RE: Bug with Kint-library - arif98741 - 02-24-2020

I am facing the same issue after running spark server


RE: Bug with Kint-library - John_Betong - 02-24-2020

@titounnes

Please see this thread:

https://forum.codeigniter.com/thread-75585.html

After a few changes it works for me Smile

https://ci4-strict.tk/welcome-new

Modifications:

https://ci4-strict.tk/bugs-fixed


RE: Bug with Kint-library - kilishan - 02-24-2020

Looks like I still need to learn more about how the release scripts builds things out, since I did change where I thought the composer.json would come from but it didn't seem to propagate correctly.

Change Kint version to `3.3` in `composer.json` and do a `composer update`. That should get it working for you.

It will be corrected a bit later today.


RE: Bug with Kint-library - midav - 02-24-2020

http://prntscr.com/r6ztm5

never fixed in 4.0.1)

I install in manual mode because the pump shakes a lot, but for the time being I don’t need the benefits of spark


RE: Bug with Kint-library - kilishan - 02-24-2020

@midav - how did you install?

I did a fresh install via composer create-project codeigniter4/appstarter and it works as expected.


RE: Bug with Kint-library - midav - 02-24-2020

(02-24-2020, 09:50 AM)kilishan Wrote: @midav - how did you install?

I did a fresh install via composer create-project codeigniter4/appstarter and it works as expected.
Yes, through the composer I set everything to work fine and here manual installation does not work, I even installed through the composer then transferred the system folder to the root and deleted the same vendor error.


RE: Bug with Kint-library - titounnes - 02-24-2020

In the old project, the problem was solved by updating the system to version 4.0.1 but not with the new project. As Lonnie said, the error was related to "redeclare class CodeIgniter \ Commands \ CommandsTestStreamFilter"


RE: Bug with Kint-library - kilishan - 02-24-2020

Version 4.0.2 released that should fix all of this for a new install. Sorry about the release issues today.

(02-24-2020, 09:52 AM)midav Wrote:
(02-24-2020, 09:50 AM)kilishan Wrote: @midav - how did you install?

I did a fresh install via composer create-project codeigniter4/appstarter and it works as expected.
Yes, through the composer I set everything to work fine and here manual installation does not work, I even installed through the composer then transferred the system folder to the root and deleted the same vendor error.

Per the manual - appstarter repo is intended for Composer-based installs, not manual.