Title: petee's Replies | WordPress.org

---

# petee

  [  ](https://wordpress.org/support/users/petee/)

 *   [Profile](https://wordpress.org/support/users/petee/)
 *   [Topics Started](https://wordpress.org/support/users/petee/topics/)
 *   [Replies Created](https://wordpress.org/support/users/petee/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/petee/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/petee/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/petee/engagements/)
 *   [Favorites](https://wordpress.org/support/users/petee/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Wordfence Security - Firewall, Malware Scan, and Login Security] Fatal error: Cannot redeclare geoip_country_code_by_name()](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-geoip_country_code_by_name/)
 *  [petee](https://wordpress.org/support/users/petee/)
 * (@petee)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-cannot-redeclare-geoip_country_code_by_name/#post-3741217)
 * I had the same problem and did not find any support on Wordfence. Here is my 
   solution that worked for me (but I am not sure if the problem will come back 
   after a future Wordfence update)
 * In: plugins/wordfence/lib/wfGeoIP.php on line 432
 * Start on line 432 and replace this:
 *     ```
       function geoip_country_code_by_name($gi, $name) {
         $country_id = geoip_country_id_by_name($gi,$name);
         if ($country_id !== false) {
               return $gi->GEOIP_COUNTRY_CODES[$country_id];
         }
         return false;
       }
       function geoip_country_name_by_name($gi, $name) {
         $country_id = geoip_country_id_by_name($gi,$name);
         if ($country_id !== false) {
               return $gi->GEOIP_COUNTRY_NAMES[$country_id];
         }
         return false;
       }
       ```
   
 * ************************With this:********************
 *     ```
       if (!function_exists('geoip_country_code_by_name')){
           function geoip_country_code_by_name($gi, $name) {
             $country_id = geoip_country_id_by_name($gi,$name);
             if ($country_id !== false) {
                   return $gi->GEOIP_COUNTRY_CODES[$country_id];
             }
             return false;
           }
       }
   
       if (!function_exists('geoip_country_name_by_name_v6')){
           function geoip_country_name_by_name_v6($gi, $name) {
             $country_id = geoip_country_id_by_name_v6($gi,$name);
             if ($country_id !== false) {
                   return $gi->GEOIP_COUNTRY_NAMES[$country_id];
             }
             return false;
           }
       }
   
       if (!function_exists('geoip_country_name_by_name')){
           function geoip_country_name_by_name($gi, $name) {
             $country_id = geoip_country_id_by_name($gi,$name);
             if ($country_id !== false) {
                   return $gi->GEOIP_COUNTRY_NAMES[$country_id];
             }
             return false;
           }
       }
       ```
   
 * It solved the problem for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[BackWPup – WordPress Backup & Restore Plugin] Still getting errors with 3.0.2 – can't backup](https://wordpress.org/support/topic/still-getting-errors-with-302-cant-backup/)
 *  [petee](https://wordpress.org/support/users/petee/)
 * (@petee)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/still-getting-errors-with-302-cant-backup/#post-3520853)
 * Getting Error: Signal 15 is sent to script!
    After updating to BackWPup Version
   3.0.10 Tried to switch to Tar GZip but still same error …
 * any feedback on this?
 * Thank you

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