Testimonials Widget
[resolved] PHP warning (4 posts)

  1. Seemap
    Posted 3 years ago #

    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.


  2. Michael Cannon
    Plugin Author

    Posted 3 years ago #

    Thank you for letting me know about this. A fix is coming in release 0.2.14 shortly.

  3. Seemap
    Posted 3 years ago #

    Really? That's great :) Thank you for the fast response. I will look out for the update and report back.

  4. Seemap
    Posted 3 years ago #

    0.2.14 now working perfectly on all post types. Thank you very much!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Testimonials Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic