Title: PHP error with Store Locator plugin
Last modified: August 31, 2016

---

# PHP error with Store Locator plugin

 *  Resolved [rsantos](https://wordpress.org/support/users/rsantos/)
 * (@rsantos)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-with-store-locator-plugin-1/)
 * Hello WP community!
 * Help!
 * I am brand new to WP coming from a Drupal background. I just started my new role
   as a web developer coming from a Drupal heavy environment to a WordPress environment
   and right off the bat one of our WP sites is causing errors and I have no clue
   where to begin.
 * The website was working perfectly fine this whole week then this morning the 
   following errors display at the top of every page:
 * >  Warning: mysql_real_escape_string(): No such file or directory in **/home/
   > orangenaturals/orangenaturals.com/wp-content/plugins/store-locator/sl-functions.
   > php on line 377**
   > Warning: mysql_real_escape_string(): A link to the server could not be established
   > in **/home/orangenaturals/orangenaturals.com/wp-content/plugins/store-locator/
   > sl-functions.php on line 377**
   > Warning: mysql_real_escape_string(): No such file or directory in **/home/orangenaturals/
   > orangenaturals.com/wp-content/plugins/store-locator/sl-functions.php on line
   > 377**
   > Warning: mysql_real_escape_string(): A link to the server could not be established
   > in **/home/orangenaturals/orangenaturals.com/wp-content/plugins/store-locator/
   > sl-functions.php on line 377**
 * Does WordPress automatically do updates? Could the update have affected the plugin?
 * Any help is greatly appreciated.
 * [https://wordpress.org/plugins/store-locator/](https://wordpress.org/plugins/store-locator/)

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

 *  Thread Starter [rsantos](https://wordpress.org/support/users/rsantos/)
 * (@rsantos)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-with-store-locator-plugin-1/#post-7246152)
 * One thing i forgot to note is that i did check the directory of
 * /home/orangenaturals/orangenaturals.com/wp-content/plugins/store-locator/sl-functions.
   php
 * and sl-functions.php does indeed exist. So i’m not sure why it’s saying that 
   the file doesn’t exist.
 * Also the version of Store Locator that I have is version 2.16
 *  Plugin Author [Viadat](https://wordpress.org/support/users/viadat/)
 * (@viadat)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-with-store-locator-plugin-1/#post-7246360)
 * [@rsantos](https://wordpress.org/support/users/rsantos/) .. welcome to WP ..
   –
   secondly please make contact via our site for further troubleshooting .. – lastly,
   updating your Store Locator to latest version could possibly help. v2.16 is at
   least over 2 yrs old.

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

The topic ‘PHP error with Store Locator plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/store-locator_343c21.svg)
 * [Store Locator for WordPress with Google Maps – LotsOfLocales](https://wordpress.org/plugins/store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/store-locator/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 2 replies
 * 2 participants
 * Last reply from: [Viadat](https://wordpress.org/support/users/viadat/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/php-error-with-store-locator-plugin-1/#post-7246360)
 * Status: resolved