Class 'Locale' not found

Just installed vanilla for a try. Followed instructions found at https://websiteforstudents.com.

But instead of up and running I get the following message from the initiation phase:

Fatal Error in LocalesApiController.{closure}();

Class 'Locale' not found

Any ideas?



Additional information for support personnel:

Application: Vanilla

Application Version: 3.2-2019.012-SNAPSHOT

PHP Version: 7.2.3-1ubuntu1

Operating System: Linux

Server Software: Apache/2.4.29 (Ubuntu)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36

Request Uri: /index.php?p=/dashboard/setup

Controller: LocalesApiController

Method: {closure}


he error occurred on or near: /var/www/html/vanilla/applications/dashboard/controllers/api/LocalesApiController.php

 99: 
100:         $populate = function (array &$row, array $locales) {
101:             $displayNames = [];
102:             foreach ($locales as $locale) {
103:                 $displayName = \Locale::getDisplayLanguage($row["localeKey"], $locale);
104: 
105:                 // Standardize capitalization
106:                 $displayName = mb_convert_case($displayName, MB_CASE_TITLE);
107: 




Comments

Sign In or Register to comment.