Error After Upgrading From 4.1.3 to 4.3.1 |
I consciously updated codeigniter to version 4.3.1 from 4.1.3 using composer update command because i need the RawSql function for seeding.
Then when i tried to start the server, its get some errors : Code: macpro@maulanaissaq ci4 % php spark serve Then when i open the brower it show : Code: Fatal error: Uncaught Error: Call to a member function run() on int in /Users/macpro/Documents/GitHub/ci4/public/index.php:37 Stack trace: #0 /Users/macpro/Documents/GitHub/ci4/vendor/codeigniter4/framework/system/Commands/Server/rewrite.php(47): require_once() #1 {main} thrown in /Users/macpro/Documents/GitHub/ci4/public/index.php on line 37 How to fix it? I've been using 4.1.3 for long time and not update it ![]()
Please read Upgrading Guide:
https://codeigniter4.github.io/userguide...ading.html You need to update some files. |
Welcome Guest, Not a member yet? Register Sign In |