You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After upgrading our sites to v4.4 of Wordpress, our application that uses JoeBlogs dll is failing with the following error:
response contains int value where string expected [response : array mapped to type XmlRpcCategory[] : element 0 : struct mapped to type XmlRpcCategory : member categoryId mapped to type String]
This occurs when trying to get the list of categories available on a site using following:
IEnumerable wpcats = wp.GetCategories();
Any thoughts on fixing this would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
wordpress use to return the ID as a string, now its returned as an int. Same with parentId.
The XmlRpcCategory needs the types changed for those... Should look like this:
public struct XmlRpcCategory
{
public int categoryId;
public int parentId;
public string categoryDescription;
public string categoryName;
public string title;
public string htmlUrl;
public string rssUrl;
}
notice description is now categoryDescription also...
After upgrading our sites to v4.4 of Wordpress, our application that uses JoeBlogs dll is failing with the following error:
This occurs when trying to get the list of categories available on a site using following:
Any thoughts on fixing this would be greatly appreciated.
The text was updated successfully, but these errors were encountered: