Poom Posted August 16, 2005 Share Posted August 16, 2005 Hi Guys, When I progress through my order to checkout_confirmation.php I get the below error: Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/psa/home/vhosts/thecdrstore.34sp.com/httpsdocs/catalog/includes/functions/general.php on line 42 Warning: htmlspecialchars() expects parameter 1 to be string, array given in /usr/local/psa/home/vhosts/thecdrstore.34sp.com/httpsdocs/catalog/includes/functions/general.php on line 42 I have not updated anything and it does it with every payment and delivery method! What can this be? Thanks Link to comment Share on other sites More sharing options...
Poom Posted August 16, 2005 Author Share Posted August 16, 2005 This is only when I am logged in! If I use the "Order without registering mod" it works fine! Link to comment Share on other sites More sharing options...
Poom Posted August 16, 2005 Author Share Posted August 16, 2005 Have just tried a backup of general.php but still no luck :( The code on that line is: return htmlspecialchars($string); } else { if ($translate == false) { return tep_parse_input_field_data($string, array('"' => '"')); } else { return tep_parse_input_field_data($string, $translate); } } } Link to comment Share on other sites More sharing options...
chicane Posted August 16, 2005 Share Posted August 16, 2005 $string is not a string, what is the value of this variable? what data does it hold? these are things you need to look into Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.