Welcome Guest, Not a member yet? Register   Sign In
Application broken after upgrading from v4.03 to v4.0.4
#6

(07-16-2020, 02:13 AM)InsiteFX Wrote: It was in the change log:

Added $arguments parameter to after() and before() in FilterInterface. This is a breaking change, so all code implementing the FilterInterface must be updated

In the update the following error occurred:
Fatal error: Uncaught Error: Call to undefined function CodeIgniter \ locale_set_default () in C: \ wwwroot \ system \ CodeIgniter.php: 184 Stack trace: # 0 C: \ wwwroot \ system \ bootstrap.php (181): CodeIgniter \ CodeIgniter -> initialize () # 1 C: \ wwwroot \ index.php (36): require ('C: \\ wwwroot \\ syst ...') # 2 {main} thrown in C: \ wwwroot \ system \ CodeIgniter .php online 184
The line was commented and the problem solved:

//locale_set_default ($ this-> config-> defaultLocale ?? 'en');
Reply


Messages In This Thread
RE: Application broken after upgrading from v4.03 to v4.0.4 - by wdeda - 07-16-2020, 06:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB