QUICK NEWS

{NEW} - A new css video is up.

{OLD} - New video courtesy of Skhilled, Thanks for posting it up.

Video of the moment:


Internal Links

SMF Sites

Quick Info

2.1.1 Errors

Started by gregstec, Mar 08, 2022, 11:49 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

gregstec

I upgraded to 2.1.1 and I am getting constant errors in the error log - forum seems to function fine though:

Here are the errors:

"2: Use of undefined constant INTL_IDNA_VARIANT_UTS46 - assumed 'INTL_IDNA_VARIANT_UTS46' (this will throw an Error in a future version of PHP)"

2: idn_to_ascii() expects parameter 3 to be integer, string given"

Backtrace takes it to the Sub.php file.

Does anyone have any idea wht is going on and how do I fix it.

Thanks

Greg

shawnb61

Php version?

We have seen this on some early php 7.x versions.

To fix, first thing to try is to upgrade to php 7.4 or 8.0.

If you cannot go to php 7.4+, there is a fix up on GitHib:
https://github.com/SimpleMachines/SMF2.1/pull/7177

Hope this helps.

gregstec

Quote from: shawnb61 on Mar 08, 2022, 12:22 PMPhp version?

We have seen this on some early php 7.x versions.

To fix, first thing to try is to upgrade to php 7.4 or 8.0.

If you cannot go to php 7.4+, there is a fix up on GitHib:
https://github.com/SimpleMachines/SMF2.1/pull/7177

Hope this helps.

Thanks

gregstec

My Hosted server is using PHP version 7.2.34 - so, I guess that is the issue.  As said, all works fine and only the Admins are seeing the errors when looking at the log.

Greg