CARA MENGATASI PHP SPARK SERVE ERROR - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: General (https://forum.codeigniter.com/forumdisplay.php?fid=1) +--- Forum: Regional User Groups (https://forum.codeigniter.com/forumdisplay.php?fid=25) +--- Thread: CARA MENGATASI PHP SPARK SERVE ERROR (/showthread.php?tid=82087) |
CARA MENGATASI PHP SPARK SERVE ERROR - kangmus - 06-09-2022 gan mohn bantuanya, seletah saya ketik composer update, kemudian saya jalankan php spark serve, muncul error seperti ini. Fatal error: Uncaught TypeError: Argument 1 passed to CodeIgniter\CLI\Console::_ _construct() must be an instance of CodeIgniter\CodeIgniter, int given, called i n E:\#LARAGON\www\appahass\spark on line 48 and defined in E:\#LARAGON\www\appah ass\vendor\codeigniter4\framework\system\CLI\Console.php:29 Stack trace: #0 E:\#LARAGON\www\appahass\spark(48): CodeIgniter\CLI\Console->__construct(1) #1 {main} thrown in E:\#LARAGON\www\appahass\vendor\codeigniter4\framework\system\CLI\Co nsole.php on line 29 RE: CARA MENGATASI PHP SPARK SERVE ERROR - elfaq.yeni - 07-01-2022 (06-09-2022, 06:59 PM)kangmus Wrote: gan mohn bantuanya, seletah saya ketik composer update, kemudian saya jalankan php spark serve, muncul error seperti ini. try this > copy the index.php file in vendor/codeigniter4/framework/public/index.php (to) public/index.php >copy spark file in vendor/codeigniter4/framework/spark (to) root folder |