i have this warning on my frond page banners and inside whherever i have custom text after converting to php 7.0 from 5.5 everything else is working perfectly.
website : http://www.letouch.net
Warning: htmlspecialchars(): charset `UTF-8;’ not supported, assuming utf-8 in /home/letouchadmin/public_html/system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php on line 97
Current storeLeTouch (Default)
Current themePavilion v2.0.1 /installed on 23.04.2017 16:40/
BurnEngine version1.0.6 /installed on 04.05.2016 16:16/
OpenCart version2.2.0.0
vQmod version2.5.1
MySQL server version5.6.38
PHP version7.0.27
HTTP ServerApache
-
This reply was modified 2249 days ago by jogz.
-
This reply was modified 2249 days ago by jogz.
-
This reply was modified 2249 days ago by jogz.
|
|
Hi,
Most likely you have a wrong PHP configuration that is messing one of the built-in PHP functions. The solution would be to:
1) Open system/vendor/BurnEngine/catalog/plugin/ProductPlugin.php
2) Find this code line:
$description = substr(htmlspecialchars(strip_tags(html_entity_decode($product['description'], ENT_COMPAT, 'UTF-8'))), 0, 300);
and replace it with:
$description = substr(htmlspecialchars(strip_tags(html_entity_decode($product['description'], ENT_COMPAT, 'UTF-8')), ENT_COMPAT, 'UTF-8'), 0, 300);
BR,
ThemeBurn team
|
|