Cannot get blog id from multisite WP 3.0

If you want to report a bug.
halinagold
Posts: 22
Joined: 11.09.2006 16:18

Cannot get blog id from multisite WP 3.0

Postby halinagold » 25.08.2010 11:43

When I try to add a new blog, which, unlike the others, is a multisite blog (as in the new WP 3.0 feature), I get this error:

Error getting Blog-Id.
Unexpected value type.
Type is 'I4' expecting 'String'

The blog is at http://halinagoldstein.com/blog

Thanks --

Halina

Johannes
BlogDesk
Posts: 553
Joined: 19.08.2005 20:29

Postby Johannes » 25.08.2010 12:13

Apparently they changed the type of a value. Can you edit the file XMLRPC.PHP that is in the root of your WordPress installation? In Line 477, you need to change

Code: Select all

‘blogid’ => $blog_id,


to

Code: Select all

‘blogid’ => (string)$blog_id,


That should help.

halinagold
Posts: 22
Joined: 11.09.2006 16:18

Postby halinagold » 25.08.2010 12:27

Thanks Johannes

I'm sure I could change it but I really don't want to mess with WP code and have to update it when I upgrade etc.
Is there any chance that you do the necessary change in BlogDesk instead?

I'd really appreciate that. I've been using BlogDesk for years now and would like to continue doing so.

Best wishes

Halina

Johannes
BlogDesk
Posts: 553
Joined: 19.08.2005 20:29

Postby Johannes » 25.08.2010 12:41

Contact me directly using the contact page.


Return to “Bugs & Problems”