Guest Rob Hilken Posted June 10, 2010 Share Posted June 10, 2010 HIya, I am getting a weird error on a few items in my shop - this message appears in the <title> of the pages "Warning: htmlentities() expects parameter 2 to be long, string given in /home/teeandto/public_html/shop/admin/sources/products/index.inc.php on line 949" Can anyone shed any light on what is going on? It only appears on 5 of my products as you can see from this google search http://www.google.co.uk/search?q=Warning:+...al&filter=0 But I can't see what the problem is or why it would only affect certain products Thanks for any help or advice anyone can give me! Rob Quote Link to comment Share on other sites More sharing options...
Robsta Posted June 11, 2010 Share Posted June 11, 2010 There is a bug reported, and a fix available, have a search... alternatively upgrade to the latest release. Quote Link to comment Share on other sites More sharing options...
Guest Rob Hilken Posted June 12, 2010 Share Posted June 12, 2010 There is a bug reported, and a fix available, have a search... alternatively upgrade to the latest release. I have upgraded to the latest version (4.4.1) and the bug still remains - http://shop.teeandtoast.com/index.php?_a=v...p;productId=133 Any ideas how I can fix this? Quote Link to comment Share on other sites More sharing options...
Robsta Posted June 12, 2010 Share Posted June 12, 2010 Have you cleared your stores SQL cache? Quote Link to comment Share on other sites More sharing options...
vokf Posted June 12, 2010 Share Posted June 12, 2010 As this appears to only effect 1 product (?), and you have cleared the cache. I would suggest re-editing the product, and checking if the actual product title is "corrupt". The line reported in the page title (line 949) does NOT contain the htmlentities on my 4.4.1 demo of CC4. The htmlentities function is called on line 946. It sounds like the product meta title was corrupted from a software error, and not seen during product editing, and so this is now part of the product database. Re-editing the product should fix this. If it does not, I would recommend re-entering the meta title (as opposed to copy&paste), and also ensuring it only contains plain text. Regards, Jason Quote Link to comment Share on other sites More sharing options...
Guest Rob Hilken Posted June 12, 2010 Share Posted June 12, 2010 Thanks! That fixed it :) Quote Link to comment Share on other sites More sharing options...
vokf Posted June 12, 2010 Share Posted June 12, 2010 Thanks! That fixed it Great!! Nice store you've got there!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.