You're getting all these errors because you have modified the stock code from expecting the use of a 3-Byte UTF-8 Unicode Encoding character set, to utf8mb4 a 4-Byte UTF-8 Unicode Encoding character set.

UBB.threads currently does not provide support for supplementary character sets (ie; Chinese, Japanese). UBB.threads currently only provides support for Basic Multilingual Plane (BMP) characters.

utf8mb4, utf16, utf16le, and utf32 support Basic Multilingual Plane (BMP) characters and supplementary characters that lie outside the BMP.
https://dev.mysql.com/doc/refman/8.0/en/charset-unicode-sets.html

The utf8/utf8mb3 Character Set (3-Byte UTF-8 Unicode Encoding
Supports BMP characters only (no support for supplementary characters)
https://dev.mysql.com/doc/refman/5.6/en/charset-unicode-utf8mb3.html

The utf8mb4 Character Set (4-Byte UTF-8 Unicode Encoding)
utf8mb4 contrasts with the utf8mb3 character set, which supports only BMP characters and uses a maximum of three bytes per character
https://dev.mysql.com/doc/refman/5.6/en/charset-unicode-utf8mb4.html


edit:
Very recently (2015 to now) UBB.threads base code has been getting many modern updates since its initial release in the 90s, but it still requires additional coding to support utf8mb4, as you're now finding out wink This may come eventually, but there are many other updates ahead of that.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com