I'm having trouble importing a WordPress version 2.8.4 into uBlogsy in Umbraco 4.7.1. I provide a URL (example.com/blog/?feed=rss) and get the following error:
Object reference not set to an instance of an object
Line 36: <% if (Comments.Count > 0)
Line 37: { %>
Line 38: <h1>
Importing RSS errors on comments?
I'm having trouble importing a WordPress version 2.8.4 into uBlogsy in Umbraco 4.7.1. I provide a URL (example.com/blog/?feed=rss) and get the following error:
Object reference not set to an instance of an object
Line 36: <% if (Comments.Count > 0)
Line 37: { %>
Line 38: <h1>
Source File: \wwwroot\usercontrols\uBlogsy\dashboard\admin.ascx Line: 36
Any advice? I'm not sure if the outdated version of WordPress is a problem, but I had trouble updating the version. Thanks in advance!
Which version of ublogsy are you using?
Also, what is the actual rss feed url you're importing?
uBlogsy v2.0.0.1
http://www.cyberstreams.com/blog/?feed=rss
In the /usercontrols/ublogsy/dashboard/admin.ascx
Try repalcing
if (Comments.Count > 0)
with
if (Comments != null && Comments.Count > 0)
Thanks, but after making that update, there is another error further down:
Object reference not set to an instance of an object.
foreach ( var c in Comments)
Hi
Sorry about that. I just realised that fix wouldnt work.
I'll have to make it in the code behind.
I noticed that the rss feed you're importing doesnt have a date for each item.
This will still be impoted. Just thought I'd flag it with you as dates are helpful :)
Hey Anthony
Any word on this? I'm running into the same issue on a different site as well. Thank you!
Do you know why the date wouldn't be saved in the feed? They are present on the front-end on the actual post.
The fix is in the newest version. Will be released in the next few weeks.
In the mean time you could try using cms import.
I don't want to buy CMSImport to do this.
What's the status on this.. I need this like yesterday.. thanks!
It looks as though v2.1 was uploaded a couple days ago. I haven't had a chance to test it out, but is that the version you're using Daniel?
Nevermind... i thought that upload date meant it was a new version.
is working on a reply...