Title: Sidebar error
Last modified: August 19, 2016

---

# Sidebar error

 *  [Bramble](https://wordpress.org/support/users/bramble/)
 * (@bramble)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/sidebar-error-3/)
 * Hello. So, I made a really dumb mistake. I am new to WordPress and I have 17 
   published pages on my site. I tried to get into the code of widgets.php, but 
   stupidly, I worked on the original desktop file instead of the one on my server
   and I uploaded it which replaced it. I should of downloaded widgets.php from 
   my server. I spaced out. So, now I get this error on my page:
 * **Fatal error: Call to undefined function: get_search_form() in /home/borrowde/
   public_html/iremembermovies/wp-includes/widgets.php on line 771**
 * Here is line 771 (of widgets.php):
 *     ```
       /**
        * Display search widget.
        *
        * @since 2.2.0
        *
        * @param array $args Widget arguments.
        */
       function wp_widget_search($args) {
       	extract($args);
       	echo $before_widget;
   
       	// Use current theme search form if it exists
       	get_search_form();
   
       	echo $after_widget;
       }
       ```
   
 * Am I totally screwed here? Can someone please help this idiot?
 * Thank you
 * Bramble

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

 *  Thread Starter [Bramble](https://wordpress.org/support/users/bramble/)
 * (@bramble)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/sidebar-error-3/#post-948931)
 * Line 771 is “get_search_form();”.
 * My site is: [http://iremembermovies.com](http://iremembermovies.com)
 * btw~ I was originally trying to just change the amount of “Recent Posts” my page
   shows by following this tutorial: [here](http://www.lancelhoff.com/wordpress-show-more-than-15-recent-posts/)..
   Which I’m sure would of worked great, but I was an idiot and I probably added
   a ‘blank’ file with no recent search widget options.
 * Help?
 *  Thread Starter [Bramble](https://wordpress.org/support/users/bramble/)
 * (@bramble)
 * [17 years, 3 months ago](https://wordpress.org/support/topic/sidebar-error-3/#post-949078)
 * :bump:
 * Please help!
 *  Thread Starter [Bramble](https://wordpress.org/support/users/bramble/)
 * (@bramble)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/sidebar-error-3/#post-949204)
 * Any help at all?? Please! Thanks
 *  Thread Starter [Bramble](https://wordpress.org/support/users/bramble/)
 * (@bramble)
 * [17 years, 2 months ago](https://wordpress.org/support/topic/sidebar-error-3/#post-949227)
 * Can someone please help me with this problem??
 *  Thread Starter [Bramble](https://wordpress.org/support/users/bramble/)
 * (@bramble)
 * [17 years, 1 month ago](https://wordpress.org/support/topic/sidebar-error-3/#post-949230)
 * Wow this support forum fucking blows.

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

The topic ‘Sidebar error’ is closed to new replies.

## Tags

 * [search error](https://wordpress.org/support/topic-tag/search-error/)
 * [sidebar](https://wordpress.org/support/topic-tag/sidebar/)

 * 5 replies
 * 1 participant
 * Last reply from: [Bramble](https://wordpress.org/support/users/bramble/)
 * Last activity: [17 years, 1 month ago](https://wordpress.org/support/topic/sidebar-error-3/#post-949230)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
