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

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
outeCollection.php
Line Number: 1017


what is the solution?
Reply
#2

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 )
Reply
#3

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

Check this: PHP: Deprecated Features - Manual
Reply




Theme © iAndrew 2016 - Forum software by © MyBB