Keyword

PHP 7.4 K2 2.10.3 0 Error Call to undefined function mb_regex-encoding() again

  • Mick
  • Mick's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 11 months ago - 3 years 11 months ago #175602 by Mick
Joomla 3.9.18
K2 2.10.3
PHP 7.4 mbstring INSTALLED!

Turning off SEO Settings does not work.

PHP 7.3 works correctly.

Any ideas?

Thanks

Update:

Just to confirm, gd and mbstring are installed and activated on the server:

[root@host ~]# hostname; /opt/cpanel/ea-php74/root/usr/bin/php-cgi -m | egrep "gd|mb"


the mbregex function shows that it is available:

[root@host ~]# php -r "if(function_exists('mb_ereg_replace')) echo 'mbregex_installed';"
mbregex_installed

The same as the PHP7.3 settings.
Last edit: 3 years 11 months ago by Mick.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #175620 by JoomlaWorks
Can you tell me which file & line exactly you're getting this error please?

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Mick
  • Mick's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 11 months ago - 3 years 11 months ago #175655 by Mick
I don't see any logged errors on the server or debug console

All I can say, unless you can advise how to get what you ask for, is that only menu links to K2 Items and K2 Category listings are throwing the error.

??
Last edit: 3 years 11 months ago by Mick.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #175660 by JoomlaWorks
Switch error reporting to maximum to see if you can get past the frontend error page of Joomla.

In any case, it's a missing dependency on the server's side. I know you said you've verified everything, but the error is clear.

For the record, cPanel added support for PHP 7.4 just 9 days ago (features.cpanel.net/topic/php-7-4) and since they package their own modules for PHP it's probable the code is not working as expected. It may seem that the relevant mbstring module is enabled, but it may not actually interface with PHP 7.4. I know a thing or two about cPanel as I'm also the dev for engintron.com ;)

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #175662 by JoomlaWorks
As suspected: news.cpanel.com/easyapache-4-may-6-release/

They announced an update and notice this:
"ZC-6649: Re-enable multibyte regex for 7.4."

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

  • Mick
  • Mick's Avatar Topic Author
  • Offline
  • Junior Member
More
3 years 11 months ago #175667 by Mick
@Fotis, thanks I have passed this advice onto our service provider to look into.

Please Log in or Create an account to join the conversation.

More
3 years 11 months ago #175670 by JoomlaWorks
You're welcome.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum