{SOLVED} Warning: htmlspecialchars() expects parameter 1

General questions relating to Joomla! 1.5 There are other boards for more specific help on Joomla! features and extensions.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Joomla! Explorer
Joomla! Explorer
Posts: 376
Joined: Sat Nov 10, 2007 6:09 am

{SOLVED} Warning: htmlspecialchars() expects parameter 1

Postby joomajoom » Mon Mar 03, 2008 2:29 am

Hi All,

Very strange error I am getting on an offline site:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/xxxxxx/public_html/libraries/joomla/document/html/renderer/head.php on line 65

I did not change anything inthe head.php file.

In fact, I logged off from working on the site last night and then came back just now to see this error on the offline page. It wasn't there last night.

Any ideas what's causing it?


EDIT: I published the site and the error is also on the live site. Check it out here
[live link deleted]

*Also, I've noticed the error shows on the frontpage, but not on the others.

EDIT 2: OK so I've fiddled more and this is a very odd error:
I am using SEF Patch 1.5 from Joomlatwork.com and in the Article Parameters > Metadata Information > HTML Title, you can not put ANY non letter characters in that area. IE | & etc.

Hope that bug can be fixed.

Hopefully this helps anyone out there who runs into the same issue.

Return to “General Questions/New to Joomla! 1.5”

Who is online

Users browsing this forum: No registered users and 13 guests