Title: Fatal error: Call to undefined method WP_Error::init()
Last modified: August 19, 2016

---

# Fatal error: Call to undefined method WP_Error::init()

 *  [Cristescu Bogdan](https://wordpress.org/support/users/cbogdan/)
 * (@cbogdan)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorinit/)
 * After i passed to wp 2.9.1, a script from my wordpress theme doesn’t work.
    It
   is shown the folowing error:
 * Fatal error: Call to undefined method WP_Error::init() in /hermes/web09/b2379/
   moo.cristescu/wp-content/themes/Uni Ego RSS 1.0/search.php on line 17
 *  The part of the code where the error appears is:
 *     ```
       $rss = fetch_feed("$part13");
       $rss->init();
       $rss->handle_content_type();
       $maxitems = $rss->get_item_quantity();
       $rss_items = $rss->get_items(0, $maxitems);
       ```
   
 * Does anyone have an idea what is it about?

The topic ‘Fatal error: Call to undefined method WP_Error::init()’ is closed to 
new replies.

## Tags

 * [init](https://wordpress.org/support/topic-tag/init/)
 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 0 replies
 * 1 participant
 * Last reply from: [Cristescu Bogdan](https://wordpress.org/support/users/cbogdan/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/fatal-error-call-to-undefined-method-wp_errorinit/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
