CodeIgniter 4.0 Release framework - Kint Error |
Goodmorning everyone.
I updated my application using CodeIgniter 4 framework I got the following error: Code: Class 'Kint \ Renderer \ Renderer' not found I investigated and found that the CodeIgniter 4 framework composer.json file is out of date Code: "require": { instead of Code: "require": { Codeigniter 4 - Docker Image [github] [docker hub]
It didn't work when I tried it either so modified:
File: index.php Code: <?php DECLARE(STRICT_TYPES=1); File: /system/CodeIgniter.php Code: /** Updated the Online Strict Version with the new app/Views/welcome_message.php: https://ci4-strict.tk/welcome-new and testing from from London, UK based web host: https://tools.pingdom.com/#5c1dd69bcc800000 Performance grade: 100% Page size: 15.0 KB Load time: 127 ms Requests: 2
I'm getting this same error after updating to 4.0.0., with the error on line 232
Code: /** Designer, developer and Diet Dr. Pepper addict. Messing up PHP since <?= $when['year';] ?>
I noticed that @lonnieezell updated the version of Kint in composer.json
I edited in my composer.json from Code: "codeigniter4 / framework": "^ 4 @ rc", to Code: "codeigniter4 / framework": "dev-master", This solved the problem Codeigniter 4 - Docker Image [github] [docker hub]
I think it's been fixed in the development branch on GitHub.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
I released a 4.0.1 version of everything that should have fixed the issue with Kint. Unfortunately, I'm now getting another issue that didn't show up during final testing last night on the refactor of our test suite. Unfortunately, I'm out of time until later tonight to work on this.
A temporary fix for those that need it is to remove the file tests/_support/Commands/CommandsTestStreamFilter.
I am still getting the error even after removing the CommandsTestStreamFilter.php file. I also tried moving to the dev branch but error still persists. I just rolled back to 4.0.0-rc.4 for now. I know you guys are all working incredibly hard on this and my gratitude is through the roof. Thanks for all that you do.
I'm still getting a Kint error even on 4.0.1, so I've just set my composer back to RC 4 for the moment.
This got me back up and running: Code: "codeigniter4/framework": "4.0.0-rc.4" The error I'm still getting on 4.0.1. is: Code: ErrorException Designer, developer and Diet Dr. Pepper addict. Messing up PHP since <?= $when['year';] ?>
|
Welcome Guest, Not a member yet? Register Sign In |