Title: class-xmlrpc.php error with plugin
Last modified: August 18, 2016

---

# class-xmlrpc.php error with plugin

 *  [holographic](https://wordpress.org/support/users/holographic/)
 * (@holographic)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/class-xmlrpcphp-error-with-plugin/)
 * I’m currently trying to get the LJautoupdate hack (found [here](http://weblogtoolscollection.com/b2-img/ljautoupdate.txt))
   to work as a plugin, for no real reason other than I’m too lazy to hack my files
   again right now.
 * anyway, all I’ve done is put the ljautoupdate function into the plugin file, 
   add global $content, $post_title; to it, and added
 * add_action(‘publish_post’, ‘ljautoupdate’);
 * so, I uploaded and activated the plugin (to my testblog which is running 1.2.1,
   since I hardly use it and haven’t bothered upgrading yet)
    Posted a test post,
   which showed up on the blog but not on LJ. Checking my error log brings up this:
 * `PHP Fatal error: Call to a member function on a non-object in /path/to/wp-includes/
   class-xmlrpc.php on line 637`
 * any ideas what this means, and whether it’s fixable?

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [tsukata](https://wordpress.org/support/users/tsukata/)
 * (@tsukata)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/class-xmlrpcphp-error-with-plugin/#post-128702)
 * Did you get the class-xmlrpc file referenced on the site:
 * [http://weblogtoolscollection.com/archives/2004/05/21/livejournal-autoupdate-for-wordpress-12/](http://weblogtoolscollection.com/archives/2004/05/21/livejournal-autoupdate-for-wordpress-12/)
 * ?
 *  Thread Starter [holographic](https://wordpress.org/support/users/holographic/)
 * (@holographic)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/class-xmlrpcphp-error-with-plugin/#post-128715)
 * *smacks head*
 * no, I did not….
 * thanks for pointing that out 🙂 I feel silly now
 *  Thread Starter [holographic](https://wordpress.org/support/users/holographic/)
 * (@holographic)
 * [21 years, 4 months ago](https://wordpress.org/support/topic/class-xmlrpcphp-error-with-plugin/#post-128718)
 * on second thoughts, it still gives the same error even with that version of the
   file. I’ve deleted the file over ftp and reuploaded, in case it was that, but
   still no luck 🙁
 *  [jkoebel](https://wordpress.org/support/users/jkoebel/)
 * (@jkoebel)
 * [21 years ago](https://wordpress.org/support/topic/class-xmlrpcphp-error-with-plugin/#post-129007)
 * Man, and I thought I was gonna be cool by making one of those.
 * Does your LJ auto-update plugin let you tick off updating? i.e. disable it for
   specific posts?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘class-xmlrpc.php error with plugin’ is closed to new replies.

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [jkoebel](https://wordpress.org/support/users/jkoebel/)
 * Last activity: [21 years ago](https://wordpress.org/support/topic/class-xmlrpcphp-error-with-plugin/#post-129007)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
