Welcome Guest, Not a member yet? Register   Sign In
Class is Not Found After Upgrading codeigniter 4.0.x to 4.1.x

(This post was last modified: 05-23-2022, 06:12 PM by franciscaid.)

Currently i'm on codeigniter 4.1.9. I have a class in library and call it in controller. In previous Codeigniter 4.0.x, it works fine. But after upgrading Codeigniter to 4.1.9 there is error class not found.

Here is the code:

Use Export_csv;
$class = new Export_csv;

I upgrade the Codeigniter by downloading the rar from ci4, copy folder controller, library, model, and view to folder gplay app.

Big thanks for your help

(This post was last modified: 04-24-2022, 06:04 PM by kenjis.)

It may be due to the removal of Autoloader::loadLegacy().

Where do you have your class files?

Theme © iAndrew 2016 - Forum software by © MyBB