Title: Fatal Error Message
Last modified: August 19, 2016

---

# Fatal Error Message

 *  Resolved [vaneats1](https://wordpress.org/support/users/vaneats1/)
 * (@vaneats1)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-message-18/)
 * Hello everyone, could I kindly ask for some help as a new WP user
 * I was looking for intstructions to install WP-PostRatings as the “loading…” button
   just hangs after rating submission.
 * Came across this answer:
 * [http://forums.lesterchan.net/index.php/topic,3198.0.html](http://forums.lesterchan.net/index.php/topic,3198.0.html)
 * Thus I place the following coding in my functions.php
 * function get_site_url(){
    $domain = $_SERVER[‘SERVER_NAME’]; $domain = str_replace(‘
   www.’, ”, $domain); $site_url = ‘[http://&#8217](http://&#8217); . $domain; return
   $site_url; }
 * After updating this, I can’t do anything =( Getting this error message:
 * Fatal error: Cannot redeclare get_site_url() (previously declared in /home/vaneats1/
   public_html/wp-includes/link-template.php:1909) in /home/vaneats1/public_html/
   wp-content/themes/eco/functions.php on line 23
 * Totally bummed out, could anyone provide me with some advice? Thank you for your
   time and consideration!

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

 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [15 years, 11 months ago](https://wordpress.org/support/topic/fatal-error-message-18/#post-1628879)
 * Take the code back out for starters.
 * Is the WordPress automatic installer hanging or is it something else? If it’s
   the auto-installer, just install it manually.
 *  [indiaandroid](https://wordpress.org/support/users/indiaandroid/)
 * (@indiaandroid)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-message-18/#post-1629175)
 * were you able to solve this issue iam stuck up with the issue and the site does
   not load again how did you solve this? Any help is really appreciated
 *  [indiaandroid](https://wordpress.org/support/users/indiaandroid/)
 * (@indiaandroid)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-message-18/#post-1629176)
 * got it resolved downloaded the functions.php file present in the themes folder
   using a FTP client and removed the function get_site_url(){and uploaded the file
   back to server and it worked….

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

The topic ‘Fatal Error Message’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 3 replies
 * 3 participants
 * Last reply from: [indiaandroid](https://wordpress.org/support/users/indiaandroid/)
 * Last activity: [15 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-message-18/#post-1629176)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
