Title: sql error
Last modified: June 2, 2018

---

# sql error

 *  Resolved [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/)
 * hey guys,
    If I install your plugin for buddypress and activate it, I get this
   error:
 * Fatal error: Uncaught Error: Call to undefined function mysql_error() in /www/
   htdocs/w017d86f/flirt/wp-content/plugins/match-me-for-buddypress/mp-settings.
   php:52 Stack trace: #0 /www/htdocs/w017d86f/flirt/wp-content/plugins/match-me-
   for-buddypress/mp-settings.php(78): WeDevs_Settings_API_Match->hmk_build_field_options()#
   1 /www/htdocs/w017d86f/flirt/wp-content/plugins/match-me-for-buddypress/mp-settings.
   php(24): WeDevs_Settings_API_Match->get_settings_fields() #2 /www/htdocs/w017d86f/
   flirt/wp-includes/class-wp-hook.php(286): WeDevs_Settings_API_Match->admin_init(”)#
   3 /www/htdocs/w017d86f/flirt/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(
   NULL, Array) #4 /www/htdocs/w017d86f/flirt/wp-includes/plugin.php(453): WP_Hook-
   >do_action(Array) #5 /www/htdocs/w017d86f/flirt/wp-admin/admin.php(156): do_action(‘
   admin_init’) #6 /www/htdocs/w017d86f/flirt/wp-admin/plugins.php(10): require_once(‘/
   www/htdocs/w01…’) #7 {main} thrown in /www/htdocs/w017d86f/flirt/wp-content/plugins/
   match-me-for-buddypress/mp-settings.php on line 52
 * can u help me pls?

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

 *  Plugin Author [Muhammad Kashif](https://wordpress.org/support/users/xpertone/)
 * (@xpertone)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10353379)
 * [@4vapors](https://wordpress.org/support/users/4vapors/) have you created profile
   fields yet?
 *  Thread Starter [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10353600)
 * Good morning. Ya i have! Many :/
 *  Plugin Author [Muhammad Kashif](https://wordpress.org/support/users/xpertone/)
 * (@xpertone)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10356731)
 * [@4vapors](https://wordpress.org/support/users/4vapors/) I will test and update
   the plugin soon.
 *  Thread Starter [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10356967)
 * Oh nice 🙂 I’ll take a look at it later and then report.
 *  Thread Starter [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10357547)
 * still the same mistake. nothing has changed :/
 *  Plugin Author [Muhammad Kashif](https://wordpress.org/support/users/xpertone/)
 * (@xpertone)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10360242)
 * [@4vapors](https://wordpress.org/support/users/4vapors/) I just released updated
   version , please update the plugin and check again.
 *  Thread Starter [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10362944)
 * good evening 🙂
    really do not want to annoy you but now I have this error :/
 * Warning: Invalid argument supplied for foreach() in /www/htdocs/w017d86f/flirt/
   wp-content/plugins/match-me-for-buddypress/src/class.settings-api.php on line
   120
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/w017d86f/flirt/wp-content/plugins/match-me-for-buddypress/src/
   class.settings-api.php:120) in /www/htdocs/w017d86f/flirt/wp-admin/includes/misc.
   php on line 1116
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/w017d86f/flirt/wp-content/plugins/match-me-for-buddypress/src/
   class.settings-api.php:120) in /www/htdocs/w017d86f/flirt/wp-includes/pluggable.
   php on line 1216
 *  Plugin Author [Muhammad Kashif](https://wordpress.org/support/users/xpertone/)
 * (@xpertone)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10363934)
 * [@4vapors](https://wordpress.org/support/users/4vapors/) I have updated the plugin
   again , please check.
 * Can’t replicate this on my side.
 *  Thread Starter [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10367609)
 * hey 🙂
    I tried it again. I have the plugin installed. After the installation,
   this error came. at the top.
 * supplied for foreach() in /www/htdocs/w017d86f/flirt/wp-content/plugins/match-
   me-for-buddypress/src/class.settings-api.php on line 120
 * Warning: Cannot modify header information – headers already sent by (output started
   at /www/htdocs/w017d86f/flirt/wp-content/plugins/match-me-for-buddypress/src/
   class.settings-api.php:120) in /www/htdocs/w017d86f/flirt/wp-admin/includes/misc.
   php on line 1116
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10369534)
 * [@xpertone](https://wordpress.org/support/users/xpertone/) I’ve deleted your 
   offer to login to your user’s site. I’m am 100% sure you mean well but please
   _never ask for credentials on these forums._
 * [https://wordpress.org/support/guidelines/#the-bad-stuff](https://wordpress.org/support/guidelines/#the-bad-stuff)
 * Now for the why: The internet is a wonderful place full of very nice people and
   a few very bad ones. I’m sure everyone here is very nice however, by giving some
   ones keys to your house you are trusting they wont steal anything. Likewise the
   person who takes the keys is now responsible for the house FOREVER.
 * If something was to go wrong, then you the author may well legally become liable
   for damages, which they would not normally have been as their software is provided
   without warranty.
 * **Please be aware that repeatedly asking for credentials will result in us asking
   you to repeatedly stop before escalating up to the plugins team.**
 *  Plugin Author [Muhammad Kashif](https://wordpress.org/support/users/xpertone/)
 * (@xpertone)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10369646)
 * [@jdembowski](https://wordpress.org/support/users/jdembowski/) thank you for 
   the note.
 * I just tried to help the user with issue as I couldn’t replicate the issue on
   my side.
 * I will be careful in future.
 *  Thread Starter [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10371348)
 * hey muhammad… the same error again 🙁
 *  Thread Starter [grayhounders](https://wordpress.org/support/users/4vapors/)
 * (@4vapors)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10775691)
 * [@xpertone](https://wordpress.org/support/users/xpertone/) is the plugin now 
   multisite compatible?

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

The topic ‘sql error’ is closed to new replies.

 * ![](https://ps.w.org/match-me-for-buddypress/assets/icon-256x256.png?rev=3475050)
 * [Match Me for BuddyPress & BuddyBoss](https://wordpress.org/plugins/match-me-for-buddypress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/match-me-for-buddypress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/match-me-for-buddypress/)
 * [Active Topics](https://wordpress.org/support/plugin/match-me-for-buddypress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/match-me-for-buddypress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/match-me-for-buddypress/reviews/)

 * 13 replies
 * 3 participants
 * Last reply from: [grayhounders](https://wordpress.org/support/users/4vapors/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/sql-error-39/#post-10775691)
 * Status: resolved