Title: problems with XMLRPC interface
Last modified: August 18, 2016

---

# problems with XMLRPC interface

 *  [vires](https://wordpress.org/support/users/vires/)
 * (@vires)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/)
 * i tried both blogbuddy and w.bloggar software
    and neither of them will set the
   category right. i tried <category>General</category> and <category>2</category
   > and it always ends up with the default category….any ideas?

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/page/2/?output_format=md)

 *  Thread Starter [vires](https://wordpress.org/support/users/vires/)
 * (@vires)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76106)
 * hmm..anyone not experiencing the same problem?….cuz i really need help
 *  [carthik](https://wordpress.org/support/users/carthik/)
 * (@carthik)
 * [21 years, 9 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76150)
 * I use Sauce Reader, which is a feedreader+blog editor. It works real smooth, 
   and unlike the others, lets you assign multiple cats, too.
 *  [schinckel](https://wordpress.org/support/users/schinckel/)
 * (@schinckel)
 * [21 years ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76793)
 * I am having a similar problem. I am hosted on blogsome, which uses WordPress 
   Mu (1.5.1 alpha).
 * When I post using the web dashboard, no hassles.
 * If I post using ecto or MarsEdit (XMLRPC), the category I choose is selected,
   but so is the default category. Every time.
 *  [dannyngan](https://wordpress.org/support/users/dannyngan/)
 * (@dannyngan)
 * [21 years ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76796)
 * I’ve noticed that this is still happening with the release version of 1.5.1 and
   ecto 2.3.2. Is this a WP thing or is it an issue with ecto interfacing with WP?
 *  [dannyngan](https://wordpress.org/support/users/dannyngan/)
 * (@dannyngan)
 * [21 years ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76797)
 * I compared the xmlrpc from 1.5 with the one from 1.5.1, and I think I found the
   culprit. In the 1.5.1 version, the else statement that begins at line 583 seems
   to be the problem
 * `else {
    $post_category[] = 1; }
 * I commented that part out and the default category is no longer added when I 
   post with ecto.
 *  [indigojo_uk](https://wordpress.org/support/users/indigojo_uk/)
 * (@indigojo_uk)
 * [21 years ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76800)
 * Re dannyngan – In fact, in WordPress “General”, i.e. “Uncategorized” is the default
   category. Anything without a category will automatically go into General / Uncategorized,
   which makes this else block unnecessary. I wonder if anyone has bug-reported 
   it?
 *  [luhmann](https://wordpress.org/support/users/luhmann/)
 * (@luhmann)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76801)
 * Note: You need to comment it out twice. Otherwise it will appear when you update
   an existing entry!
 * Thanks for figuring this out!
 *  [luhmann](https://wordpress.org/support/users/luhmann/)
 * (@luhmann)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76802)
 * How do you report a bug? Or find out if it has been reported?
 *  [MaxT](https://wordpress.org/support/users/maxt/)
 * (@maxt)
 * [20 years, 12 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76803)
 * [http://mosquito.wordpress.org/main_page.php](http://mosquito.wordpress.org/main_page.php)
 *  [kerimfriedman](https://wordpress.org/support/users/kerimfriedman/)
 * (@kerimfriedman)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76804)
 * It has been reported:
 * [http://mosquito.wordpress.org/view.php?id=1355](http://mosquito.wordpress.org/view.php?id=1355)
 *  [paul](https://wordpress.org/support/users/paul/)
 * (@paul)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76805)
 * is this resolved to anyone’s satisfaction? I’m not sure just commenting out those
   else blocks at line 530 and 583 are doing it. Posts and re-posts are very slow:
   they actually seem to timeout in ecto. the changes do stick but ecto just spins.
 *  [paul](https://wordpress.org/support/users/paul/)
 * (@paul)
 * [20 years, 11 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76806)
 * This is what I have ended up with: I leave the first block (starting at 530) 
   alone and just change the one starting at 583:
 * `
    583 } else { 584 if (!($post_category)) { 585 $post_category[] = 1; 586 } 
   587 }
 * That seems to make re-posting or updating work as it should (ie, quickly).
 * and I just tested it with a new posting: seems to work there too.
 *  [funkatron](https://wordpress.org/support/users/funkatron/)
 * (@funkatron)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76812)
 * Bump.
 * Any plans on slipping a solution to this easy-to-fix bug into an official release
   anytime soon? We’ve seen at least one release today without it.
 *  [hongpong](https://wordpress.org/support/users/hongpong/)
 * (@hongpong)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76813)
 * There was a security update that I think shifted around the line numbers. I can
   confirm that this little patch seems to work all right, but it is now located
   around line 622 as so:
    `622 } else { 623 if (!($post_category)) { 624 $post_category[]
   = 1; 625 } 626 }
 *  [Guntis](https://wordpress.org/support/users/guntis/)
 * (@guntis)
 * [20 years, 10 months ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/#post-76814)
 * Just downloaded wordpress-1.5.1.3 and I cannot find these lines…
    Now in both
   instances (lines 559-567 and 617-625) this code looks like this:
 * $post_category = array();
 * if (is_array($catnames)) {
    foreach ($catnames as $cat) { $post_category[] = 
   get_cat_ID($cat); } } else if ( !empty($catnames) ) { $post_category = array(
   get_cat_ID($catnames)); }
 * I have the same old problem: when posting feeds from ecto, WordPress is replacing
   correct categories these feeds belong to and saves all feeds as the default category…

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/page/2/?output_format=md)

The topic ‘problems with XMLRPC interface’ is closed to new replies.

## Tags

 * [xmlrpc](https://wordpress.org/support/topic-tag/xmlrpc/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 14 participants
 * Last reply from: [encrml](https://wordpress.org/support/users/encrml/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/problems-with-xmlrpc-interface/page/2/#post-76839)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
