• 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

#62
(07-30-2020, 04:28 AM)ezis Wrote: 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

Thanks! Fixed. Please run composer update command again.

Basic App, an open source simple CMS based on CodeIgniter 4
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.