Welcome Guest, Not a member yet? Register   Sign In
Basic App - Free CMS on CodeIgniter 4
#61

Hi!
Installation went smoothly. I started to check code and to prepare for my test project. Not yet any customization.
Just made upgrade (composer) to CI 4.04 and faced some problems.

Latest one, local web server did not start.
---------------------
cmd>php spark serve

CodeIgniter CLI Tool - Version 4.0.4 - Server-Time: 2020-07-30 14:16:40pm

An uncaught Exception was encountered

Type:        TypeError
Message:    Argument 2 passed to BasicApp\Core\BaseCommand::__construct() must be an instance of CodeIgniter\CLI\CommandRunner, instance of CodeIgniter\CLI\Commands given, called in /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CLI/Commands.php on line 157
Filename:    /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/basic-app/core/Core/BaseCommand.php
Line Number: 23

        Backtrace:
                                                -157 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CLI/Commands.php::__construct
                                                                -86 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CLI/Commands.php::discoverCommands
                                                                -107 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CLI/CommandRunner.php::run
                                                                -85 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CLI/CommandRunner.php::index
                                                                -914 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CodeIgniter.php::_remap
                                                                -404 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CodeIgniter.php::runController
                                                                -312 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CodeIgniter.php::handleRequest
                                                                -86 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/vendor/codeigniter4/framework/system/CLI/Console.php::run
                                                                -57 - /home/ubuntu/NetBeansProjects/development/panel/basic-app/demoapp/spark::run
Reply


Messages In This Thread
RE: Basic App - Free CMS on CodeIgniter 4 - by ezis - 07-30-2020, 04:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB