alex - 4 months ago

Hi. After installation, plugin returns an error "Call to undefined function Wirelab\LanguageSwitcherPlugin\LanguageSwitcher\Command\locale_get_display_region()" installed composer. What am I doing wrong? Thank You!

Answer

dominique - 4 months ago

You're probably missing PECL intl. https://pecl.php.net/package/intl. You can opt out of pecl by passing 'pecl': false in the options array.

ryanthompson - 4 months ago

Run composer dump-autoload perhaps?

ryanthompson - 4 months ago

@dominique thoughts?

dominique - 4 months ago

You're probably missing PECL intl. https://pecl.php.net/package/intl. You can opt out of pecl by passing 'pecl': false in the options array.

alex - 4 months ago

"You can opt out of pecl by passing 'pecl': false in the options array." Thank You!