Title: [Plugin: WP CleanFix] error msg
Last modified: August 19, 2016

---

# [Plugin: WP CleanFix] error msg

 *  Resolved [bioport](https://wordpress.org/support/users/bioport/)
 * (@bioport)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/)
 * hi,
    nice work! but i m repeatedly getting the error message: Warning: mysql_num_rows():
   supplied argument is not a valid MySQL result resource in …/wp-content/plugins/
   wp-cleanfix/module/database.php on line 56 line 56 reads: $num = mysql_num_rows(
   $result);
 * help would be greatly appreciated.
    oh, btw, do i have to write in the db-name?/
   malik
 * [http://wordpress.org/extend/plugins/wp-cleanfix/](http://wordpress.org/extend/plugins/wp-cleanfix/)

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

 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659501)
 * Hi,
    `$result` is a resource type returned from the query: `'SHOW TABLE STATUS
   FROM '. DB_NAME;`
 * So, in your `config.php` file the `DB_NAME` constant must be defined!
 * Can U check?
 * regards
    GF
 *  Thread Starter [bioport](https://wordpress.org/support/users/bioport/)
 * (@bioport)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659599)
 * thanks for your reply. and sorry for coming back so late!
    yes, i did check but
   the config is ok. the strange thing is that i have had the error message on all
   3 blogs i maintain. i’ll check some more and tell you when things have changed.
   have a good week /m
 *  Thread Starter [bioport](https://wordpress.org/support/users/bioport/)
 * (@bioport)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659621)
 * hello again,
    i have just installed a testblog for a new project without any 
   post (exept the default) and checked the plug-in again, and, again it gives me
   an error message, only this time in line 57 (which probably doesn’t matter much).
   the db is well defined in the config php and actually everything seems to be 
   ok with the plug-in — if there were not the WARNING … any idea? thanks in advance
 * p.s.
    can i supply more info to you? which?
 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659631)
 * Hi again,
    please, can you paste the complete warning message?
 * thanks
    GF
 *  Thread Starter [bioport](https://wordpress.org/support/users/bioport/)
 * (@bioport)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659632)
 * thanks for asking,
    i had wp cleanfix still running on a new project in the background
   but considered to take it out when going online 🙁 hence, i can give you the 
   message:
 * Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource
   in /is/htdocs/…../www/html/blogs/mediacircus/wp-content/plugins/wp-cleanfix/module/
   database.php on line 57
 * the initial page is under “html”.
 * thank you much
 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659633)
 * Hi,
    then, I just release 1.4.5 revision. Check it and report any improvement.
 * I hope to be able to avoid Warning message
 * regards
    GF
 *  Thread Starter [bioport](https://wordpress.org/support/users/bioport/)
 * (@bioport)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659634)
 * well, you’ve clean fixed it! error msg gone.
    good work.
 * may i point you to a minor thing: the “go to repair” button of wp cf on the dashboard
   interface points to a wrong path (at least in my server config). it goes directly
   to the root looking for the wp-admin folder. but in my config e.g. the blog is
   under root/blogs/blogname.
    this is not a problem since one can always go directly
   to the wp cf interface which is fine.
 * have a nice day — and thanks again.
 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659635)
 * Hi again,
    I’m happy, so happy.
 * I’m going investigated for wrong link.
 * Thnaks for suggestion
 * regards
    GF
 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659636)
 * Hi, I think that the wrong link is now fixed.
 * Please, check for 1.4.6 revision to confirm
 * Thanks for all beta testing
 * regards
    GF
 *  Thread Starter [bioport](https://wordpress.org/support/users/bioport/)
 * (@bioport)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659637)
 * perfect.
    and — most of all — thanks to you for your good work.
 * autumnal greets from Lisboa to Modena
    /malik
 *  Plugin Author [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * (@gfazioli)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659638)
 * You too 🙂
 * GF

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

The topic ‘[Plugin: WP CleanFix] error msg’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-cleanfix_4e7c6a.svg)
 * [WP CleanFix](https://wordpress.org/plugins/wp-cleanfix/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-cleanfix/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-cleanfix/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-cleanfix/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-cleanfix/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-cleanfix/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [gfazioli](https://wordpress.org/support/users/gfazioli/)
 * Last activity: [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-wp-cleanfix-error-msg/#post-1659638)
 * Status: resolved