![]() |
CI-3 HMVC PHP Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: CI-3 HMVC PHP Error (/showthread.php?tid=91691) |
CI-3 HMVC PHP Error - msheath - 09-19-2024 I am trying to get CI-3 to work on localhost with PHP 8.3 and I am getting an error in the MX Controller: A PHP Error was encountered Severity: 8192 Message: str_replace(): Passing null to parameter #1 ($search) of type array|string is deprecated Filename: MX/Controller.php Line Number: 45 Backtrace: File: C:\wamp64\www\chichester-evening-as\application\third_party\MX\Controller.php Line: 45 Function: str_replace Line 45 is: $class = str_replace(CI::$APP->config->item('controller_suffix'), '', get_class($this)); Any ideas on a fix? RE: CI-3 HMVC PHP Error - ozornick - 09-19-2024 CI3 not supporred php8.3. RE: CI-3 HMVC PHP Error - msheath - 09-20-2024 (09-19-2024, 08:43 PM)ozornick Wrote: CI3 not supporred php8.3. Not natively perhaps but I'm sure there is a fix. RE: CI-3 HMVC PHP Error - kenjis - 09-20-2024 Ci3 does not work with PHP 8.2 or later. It is no longer maintained. RE: CI-3 HMVC PHP Error - Bosborne - 09-20-2024 (09-20-2024, 01:34 AM)msheath Wrote:(09-19-2024, 08:43 PM)ozornick Wrote: CI3 not supporred php8.3. The fix is Codeigniter 4. RE: CI-3 HMVC PHP Error - msheath - 09-21-2024 (09-20-2024, 03:50 AM)Bosborne Wrote:(09-20-2024, 01:34 AM)msheath Wrote:(09-19-2024, 08:43 PM)ozornick Wrote: CI3 not supporred php8.3. Well actually you are just plain wrong. I have CI 3.1.11 running perfectly on localhost with php 8.3 in one app. But I did this some time ago and I can't remember exactly what I did. There is definitely a fix but you are unaware of it and I will have to look elsewhere to jog my memory. RE: CI-3 HMVC PHP Error - nguyenvanlongxp - 01-11-2025 CI3 not supporred php8 |