AbanteCart Community

Shopping Cart Operations => Support => Topic started by: kavlito on May 11, 2020, 12:05:42 PM

Title: Updated PHP to 7.4 - critical error
Post by: kavlito on May 11, 2020, 12:05:42 PM
Hi,

I updated my PHP version to 7.4 and received the attached critical error and no longer have access to my site. What should I do?

Thank you.
Title: Re: Updated PHP to 7.4 - critical error
Post by: kavlito on May 11, 2020, 03:33:29 PM
Resolved by my web host:

I found that your application was not loading because it was trying to use a functionality of a module not loaded by default in the PHP 7.4 stack:

[11-May-2020 10:59:03 America/Chicago] PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /public_html/core/init.php:21

I loaded the module but the application still rendered the same error page but it no longer produced any error logs.

I changed the PHP version to PHP 7.3 and the website started loading. It seems there is a part of your application incompatible with PHP 7.4. It is probably an extension, plugin, or a custom theme you might be using.

At this point I don't recommend changing the PHP version to 7.4, you should keep it at 7.3.
Title: Re: Updated PHP to 7.4 - critical error
Post by: Basara on May 12, 2020, 01:26:38 AM
Thank you, kavlito for the information provided.
php 7.4 support added in upcoming new version 1.2.16