PHP-UTF8-LIB-001

jimport('phputf8.utils.unicode')

libraries/phputf8 copy

Joomla 4 removed the bundled phputf8 tree. String work goes through the String package.

jimport('phputf8.utils.unicode')Joomla\String\StringHelper

Dies at Joomla 3 → 4J3: Works nativelyJ4: Removed — fatalJ6: Removed — fatalBC plugin: no — already dead on J4Patch possible — review itPHP

What you will see

  • Failed opening required .../phputf8
  • Call to undefined function utf8_strtolower

Symptoms people search

phputf8 missing · utf8_strtolower

Replace this code

Swap jimport('phputf8.utils.unicode') for Joomla\String\StringHelper.

Joomla 3

Remove or stop calling this

jimport('phputf8.utils.ascii');
utf8_strtolower($s);

Joomla 4 / 6

Use this instead

use Joomla\String\StringHelper;
StringHelper::strtolower($s);

How to fix it

  1. 1Replace utf8_* helpers with StringHelper.
  2. 2Do not jimport phputf8.

Also known as

phputf8 · utf8_strtolower · utf8_strlen

Related issues

Get in touch

Have a project in mind? Let's talk about it.

Tell us what you're building. Whether it's a new site, an online store, a mobile app, or something that needs AI under the hood, we'll get back to you within a business day.

Free consultation
No commitment, no pressure
Reply within 24 hours
Usually much faster

Prefer a direct conversation?

Request a project quote

Tell us about your project

Fill out the quick form and we'll reach out.