WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Error in class-IXR.php (5 posts)

  1. Aerik
    Member
    Posted 8 years ago #

    I appologize if this has been discussed before, but I could not find any reference to it...

    I have just upgraded to version 2.0.1 and everything seems to be working perfectly except for one small problem. When I attempt to post an entry, or save an edited entry, I get the following error:

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/blog/wp-includes/class-IXR.php:497) in /var/www/html/blog/wp-admin/post.php on line 122

    I have taken a look at line 497 in class-IXR.php and the actual line, and function call is exactly the same in 2.0.1 as it was in the previous version.

    This is the section that is apparently having the problem in function query():

    if ($this->debug) {
    echo '<pre>'.htmlspecialchars($request)."\n</pre>\n\n";
    }

    .. which makes me think that I am somehow in debug mode, but I don't recall setting it?

    I am tempted to just replace the new class-IXR.php with my old one, but am not sure how that will effect the rest of the blog. Or if it will even matter since the function call appears to be the same.

    As I said, everthing else appears to work fine. The posts even actually get posted, but I am left with a page of XML data and an error instead of being returned to the admin page.

    Anyone else seen anything like this?

  2. Aerik
    Member
    Posted 8 years ago #

    .. it appears to be plugin related actually. (which of course I only found out AFTER I posted the support question) When I disable the LivePress plugin it works fine. So now I have to find out what to change there instead.

  3. bob58
    Member
    Posted 8 years ago #

    class-IXR.php didn't change from 2.0 to 2.0.1.

    post.php didn't change in that part either ...

  4. Aerik
    Member
    Posted 8 years ago #

    It was an issue with LivePress as I had figured out. It was sending a debug call that was futzing with the XML

  5. wsmacsl
    Member
    Posted 8 years ago #

    hi, i had this problem too, the work round i found is

    goto admin panel

    Options > Writing

    and remove the link under "update Services"

    tell me if that works

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.