Title: Error When Adding Listing
Last modified: August 24, 2016

---

# Error When Adding Listing

 *  Resolved [mrtechnique](https://wordpress.org/support/users/mrtechnique/)
 * (@mrtechnique)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-when-adding-listing/)
 * I’m using the directory on [http://www.fightaholic.com](http://www.fightaholic.com),
   and I’m getting the following error when adding a listing:
 * Notice: like_escape is deprecated since version 4.0! Use wpdb::esc_like() instead.
   in /home/indestructible/www/www/wp-includes/functions.php on line 3378
 * Notice: like_escape is deprecated since version 4.0! Use wpdb::esc_like() instead.
   in /home/indestructible/www/www/wp-includes/functions.php on line 3378
 * Notice: like_escape is deprecated since version 4.0! Use wpdb::esc_like() instead.
   in /home/indestructible/www/www/wp-includes/functions.php on line 3378
 * Notice: like_escape is deprecated since version 4.0! Use wpdb::esc_like() instead.
   in /home/indestructible/www/www/wp-includes/functions.php on line 3378
 * Notice: like_escape is deprecated since version 4.0! Use wpdb::esc_like() instead.
   in /home/indestructible/www/www/wp-includes/functions.php on line 3378
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/indestructible/www/www/wp-includes/functions.php:3378) in /home/indestructible/
   www/www/wp-includes/pluggable.php on line 1178
 * The listing is still added, but I prefer not to have this error. Can you advise?
 * [https://wordpress.org/plugins/connections/](https://wordpress.org/plugins/connections/)

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

 *  Plugin Author [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-when-adding-listing/#post-6049451)
 * **@ mrtechnique**
 * Your server is setup to display PHP warning and notices. It is best practice 
   to either disable such messages or log them to a file that is not web accessible
   on production servers. Basically if you’re not developing a site, the messages
   should be off. The like_esc message message you’re seeing is for developers, 
   letting us know that the function has been deprecated and we should **plan on**
   removing its use. Right now I need to maintain compatibility with WordPress 3.8
   and newer so that function can not be removed since the function that replaced
   it is not available until WordPress 4.0 (or was it 4.1).
 * See this page on how to disable these messages:
 * [http://aristeides.com/blog/wp-hide-php-errors/](http://aristeides.com/blog/wp-hide-php-errors/)
 * That should fix it right up. Let me know.
 *  Thread Starter [mrtechnique](https://wordpress.org/support/users/mrtechnique/)
 * (@mrtechnique)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/error-when-adding-listing/#post-6049455)
 * I forgot to turn the debugging off. Everything works fine. Thanks a bunch!

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

The topic ‘Error When Adding Listing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/connections_2b7e99.svg)
 * [Connections Business Directory](https://wordpress.org/plugins/connections/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/connections/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/connections/)
 * [Active Topics](https://wordpress.org/support/plugin/connections/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connections/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connections/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [mrtechnique](https://wordpress.org/support/users/mrtechnique/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/error-when-adding-listing/#post-6049455)
 * Status: resolved