Welcome Guest, Not a member yet? Register   Sign In
trying CI4 but get ErrorException

i installed ci4 with composer, but when i execute $php spark verse this show up.

An uncaught Exception was encountered

Type:        ErrorException
Message:    Required parameter $from follows optional parameter $verbs
Filename:    D:\XAMPP\htdocs\cites\vendor\codeigniter4\framework\system\Router\R
Line Number: 1017

what is the solution?

What php version are you running with xampp?
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

It looks like a PHP 8 error and CodeIgniter 4 is not fully compatible with PHP 8.

Check this: PHP: Deprecated Features - Manual

Theme © iAndrew 2016 - Forum software by © MyBB