Title: mysql_num_rows warning
Last modified: August 20, 2016

---

# mysql_num_rows warning

 *  [Anointed](https://wordpress.org/support/users/anointed/)
 * (@anointed)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/)
 * I get the following warnings duplicated a few dozen times across the top of the
   screen when searching
    `Warning: mysql_num_rows() expects parameter 1 to be resource,
   boolean given in \wp-content\plugins\search-and-replace\search-and-replace.php
   on line 566`
 * It also seems that no matter what word/words I search for nothing is found.
 * Using WP 3.5
 * [http://wordpress.org/extend/plugins/search-and-replace/](http://wordpress.org/extend/plugins/search-and-replace/)

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

 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321159)
 * Do you have more informations. I cant find a problem. Which php version do you
   use. Maybe a reinstall of the plugin and WP_DEBUG in the wp-config.php set to
   TRUE.
 *  [TeamScience](https://wordpress.org/support/users/teamscience/)
 * (@teamscience)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321190)
 * Hi
 * I get the same message, but only when running on local WAMP server. I’m using
   DesktopServer from ServerPress (based on XAMPP). Never happens on a LAMP server
   for me.
 * Would be cool to get this plugin working on a WAMP dev server.
 * Brenton
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321191)
 * But do you have more input, I have also checked on XAMPP, not error message. 
   Maybe you can describe, how you use the plugin, what you search. like via a screenshot.
 *  [TeamScience](https://wordpress.org/support/users/teamscience/)
 * (@teamscience)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321192)
 * Hi Frank
 * I’ve taken a screen shot and placed it on my server here: [http://www.teamscience.co.za/search_replace.jpg](http://www.teamscience.co.za/search_replace.jpg)
 * I install plugin, activate and run a search for the domain (which I know is right)
   and I get a number of the Warning messages as you can see in the above screen
   shot. after the last Warning I get the following message:
 * **Looking @ all …
    Sorry, globaleventsmgnt.com is not found in this Database(
   globalevDBamuop)!
 * Let me know if you need more info. This has always happend in my local DevelopServer
   install, so it may be because of a setting in one of the .ini files.
 * Brenton
 *  Plugin Contributor [Frank Bueltge](https://wordpress.org/support/users/bueltge/)
 * (@bueltge)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321203)
 * @Brenten: can you send also a screenshot of your search, that I can see the strings?
   Thanks.
 *  [bheadrick](https://wordpress.org/support/users/bheadrick/)
 * (@bheadrick)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321229)
 * I’m seeing the same error
    [http://i.imgur.com/1zTBCML.png](http://i.imgur.com/1zTBCML.png)
 * I did a search for “the” and it’s telling me it’s not in the db. I’ve done searches
   on things that I’ve verified are in the db, but it says they arent
 *  [j w](https://wordpress.org/support/users/justinmwoodum/)
 * (@justinmwoodum)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321258)
 * Hey there. Encountered this same issue. Also using a local, Windows-based stack(
   AMPPS).

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

The topic ‘mysql_num_rows warning’ is closed to new replies.

 * ![](https://ps.w.org/search-and-replace/assets/icon-256x256.png?rev=1776844)
 * [Search & Replace](https://wordpress.org/plugins/search-and-replace/)
 * [Support Threads](https://wordpress.org/support/plugin/search-and-replace/)
 * [Active Topics](https://wordpress.org/support/plugin/search-and-replace/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/search-and-replace/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/search-and-replace/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [j w](https://wordpress.org/support/users/justinmwoodum/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/mysql_num_rows-warning/#post-3321258)
 * Status: not resolved