Welcome Guest, Not a member yet? Register   Sign In
CI-3 HMVC PHP Error
#1

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?
Reply


Messages In This Thread
CI-3 HMVC PHP Error - by msheath - 09-19-2024, 10:42 AM
RE: CI-3 HMVC PHP Error - by ozornick - 09-19-2024, 08:43 PM
RE: CI-3 HMVC PHP Error - by msheath - 09-20-2024, 01:34 AM
RE: CI-3 HMVC PHP Error - by Bosborne - 09-20-2024, 03:50 AM
RE: CI-3 HMVC PHP Error - by msheath - 09-21-2024, 07:01 AM
RE: CI-3 HMVC PHP Error - by kenjis - 09-20-2024, 01:38 AM
RE: CI-3 HMVC PHP Error - by nguyenvanlongxp - 01-11-2025, 06:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB