Skip to content

Bug: Kint Config isnt loaded #2830

Description

@fapth

Describe the bug
After upgrading CI4.0.0rc to CI4.0.2 i'm getting this error when i call a simple side. I could fix it, when i added the Kint - Config from "vendor\codeigniter4\framework\app\Config" to "app\Config"

Error Message:
fapth@DESKTOP-Q52SKBB:/mnt/j/CI_Framework/public$ php index.php home index
An uncaught Exception was encountered

Type: ErrorException
Message: Trying to get property 'maxDepth' of non-object
Filename: /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/CodeIgniter.php
Line Number: 232

Backtrace:
					-232 - /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/CodeIgniter.php::errorHandler
							-193 - /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/CodeIgniter.php::initializeKint
							-168 - /mnt/j/CI_Framework/vendor/codeigniter4/framework/system/bootstrap.php::initialize
							-36 - /mnt/j/CI_Framework/public/index.php::require

CodeIgniter 4 version
CodeIgniter 4.0.2

Affected module(s)
Which package or class is the bug in, if known.

Expected behavior, and steps to reproduce if appropriate
A clear and concise description of what you expected to happen,
and how you got there.
Feel free to include a text/log extract, but use a pastebin facility for any
screenshots you deem necessary.

Context

  • OS: Linux on Windows 10 / Ubuntu 18.04
  • PHP version 7.2

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugVerified issues on the current code behavior or pull requests that will fix them

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions