Title: Google Doc Embedder Uninstalling
Last modified: August 21, 2016

---

# Google Doc Embedder Uninstalling

 *  [TigranTovmasyan](https://wordpress.org/support/users/tigrantovmasyan/)
 * (@tigrantovmasyan)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/google-doc-embedder-uninstalling/)
 * When trying to uninstall plugin there is an exception thrown in uninstall.php
   file
    on 11 row
 * `<em>$blogids=$wpdb->get_col($wpdb->prepare("SELECT blog_id FROM $wpdb->blogs"));
   </em>`
 * the problem is that prepare function requires second parameter,
    so if it is 
   modified to
 * `<em>$blogids = $wpdb->get_col( $wpdb->prepare( "SELECT blog_id FROM '%s'", $
   wpdb->blogs ) );</em>`
 * **it works!**
 * Thanks
 * [Tigran Tovmasyan](http://attask.com)

Viewing 1 replies (of 1 total)

 *  [k3davis](https://wordpress.org/support/users/k3davis/)
 * (@k3davis)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/google-doc-embedder-uninstalling/#post-4307699)
 * Thanks Tigran,
 * This is indeed an error I’ve overlooked since WP 3.5. Thanks for bringing it 
   to my attention, and I’ll be sure to include the fix in a future patch.
 * Kevin

Viewing 1 replies (of 1 total)

The topic ‘Google Doc Embedder Uninstalling’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/google-document-embedder_484848.svg)
 * [Google Doc Embedder](https://wordpress.org/plugins/google-document-embedder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-document-embedder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-document-embedder/)
 * [Active Topics](https://wordpress.org/support/plugin/google-document-embedder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-document-embedder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-document-embedder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [k3davis](https://wordpress.org/support/users/k3davis/)
 * Last activity: [12 years, 9 months ago](https://wordpress.org/support/topic/google-doc-embedder-uninstalling/#post-4307699)
 * Status: not a support question