VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: vavava on March 16, 2026, 21:50:06 PM

Title: An error has occurred. 0 Call to undefined function utf8_strtolower()
Post by: vavava on March 16, 2026, 21:50:06 PM
This is the mistake when creating a category - An error has occurred.      0 Call to undefined function utf8_strtolower()

it is impossible to create even a category please help
Title: Re: An error has occurred. 0 Call to undefined function utf8_strtolower()
Post by: PRO on March 17, 2026, 17:32:04 PM
"The PHP error
"Fatal error: Call to undefined function utf8_strtolower()" typically occurs because the necessary multibyte string extension (mbstring) is either not installed or not enabled on your server. "
Title: Re: An error has occurred. 0 Call to undefined function utf8_strtolower()
Post by: Ghost on March 24, 2026, 10:57:51 AM
You are probably using Joomla 6.0. Virtuemart is not yet compatible with J6. utf8_* functions have been removed in J6. Their usage needs to be replaced with Joomla\String\StringHelper::strtolower() or mb_strtolower().

https://dev.virtuemart.net/projects/virtuemart/repository/virtuemart/revisions/11259/entry/trunk/virtuemart/administrator/components/com_virtuemart/helpers/vmtable.php#L1740
https://dev.virtuemart.net/projects/virtuemart/repository/virtuemart/revisions/11259/entry/trunk/virtuemart/administrator/components/com_virtuemart/views/userfields/view.html.php#L177
Title: Re: An error has occurred. 0 Call to undefined function utf8_strtolower()
Post by: Milbo on May 13, 2026, 19:45:30 PM
Interesting, so far I see I replaced that in vm5.