[OzzModz] Language Detect

[OzzModz] Language Detect 2.0.0

No permission to download
An exception occurred: [Error] Class 'Locale' not found in src/addons/OzzModz/LanguageDetect/XF/Entity/User.php on line 31

  1. OzzModz\LanguageDetect\XF\Entity\User->getBrowserLanguage() in src/addons/OzzModz/LanguageDetect/Listener.php at line 23
  2. OzzModz\LanguageDetect\Listener::appPubStartEnd() in src/XF/Extension.php at line 69
  3. XF\Extension->fire() in src/XF/App.php at line 2855
  4. XF\App->fire() in src/XF/Pub/App.php at line 201
  5. XF\Pub\App->start() in src/XF/App.php at line 2349
  6. XF\App->run() in src/XF.php at line 524
  7. XF::runApp() in index.php at line 20

php 7.4
XF v2.2.10 Patch 1
 
[OzzModz] Language Detect requires PHP intl extension.

Have updated server, now running php 8.1, but 8.2 is also automatically installed with webmin in ubuntu in wsl2/windows 10
have apt-get install php-intl, have uncomment intl as extension in php.ini;
have copied intl.so from /usr/lib/php/2022... to 2021

Finally the solution was apt-get install php8.1-intl
 
Back
Top Bottom