Welcome Guest, Not a member yet? Register   Sign In
Error: Use of undefined constant ENVIRONMENT - CI 4.1.5
#1

(This post was last modified: 11-20-2021, 06:56 PM by Mobostar.)

Hello,
I am getting this error when I run "spark" to create a migration.
Code:
$ php spark migrate:create create_posts_table
PHP Warning:  Use of undefined constant ENVIRONMENT - assumed 'ENVIRONMENT' (this will throw an Error in a future version of PHP) in vendor/codeigniter4/framework/system/Config/Factories.php on line 110

The migration is created anyway, but I wonder what this is about.

PHP 7.4.3
CI 4.1.5

Thanks
Reply


Messages In This Thread
Error: Use of undefined constant ENVIRONMENT - CI 4.1.5 - by Mobostar - 11-20-2021, 06:50 PM



Theme © iAndrew 2016 - Forum software by © MyBB