Make WordPress Core

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#12155 closed defect (bug) (fixed)

xmlrpc error

Reported by: zachware's profile zachware Owned by: josephscott's profile josephscott
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: XML-RPC Keywords:
Focuses: Cc:

Description

I'm running the latest nightly of Wordpress 3.0. Since moving to the multi-site setup I've been unable add blogs to the iPhone app.

The iPhone app returns "500 internal server error." If I pass the wrong password it gives the wrong password feedback so it is authenticating.

-Centos env
-PHP5
-WP Nightly (updated at 5pm PT)
-Latest iPhone app
-Multi-site setup (non virtual domain i.e. zgware.com/etc

In the php logs I get this:
[06-Feb-2010 18:10:53] PHP Fatal error: Call to undefined function _multisite_getUsersBlogs() in /var/www/vhosts/zgware.com/httpdocs/xmlrpc.php on line 1551

Sure, this an iPhone issue but also a problem with the multiuser calls.

Change History (5)

#1 @nacin
15 years ago

The function definitely exists, at line 1581 (in trunk, r13001), and has for about 10 days so it should be in the nightly.

Can you check your xmlrpc.php file?

#2 follow-ups: @josephscott
15 years ago

It's being called wrong:

return _multisite_getUsersBlogs($args);

Should be

return $this->_multisite_getUsersBlogs($args);

The error is right in that there is no function by that name. There is a class method by that name though.

#3 @wpmuguru
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [13004]) Call class function in xmlrpc.php, fixes #12155

#4 in reply to: ↑ 2 @nacin
15 years ago

Replying to josephscott:

The error is right in that there is no function by that name. There is a class method by that name though.

Nice catch, I missed that.

#5 in reply to: ↑ 2 @wpmuguru
15 years ago

Replying to josephscott:

It's being called wrong:

return _multisite_getUsersBlogs($args);

Should be

return $this->_multisite_getUsersBlogs($args);

The error is right in that there is no function by that name. There is a class method by that name though.

Sorry, I forgot the props on the checkin :/

Note: See TracTickets for help on using tickets.