Error: Use of undefined constant ENVIRONMENT - CI 4.1.5 |
Hello,
I am getting this error when I run "spark" to create a migration. Code: $ php spark migrate:create create_posts_table The migration is created anyway, but I wonder what this is about. PHP 7.4.3 CI 4.1.5 Thanks
I can't reproduce it.
See vendor/codeigniter4/framework/system/Config/Factories.php line 110.
The following is the "PHP stack trace" for the same error in case it helps.
Code: PHP Stack trace:
Line 110 of Factories.php is:
self::$instances[$options['component']][$class] = new $class(...$arguments); I believe there is something messed up with your installation.
Simpler is always better
|
Welcome Guest, Not a member yet? Register Sign In |