4.2.3 Spark Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: 4.2.3 Spark Error (/showthread.php?tid=82685) |
4.2.3 Spark Error - adjacency-inc - 08-09-2022 We just upgraded to CI4.2.3, and we're getting a runtime error on our development server when executing spark: Code: CodeIgniter v4.2.3 Command Line Tool - Server Time: 2022-08-09 15:23:43 UTC+00:00 There is a workaround, which is to change CI_ENVIRONMENT to production, start spark, then change CI_ENVIRONMENT back to development. Has anybody else encountered this? RE: 4.2.3 Spark Error - MGatner - 08-12-2022 Something is wrong with your setup. The Toolbar should never load from CLI (spark). app/Config/Events.php: PHP Code: if (CI_DEBUG && ! is_cli()) { Make sure that file and spark are updates to the latest framework-equivalent versions. |