![]() |
Usage of some deprecated methods - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19) +--- Thread: Usage of some deprecated methods (/showthread.php?tid=66512) |
Usage of some deprecated methods - AmitMY - 10-29-2016 Hi, I am not sure if this is the correct sub-forum. If it is not, please tell me where is the correct place. I am using PHP 7.0.9 with the latest release of CI (3.1.0) I added a hook for error handling: PHP Code: set_error_handler('exceptions_error_handler'); And the first time I run something, it gives me this message: Quote:{ Fine, So I added "allowed errors", because I don't wanna ignore all deprecation: PHP Code: $allowed = [ So now it gave me: Quote:{ So now my allowed methods array looks like this: PHP Code: $allowed = [ And it works. These two were deprecated in 5.6.0 Solutions are: mbstring - http://php.net/manual/en/mbstring.configuration.php#ini.mbstring.internal-encoding iconv - http://php.net/manual/en/iconv.configuration.php#ini.iconv.internal-encoding RE: Usage of some deprecated methods - InsiteFX - 10-30-2016 It's telling you not to use those but to use the DEFAULT CHARACTER SET UTF-8 A lot of them were removed in PHP 7. RE: Usage of some deprecated methods - AmitMY - 10-30-2016 Well OK, I am not using those.. They are used in "system\core\CodeIgniter.php" (CI 3.1.0) |