PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Warning:mysql_real_escape_string() expects parameter 1 to be string, array given

  1. Hi im using Wordpress 3.4.2

    WHY this warning appear in my page after submit content?

    Warning: mysql_real_escape_string() expects parameter 1 to be string, array given in /home/xxxxxxxx/public_html/wp-includes/wp-db.php on line 789

    My form is http://www.webresepi.com/tulis-resepi

    MY PLUGIN LIST

    • 1. Akismet
    • 2. Gravity Forms
    • 3. User Role Editor
    • 4. WP-Optimize
    • 5. WP Super Cache

    THEMES: Thesis 1.8.5

    Other Info: My User Role Editor Setting For Author

    Posted 12 years ago on Friday November 23, 2012 | Permalink
  2. Igneus
    Member

    Have you tried to de-activate any of your other plugins to see if there's a conflict? Make a test form and submit it to see if the error occurs there as well.

    Posted 12 years ago on Friday November 23, 2012 | Permalink
  3. David Peralty

    Can I please have you try the following steps to see if there is a plugin/theme conflict that we can isolate?

    http://www.gravityhelp.com/documentation/page/Testing_for_a_Theme/Plugin_Conflict

    Posted 12 years ago on Friday November 23, 2012 | Permalink
  4. Hi David,

    I Have thats all, but still same (this warning still appear):

    1. i have try Fully uninstall wp super cache and delete all Plugin (So only gravity Forms

    = After test, still appear

    2. After i try to active Twenty Ten Themes Whit Gravity Forms only

    = After test still same

    3. im try to reset my WP database (http://wpmu.org/daily-tip-reset-your-wordpress-database-with-one-click/) , then after that upload back Gravity Forms and build back new forms

    = after test, still same.

    Unfortunately warnign still appear.

    How to troubleshoot?

    Posted 12 years ago on Saturday November 24, 2012 | Permalink
  5. Fixed. i reinstall back wordpress

    Posted 12 years ago on Saturday November 24, 2012 | Permalink
  6. David Peralty

    That was a strange issue. I'm glad it was a core WordPress one that just required a re-install. None of my troubleshooting steps would have included that...

    Posted 12 years ago on Saturday November 24, 2012 | Permalink
  7. Yes very strange issue. But now its un without eror with same themes and plugin hehe

    Posted 11 years ago on Sunday November 25, 2012 | Permalink

This topic has been resolved and has been closed to new replies.