Welcome Guest, Not a member yet? Register   Sign In
Bug with Kint-library
#1

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
Reply
#2

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
Reply
#3

I am facing the same issue after running spark server
Reply
#4

@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
Reply
#5

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.
Reply
#6

(This post was last modified: 02-24-2020, 09:48 AM by midav.)

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
Reply
#7

@midav - how did you install?

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

(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.
Reply
#9

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"
Reply
#10

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB