Title: mysql_query() expects parameter 2
Last modified: February 10, 2018

---

# mysql_query() expects parameter 2

 *  [jerlo727](https://wordpress.org/support/users/jerlo727/)
 * (@jerlo727)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/mysql_query-expects-parameter-2/)
 * I created a back up using wp-clone. It says successful but shows 2 errors and
   I don’t know if that means the backup is good or not.
 * The 2 lines are:
 * Warning: mysql_query() expects parameter 2 to be resource, null given in /home/
   content/64/10466864/html/home/wp-content/plugins/wp-clone-by-wp-academy/lib/class.
   wpc-wpdb.php on line 50
 * Warning: mysql_fetch_row() expects parameter 1 to be resource, null given in /
   home/content/64/10466864/html/home/wp-content/plugins/wp-clone-by-wp-academy/
   lib/class.wpc-wpdb.php on line 141
 * Any help would be appreciated

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

 *  [jimshouse](https://wordpress.org/support/users/jimshouse/)
 * (@jimshouse)
 * [8 years, 4 months ago](https://wordpress.org/support/topic/mysql_query-expects-parameter-2/#post-9962838)
 * If you go to install new plugin and search for woclone you will find a comment
   below where you download it that states Untested with your version of WordPress.
   WP Clone by WP Academy has not worked right with the last 2 wordpress updates.
   All-in-One WP Migration and XCloner both work well. sense wp clone stopped working
   i have started using both backup programs i save the backups on my wd cloud drive
   or my wd my passport. these plugins are not only great for backups but to create
   backup sites for testing. I have submitted request to fix wp clone but so far
   it does not give you a dependable backup.
    Good Luck
 *  Thread Starter [jerlo727](https://wordpress.org/support/users/jerlo727/)
 * (@jerlo727)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/mysql_query-expects-parameter-2/#post-9985312)
 * Sorry for the delay.
 * Thank you for the response. I will try and switch to one of your suggestions.
 * It is too bad. Wp Clone has been reliable for me for years.
 * Thanks again.

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

The topic ‘mysql_query() expects parameter 2’ is closed to new replies.

 * ![](https://ps.w.org/wp-clone-by-wp-academy/assets/icon-128x128.png?rev=2181280)
 * [Clone](https://wordpress.org/plugins/wp-clone-by-wp-academy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-clone-by-wp-academy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-clone-by-wp-academy/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-clone-by-wp-academy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-clone-by-wp-academy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-clone-by-wp-academy/reviews/)

## Tags

 * [expects parameter](https://wordpress.org/support/topic-tag/expects-parameter/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)

 * 2 replies
 * 2 participants
 * Last reply from: [jerlo727](https://wordpress.org/support/users/jerlo727/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/mysql_query-expects-parameter-2/#post-9985312)
 * Status: not resolved