Quote from: baibhav at Jun 04, 2009, 01:30 AM
« MODx Parse Error »
MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: html_entity_decode() expects parameter 1 to be string, array given
Error type/ Nr.: Warning - 2
File: /home/webapps/deerwalk/releases/v4/assets/snippets/ditto/formats/rss.format.inc.php
Line: 96
Line 96 source: return htmlspecialchars(html_entity_decode($resource['pagetitle'], ENT_QUOTES));
Parser timing
MySQL: 0.0037 s (8 Requests)
PHP: 0.0435 s
Total: 0.0472 s
I’ve this error error when I try to open the Rss feed.xml file online directly.
Well, this is obviously the problem, I have the same code in rss.format.inc.php and it’s working for me so there must be something different in the way things are set up.
How exactly are you calling ditto? Can you copy that code here?
Do you have page titles set on the pages?