Title: Error when uninstalling other plugin
Last modified: August 21, 2016

---

# Error when uninstalling other plugin

 *  Resolved [axeman41](https://wordpress.org/support/users/axeman41/)
 * (@axeman41)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-when-uninstalling-other-plugin/)
 * When I uninstall other plugins I get this error:
 * Warning: trim() expects parameter 1 to be string, array given in /home/wagnerme/
   public_html/dev/wp-content/plugins/jonradio-multiple-themes/includes/functions.
   php on line 387
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/wagnerme/public_html/dev/wp-content/plugins/jonradio-multiple-themes/
   includes/functions.php:387) in /home/wagnerme/public_html/dev/wp-includes/pluggable.
   php on line 896
 * [http://wordpress.org/plugins/jonradio-multiple-themes/](http://wordpress.org/plugins/jonradio-multiple-themes/)

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

 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-when-uninstalling-other-plugin/#post-4413071)
 * I need to research that error.
 * I’ll be back in the office and respond within two hours.
 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-when-uninstalling-other-plugin/#post-4413111)
 * Wow! I scratched my head when I read your description of the problem.
 * But, sure enough, first Uninstall I tried on my test system did exactly that.
   Who’d thunk?
 * I’ll update this thread with my progress towards resolution.
 * Thanks so much for reporting this. I hate it when my plugins display error messages,
   no matter how “harmless”.
 *  Thread Starter [axeman41](https://wordpress.org/support/users/axeman41/)
 * (@axeman41)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-when-uninstalling-other-plugin/#post-4413112)
 * Thank you for the great plugin…it made an otherwise difficult problem much easier.
 *  [jon](https://wordpress.org/support/users/adiant/)
 * (@adiant)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-when-uninstalling-other-plugin/#post-4413151)
 * Version 4.7.2 is now available to address this problem.
 * FYI, I had not been aware that Arrays were supported in Keyword=Value URL Queries.
   For example, checked[0]=abc is used when uninstalling plugins.
 * Thanks again for reporting this.
 *  Thread Starter [axeman41](https://wordpress.org/support/users/axeman41/)
 * (@axeman41)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/error-when-uninstalling-other-plugin/#post-4413152)
 * Thanks for fixing it so quickly!

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

The topic ‘Error when uninstalling other plugin’ is closed to new replies.

 * ![](https://ps.w.org/jonradio-multiple-themes/assets/icon-256x256.png?rev=1134086)
 * [Multiple Themes](https://wordpress.org/plugins/jonradio-multiple-themes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/jonradio-multiple-themes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/jonradio-multiple-themes/)
 * [Active Topics](https://wordpress.org/support/plugin/jonradio-multiple-themes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jonradio-multiple-themes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jonradio-multiple-themes/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [axeman41](https://wordpress.org/support/users/axeman41/)
 * Last activity: [12 years, 5 months ago](https://wordpress.org/support/topic/error-when-uninstalling-other-plugin/#post-4413152)
 * Status: resolved