-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error php spark #1
Comments
mohon jelaskan secara detail bagaimana itu bisa terjadi dan kejadian nya seperti apa terimakasih |
setelah composer update, ERROR waktu php spark migrate. php spark serve jg error |
lewat xampp... localhost/pos-project/public -> keluar error |
install laragon dan pasang php versi 7.4 untuk projek ini, dan konfigurasikan seperti instruksi di web ini https://forum.codeigniter.com/showthread.php?tid=82087 |
php spark migrate
PHP Fatal error: Uncaught TypeError: CodeIgniter\CLI\Console::__construct(): Argument #1 ($app) must be of type CodeIgniter\CodeIgniter, int given, called in D:\xampp\htdocs\pos-project\spark on line 49 and defined in D:\xampp\htdocs\pos-project\vendor\codeigniter4\framework\system\CLI\Console.php:29
Stack trace:
#0 D:\xampp\htdocs\pos-project\spark(49): CodeIgniter\CLI\Console->__construct(1)
#1 {main}
thrown in D:\xampp\htdocs\pos-project\vendor\codeigniter4\framework\system\CLI\Console.php on line 29
Fatal error: Uncaught TypeError: CodeIgniter\CLI\Console::__construct(): Argument #1 ($app) must be of type CodeIgniter\CodeIgniter, int given, called in D:\xampp\htdocs\pos-project\spark on line 49 and defined in D:\xampp\htdocs\pos-project\vendor\codeigniter4\framework\system\CLI\Console.php:29
Stack trace:
#0 D:\xampp\htdocs\pos-project\spark(49): CodeIgniter\CLI\Console->__construct(1)
#1 {main}
thrown in D:\xampp\htdocs\pos-project\vendor\codeigniter4\framework\system\CLI\Console.php on line 29
The text was updated successfully, but these errors were encountered: