I have detected the following unusual problem, with codeigniter4.
Install.
PHP: 8.4.10 — CodeIgniter: 4.6.1 -- Environment: development
Error.
Undefined constant KintRendererAbstractRenderer::SORT_FULL
My composer file.
{
"name": "codeigniter4/appstarter",
"description": "CodeIgniter4 starter app",
"license": "MIT",
"type": "project",
"homepage": "https://codeigniter.com",
"support": {
"forum": "https://forum.codeigniter.com/",
"source": "https://github.com/codeigniter4/CodeIgniter4",
"slack": "https://codeigniterchat.slack.com"
},
"require": {
"php": "^7.4 || ^8.0",
"codeigniter4/framework": "^4.0",
"tatter/assets": "dev-master",
"twbs/bootstrap": "v5.3.7"
},
"require-dev": {
"fakerphp/faker": "^1.9",
"kint-php/kint": "^6.0",
"mikey179/vfsstream": "^1.6",
"phpunit/phpunit": "^9.1"
},
"autoload": {
"exclude-from-classmap": [
"**/Database/Migrations/**"
]
},
"autoload-dev": {
"psr-4": {
"Tests\Support\": "tests/_support"
}
},
"config": {
"optimize-autoloader": true,
"preferred-install": "dist",
"sort-packages": true
},
"scripts": {
"test": "phpunit"
}
}
It’s a normal zero installation dicodeigniter 4 but instead it gives me this error.
Everything is up to date and should not be there. How can I verify that kint library loads.
I tried putting .env in production and everything works.
When it loads kint in development it gives me this error.
Does anyone know what it can be?