• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Please check this error in CI4 - 8e0f4c9

#1
Git clone https://github.com/codeigniter4/CodeIgniter4.git 
// michalsn committed 8e0f4c9 3 hours ago - 2020-06-25 - 23:00


I just downloaded the latest version and encountered this error:

[b]Fatal error:  Uncaught Error: Call to undefined function CodeIgniter\locale_set_default() in /var/www/CodeIgniter4/system/CodeIgniter.php:184[/b]

Code:
[/color]
[color=darkred]public function initialize()
{[/color]
[color=darkred]  // Set default locale on the server
  locale_set_default($this->config->defaultLocale ?? 'en');[/color]
[color=darkred]  [/color]
[color=darkred]


It is late here and I'm off to bed Smile
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.