alexlg12 Posted November 28, 2020 Share Posted November 28, 2020 (edited) Hi, I have a mini online shop with the latest prestashop version, when enter on category(www.site.com/category) I get some errors: Quote [27-Nov-2020 23:40:10 Europe/Bucharest] PHP Warning: strip_tags() expects parameter 1 to be string, array given in /home/fitolide/public_html/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/ab/3d/3e/ab3d3e4c9c2fa4db156bcfab81af1f911ef42892_2.file.products.tpl.php on line 330 [27-Nov-2020 23:40:10 Europe/Bucharest] PHP Warning: strip_tags() expects parameter 1 to be string, array given in /home/fitolide/public_html/var/cache/prod/smarty/compile/layouts_layout_left_column_tpl/ab/3d/3e/ab3d3e4c9c2fa4db156bcfab81af1f911ef42892_2.file.products.tpl.php on line 330 Edited November 28, 2020 by alexlg12 (see edit history) Link to comment Share on other sites More sharing options...
WEBMADE Posted December 4, 2020 Share Posted December 4, 2020 Hi, i have the same error: PHP Warning: strip_tags() expects parameter 1 to be string.... I found this line in my template: <div class="manufacturer"><a href="{url entity='manufacturer' id=$product.id_manufacturer }">{$product.manufacturer_name|strip_tags:'UTF-8'|escape:'html':'UTF-8'}</a></div> nobody knows how it should be fixed? Link to comment Share on other sites More sharing options...
ClassyDevs Posted December 7, 2020 Share Posted December 7, 2020 (edited) Hello, alexlg12 Can you post what is php version and also the PrestaShop version you are using. then i will try to suggest you what modification need to resolve. Thank you Edited December 7, 2020 by ClassyDevs (see edit history) Link to comment Share on other sites More sharing options...
WEBMADE Posted December 7, 2020 Share Posted December 7, 2020 (edited) Hi! if it helps I have version 1.7.6.0 of prestashop; I tried to change the PHP version from 7.0, 7.1, then 7.2 and finally 7.3 but the error is always there, also with version 7.0 and 7.1 I only have the strip_tags error, with the other major the errors increase : Quote 07-Dec-2020 09:53:46 Europe / Rome] PHP Warning: strip_tags () expects parameter 1 to be string, array given in / public_html / var / cache / prod / smarty / compile / layouts_layout_left_column_tpl / e4 / a6 / e4 /e4a6e4da19d223aa3b6bdbb3d5cf6724c397cddb_2.file.products.tpl.php on line 298 [07-Dec-2020 09:53:46 Europe / Rome] PHP Warning: count (): Parameter must be an array or an object that implements Countable in / public_html / var / cache / prod / smarty / compile / 4a / d7 /88/4ad78810e4bbafe830ada45935ec22a58a70bfe2_2.file.blockwishlist_button.tpl.php on line 24 Edited December 7, 2020 by WEBMADE (see edit history) Link to comment Share on other sites More sharing options...
luiz_csilva Posted June 18, 2021 Share Posted June 18, 2021 hello, did you solve the problem? I'm facing the same situation Link to comment Share on other sites More sharing options...
alexlg12 Posted June 19, 2021 Author Share Posted June 19, 2021 19 hours ago, luiz_csilva said: hello, did you solve the problem? I'm facing the same situation I have contacted the theme creator and he solve it. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now