Title: [Plugin: Testimonials Widget] PHP warning
Last modified: August 20, 2016

---

# [Plugin: Testimonials Widget] PHP warning

 *  Resolved [Seemap](https://wordpress.org/support/users/seemap/)
 * (@seemap)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-php-warning/)
 * First of all let me say, this is a brilliant plugin, I have no problems with 
   it on normal posts / pages. However I have a custom post type which makes a call
   to a non-WP database and I am getting the following errors from the testimonial
   widget, which appears after this content:
 * > Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: Access
   > denied for user ‘gianlucar’@’localhost’ (using password: NO) in […]/wp-content/
   > plugins/testimonials-widget/testimonials-widget.php on line 67
 * > Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: A 
   > link to the server could not be established in […]/wp-content/plugins/testimonials-
   > widget/testimonials-widget.php on line 67
 * According to various online sources it has something to do with a database call
   not being made (correctly), but I don’t understand enough about PHP to debug.
   And I have no idea who gianlucar’@’localhost is either! Do you have any advice
   as to what could be causing this or what I would need to do to fix it?
 * Many thanks in advance for any pointers you can provide.
 * [http://wordpress.org/extend/plugins/testimonials-widget/](http://wordpress.org/extend/plugins/testimonials-widget/)

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

 *  Plugin Contributor [Michael Cannon](https://wordpress.org/support/users/comprock/)
 * (@comprock)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-php-warning/#post-3035678)
 * Thank you for letting me know about this. A fix is coming in release 0.2.14 shortly.
 *  Thread Starter [Seemap](https://wordpress.org/support/users/seemap/)
 * (@seemap)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-php-warning/#post-3035693)
 * Really? That’s great 🙂 Thank you for the fast response. I will look out for 
   the update and report back.
 *  Thread Starter [Seemap](https://wordpress.org/support/users/seemap/)
 * (@seemap)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-php-warning/#post-3035771)
 * 0.2.14 now working perfectly on all post types. Thank you very much!

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

The topic ‘[Plugin: Testimonials Widget] PHP warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/testimonials-widget_c56561.svg)
 * [Testimonials Widget](https://wordpress.org/plugins/testimonials-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/testimonials-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/testimonials-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/testimonials-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/testimonials-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/testimonials-widget/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Seemap](https://wordpress.org/support/users/seemap/)
 * Last activity: [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-testimonials-widget-php-warning/#post-3035771)
 * Status: resolved