Kint Class Not Found |
Hi, any suggestion for this error? I set the environment to production
While in localhost everything is fine, but when it on air the log show : Code: CRITICAL - 2020-02-27 13:34:01 --> Class 'Kint\Kint' not found Thanks
(02-26-2020, 11:41 PM)mjamilasfihani Wrote: Hi, any suggestion for this error? I set the environment to production If you are on linux platform, Go to System/ThirdParty/Kint, and rename the kint.php to Kint.php This solved the issue in my case.
I have the same problem only on production.
After upgrade from RC4 to 4.0.2
I have the same problem in the web server (but not in local) with version 4.0.2, but not with version 4.0.0-rc4
Yes, I've just had the same error on remote hosting server with version 4.0.2. As Navindex told advised, renamed kint -> Kint and error has disappeared.
The version of Kint changed from 2.x branch to the 3.x branch. While renaming Kint class will get rid of that error, there still might be other errors you get in development due to the version differences. However, Kint never runs in production so if you've already got a site deployed it shouldn't cause any issues. Always better to be safe, though, and copy the files from the 4.0.2 repo (ThirdParty/Kint) over to your project.
Solved the problem - can this be corrected in the next release?
On localhost (windows-Wamp) capitals on file is less important. Production site is Linux with stricter filerules!
(03-20-2020, 02:13 AM)Bart Goossens Wrote: Solved the problem - can this be corrected in the next release? Yeah I agree with you (03-03-2020, 07:58 AM)kilishan Wrote: The version of Kint changed from 2.x branch to the 3.x branch. While renaming Kint class will get rid of that error, there still might be other errors you get in development due to the version differences. However, Kint never runs in production so if you've already got a site deployed it shouldn't cause any issues. Always better to be safe, though, and copy the files from the 4.0.2 repo (ThirdParty/Kint) over to your project. If I remove toolbar in filter, it will not load Kint class right? If yes it will not have any issues like what you mean |
Welcome Guest, Not a member yet? Register Sign In |