OpenCart is an opensource ecommerce CMS. When dealing with OpenCart, you may encounter the error below
Warning: html_entity_decode(): charset `UTF-8;' not supported, assuming utf-8 in /home/givehydr/preddime.com/catalog/controller/extension/module/ocslideshow.php on line 31
Normally, a warning like this one can be safely ignored by turning off error display in Multi PHP INI Editor in cPanel.
But this move does not resolve the error.
Other solutons that don’t resolve the error are:
- Turning off display errors in OpenCart index.php file
- Turning off Error dosplay n .htaccess file
- Changing the php version to a higher or lower onne
Solution #
The solution to this error lies in the syntax of the web server directive in .htaccess file, php.ini or user.ini. To resolve, access your document root and open the .htaccess file. Look for the line below
php_value default_charset "UTF-8;"
and remove the ‘;’ symbol at the end of UTF-8 so that the new line looks like below
php_value default_charset "UTF-8"