![]() |
Error After Upgrading From 4.1.3 to 4.3.1 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9) +--- Thread: Error After Upgrading From 4.1.3 to 4.3.1 (/showthread.php?tid=86801) |
Error After Upgrading From 4.1.3 to 4.3.1 - frogy - 02-18-2023 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 ![]() RE: Error After Upgrading From 4.1.3 to 4.3.1 - kenjis - 02-18-2023 Please read Upgrading Guide: https://codeigniter4.github.io/userguide/installation/upgrading.html You need to update some files. |