We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36527
    • 120 Posts
    Hi all,

    Any idea as to why I am getting this - just threw in an RSS feed call - nothing unusual:

    [[Ditto? &parents=`6` &format=`rss` &display=`20` &total=`20` &removeChunk=`Comments`]]

    6 is a container - with no content - just holds the news articles.

    And getting this:

    PHP error debug
    Error: html_entity_decode() expects parameter 1 to be string, array given
    Error type/ Nr.: Warning - 2
    File: /var/www/707/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.0047 s (6 Requests)
    PHP: 0.0492 s
    Total: 0.0539 s

    No wierd MySQL version - PHP 5 - just this oddness?

    Any ideas anyone?


    SOLVED - I called one my H1 TV’s [*pagetitle*] = this was causing the conflict with the Ditto RSS code!

    DOH!