Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • realtoast Friend
    #201832

    “Warning: Creating default object from empty value in /home/nubkseuk/public_html/modules/mod_feed/helper.php on line 37”

    Above is the warning I am receiving at the top of an RSS newsfeed module. I installed the latest template update, hoping this would help, but no joy.

    Oddly, on another site just completed – same template and components – I am not getting such an error.

    Any ideas?

    Thanks.

    Rob

    Eragon H Friend
    #551927

    I can’t see the warning message in your site. Is it fixed ?

    If the issue still persists, you can try to change the line 37 of file root/modules/mod_feed/helper.php

    FROM

    $feed->image->url = $rssDoc->get_image_url();

    TO

    $img_url = array('url' => $rssDoc->get_image_url());
    $feed->image = (object)$img_url;

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Eragon H 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum