Title: Database error on search form
Last modified: August 21, 2016

---

# Database error on search form

 *  [Martyn_](https://wordpress.org/support/users/martyn_/)
 * (@martyn_)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-search-form/)
 * Creating a simple page with a friends search shortcode appears to work as intended,
   but when setting WP_DEBUG, I get
 *     ```
       WordPress database error Got a packet bigger than 'max_allowed_packet' bytes for query INSERT INTO <code>wp_options</code> (<code>option_name</code>, <code>option_value</code>, <code>autoload</code>) VALUES ('_transient_gmwAllUsers', ... <what looks like the entire table of all users location data>
       ```
   
 * Any clues as to why this is happening?
 * [http://wordpress.org/plugins/geo-my-wp/](http://wordpress.org/plugins/geo-my-wp/)

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

 *  Plugin Author [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * (@ninjew)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-search-form/#post-4363343)
 * Hi martyr,
    That function is not suppose to be there. I added it for my own testing
   purpose but forgot to remove it before uploading the plugin. It is already fixed
   in the update I am working on which should be released this coming week.
 *  Thread Starter [Martyn_](https://wordpress.org/support/users/martyn_/)
 * (@martyn_)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-search-form/#post-4363422)
 * Great, thanks!

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

 The topic ‘Database error on search form’ is closed to new replies.

 * ![](https://ps.w.org/geo-my-wp/assets/icon-256x256.gif?rev=2803407)
 * [GEO my WP](https://wordpress.org/plugins/geo-my-wp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/geo-my-wp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/geo-my-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/geo-my-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/geo-my-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/geo-my-wp/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Martyn_](https://wordpress.org/support/users/martyn_/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/database-error-on-search-form/#post-4363422)
 * Status: not resolved