Title: Running plugin before updating WordPress
Last modified: August 21, 2016

---

# Running plugin before updating WordPress

 *  Resolved [ClintonR78](https://wordpress.org/support/users/clintonr78/)
 * (@clintonr78)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/running-plugin-before-updating-wordpress/)
 * First, thank you for the great plugin.
 * Just an issue I thought you should be aware of. After updating to WordPress 3.5.2
   I tried to continue an old search.
 * I am seeing this error on the right hand column under include these statuses 
   of the tools>find duplicates page
 * “in_array() [function.in-array]: Wrong datatype for second argument in /mysite.
   com/wp-content/plugins/find-duplicates/tpl/search.php on line 43”
    same page 
   between the two boxes (search settings and log) I get
 * “Warning: Invalid argument supplied for foreach() in /mysite.com/wp-content/plugins/
   find-duplicates/tpl/search.php on line 123”
 * I saw similar errors on the settings>find duplicates page, unfortunately did 
   not record the exact error. I was able to remove them on that page by entering
   a new set of settings and pressing save.
 * I think it was due to me being “mid search” when I upgraded wp. Any ideas or 
   suggestions? If no, thanks again anyway and great tool.
 * [http://wordpress.org/extend/plugins/find-duplicates/](http://wordpress.org/extend/plugins/find-duplicates/)

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

 *  Thread Starter [ClintonR78](https://wordpress.org/support/users/clintonr78/)
 * (@clintonr78)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/running-plugin-before-updating-wordpress/#post-3868767)
 * I was able to resolve by deactivation of the plugin, then deleting the plugin,
   then re-installing. I did lose the old search.
 *  Plugin Author [markusseyer](https://wordpress.org/support/users/markusseyer/)
 * (@markusseyer)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/running-plugin-before-updating-wordpress/#post-3869088)
 * Sorry
    Old Settings and Searches will be lost while deactivating/activating (
   updating) the plugin. I will solve this in any future version!

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

The topic ‘Running plugin before updating WordPress’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/find-duplicates_fbfbfb.svg)
 * [Find Duplicates](https://wordpress.org/plugins/find-duplicates/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/find-duplicates/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/find-duplicates/)
 * [Active Topics](https://wordpress.org/support/plugin/find-duplicates/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/find-duplicates/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/find-duplicates/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [markusseyer](https://wordpress.org/support/users/markusseyer/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/running-plugin-before-updating-wordpress/#post-3869088)
 * Status: resolved