New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Undefined constant "INTL_IDNA_VARIANT_UTS46" after php update to 8.1 #8755
Comments
Looks like some ancient ICU versions might not have this constant defined. guzzle/guzzle#2448 |
This is in my composer.json:
|
Thanks for this. Works perfectly for me |
Hmmm... On my PHP 8.1 using I wonder whether |
Sorry for the late reply @alecpl , no the variable
In the meantime I tested the same behaviour on Debian bullseye with the same result, but slightly newer version of guzzle:
|
This really has nothing to do with Guzzle. |
Couldn't symfony/polyfill-intl-idn provide this variable? Or do you think there is just a OS php package missing? (found a reference to it here) |
I thought you have 'intl' extension installed, and still got this error. But if do not have it, then you have to install it. It is required. |
Yes indeed, I didn't find a reference in the requirements, and on the installation page for Debian I missed it, sorry and thank you for your help. |
This helped! Thank you! |
Not entirely sure why this issue is closed. I just had the same problem on an Ubuntu 22.04 LTS with Roundcube 1.6.6 pop up. The solution suggested here works to fix the issue. |
Roundcube Webmail 1.6.0
nginx/1.14.2
After switching php from 7.3, where everything worked as expected, to 8.1 I get the following error:
(
php composer.phar update --no-dev
was executed with php8.1 after the switch)I could fix the error like this:
Otherwise roundcube refuses to start.
The text was updated successfully, but these errors were encountered: