Title: Form missing intermittently
Last modified: October 23, 2018

---

# Form missing intermittently

 *  Resolved [rwassell](https://wordpress.org/support/users/rwassell/)
 * (@rwassell)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/)
 * Hi Eyal,
 * Further to earlier correspondence in support ticket 28738 the form is missing
   again.
 * The main page is [https://www.growtivation.com/where-to-buy](https://www.growtivation.com/where-to-buy)
 * However, I have setup a test page which provides some additional information:
 * [https://www.growtivation.com/test-distributor](https://www.growtivation.com/test-distributor)
 * Which also includes the error message of Notice: GMW form class is missing. in../
   wordpress/wp-content/plugins/geo-my-wp/includes/gmw-shortcodes.php on line 145
   
   when debug is enabled or is recorded in the Apache log file.
 * To reiterate, the problem only started happening when we updated the plugin to
   the latest version of 3.1 and WordPress to version 4.9.8.
 * We have a development copy of the site: [http://dev.growtivation.com/where-to-buy](http://dev.growtivation.com/where-to-buy)
   
   The plugin is version 2.7 and WordPress is 4.8.1 and this never has a problem.
 * The problem in the live site is intermittent. Yesterday it was working fine. 
   Today it isn’t working. Nothing has changed on the website or the server, it 
   just works sometimes and doesn’t work others. We’re not over quota with Google
   API. There are no other errors or messages to provide any further information
   other than was is in the Apache log file. That appears when the form isn’t working
   then when it is working, the form will appear in the page and the error will 
   no longer appear.
 * Your login to the site is still active.
 * Please can you help us resolve this?
 * Thanks
 * Rob

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

 *  Plugin Author [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * (@ninjew)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806380)
 * Hi Rob,
 * I am going to look into this now, while it is broken.
 *  Thread Starter [rwassell](https://wordpress.org/support/users/rwassell/)
 * (@rwassell)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806397)
 * Hi Eyal,
 * Thank you, I appreciate it.
 * We’ve been carrying out our own troubleshooting in order to try to help.
 * When the problem happens it generates the error:
 * Notice: GMW form class is missing. in ../wordpress/wp-content/plugins/geo-my-
   wp/includes/gmw-shortcodes.php on line 145
 * We’ve modified the error to provide more information:
 * PHP Notice: GMW form class is missing: posts_locator : was the value of slug 
   in /home/sites/LWS/growti/wordpress/wp-content/plugins/geo-my-wp/includes/gmw-
   shortcodes.php on line 145, referer: [https://www.growtivation.com/](https://www.growtivation.com/)
 * This appears to be calling this function:
 * public static function get_forms() {
    .. }
 * This function refers to wp_cache_get so obviously looking in the cache.
 * Previously we tried clearing the cache and that made no difference.
    We tried
   deactivating and reactivating the module, that made no difference.
 * We modified the code so that it always goes to the database with SELECT * FROM
   gr_gmw_forms and rules out the cache – but the problem still occurred.
 * We have been outputting MySQL errors as well and basically we have been able 
   to rule out:
 * It’s not Apache
    It’s not the Varnish web cache It’s not MySQL It’s not the Server
   It appears to be code related
 * All code reverted to previous versions.
 * We will do no further testing or make any further action so as to not trip up
   your own investigation.
 * Please note, we may need to ‘refresh’ the Varnish web cache on the server if 
   you make any code changes. I am online now and monitoring if you need me to do
   anything.
 * Many thanks,
 * Rob
 *  Thread Starter [rwassell](https://wordpress.org/support/users/rwassell/)
 * (@rwassell)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806408)
 * Hi Eyal,
 * I don’t know if this is of any use but the SQL query currently returns:
 * | 1 | posts_locator | posts_locator | posts_locator | post | Posts Locator | 
   stockistdistributors | pt | a:5:{s:17:”page_load_results”;a:13:{s:7:”enabled”;
   s:0:””;s:13:”user_location”;s:0:””;s:14:”address_filter”;s:0:””;s:6:”radius”;
   s:2:”50″;s:5:”units”;s:8:”imperial”;s:11:”city_filter”;s:0:””;s:12:”state_filter”;
   s:0:””;s:14:”zipcode_filter”;s:0:””;s:14:”country_filter”;s:2:”GB”;s:15:”display_results”;
   s:0:””;s:11:”display_map”;s:7:”results”;s:8:”per_page”;s:2:”-1″;s:10:”post_types”;
   a:1:{i:0;s:20:”distributor_stockist”;}}s:11:”search_form”;a:10:{s:13:”form_template”;
   s:19:”custom_growtivation”;s:13:”address_field”;a:6:{s:5:”label”;s:50:”Enter 
   your address, city, postcode or company name”;s:11:”placeholder”;s:50:”Enter 
   your address, city, postcode or company name”;s:20:”address_autocomplete”;i:1;
   s:9:”mandatory”;i:1;s:7:”locator”;s:0:””;s:14:”locator_submit”;s:0:””;}s:7:”locator”;
   s:8:”disabled”;s:12:”locator_text”;s:0:””;s:13:”locator_image”;s:0:””;s:14:”locator_submit”;
   i:1;s:6:”radius”;s:22:”5,10,25,50,100,150,200″;s:5:”units”;s:8:”imperial”;s:10:”
   post_types”;a:1:{i:0;s:20:”distributor_stockist”;}s:10:”taxonomies”;a:3:{s:4:”
   post”;a:3:{s:8:”category”;a:1:{s:5:”style”;s:7:”disable”;}s:8:”post_tag”;a:1:{
   s:5:”style”;s:7:”disable”;}s:11:”post_format”;a:1:{s:5:”style”;s:7:”disable”;}}
   s:13:”nav_menu_item”;a:1:{s:8:”nav_menu”;a:1:{s:5:”style”;s:7:”disable”;}}s:8:”
   products”;a:1:{s:18:”product_categories”;a:1:{s:5:”style”;s:7:”disable”;}}}}s:
   15:”form_submission”;a:3:{s:12:”results_page”;s:0:””;s:15:”display_results”;i:
   1;s:11:”display_map”;s:7:”results”;}s:14:”search_results”;a:8:{s:16:”results_template”;
   s:19:”custom_growtivation”;s:8:”per_page”;s:3:”999″;s:5:”image”;a:3:{s:5:”width”;
   s:5:”200px”;s:6:”height”;s:5:”200px”;s:7:”enabled”;s:0:””;}s:15:”directions_link”;
   i:1;s:13:”location_meta”;a:4:{i:0;s:5:”phone”;i:1;s:3:”fax”;i:2;s:5:”email”;i:
   3;s:7:”website”;}s:13:”opening_hours”;s:0:””;s:7:”excerpt”;a:4:{s:5:”usage”;s:
   12:”post_content”;s:5:”count”;s:0:””;s:4:”link”;s:0:””;s:7:”enabled”;s:0:””;}
   s:10:”taxonomies”;s:0:””;}s:11:”results_map”;a:4:{s:9:”map_width”;s:4:”100%”;
   s:10:”map_height”;s:5:”300px”;s:8:”map_type”;s:7:”ROADMAP”;s:10:”zoom_level”;
   s:2:”13″;}} |
 *  Plugin Author [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * (@ninjew)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806410)
 * Thanks for the details.
 * I have found and reopened the previous support ticket.
 * I replied to you there.
 *  Plugin Author [Eyal Fitoussi](https://wordpress.org/support/users/ninjew/)
 * (@ninjew)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806432)
 * Have you received my email?
 *  Thread Starter [rwassell](https://wordpress.org/support/users/rwassell/)
 * (@rwassell)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806509)
 * Hi Eyal,
 * Sorry, looking for it now.
 * Rob
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806621)
 * > Further to earlier correspondence in support ticket 28738 the form is missing
   > again.
 * [@ninjew](https://wordpress.org/support/users/ninjew/) Please do not do that.
   If you are supporting your customer on your site then keep it there.
 * [@rwassell](https://wordpress.org/support/users/rwassell/) For pro or commercial
   product support please contact the author directly on their site. This includes
   any pre-sales topics as well.
 * As the author is aware, commercial products are [not supported in these forums](https://wordpress.org/support/guidelines/#do-not-post-about-commercial-products).
   I am sure they will have no problem supporting you there.

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

The topic ‘Form missing intermittently’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [7 years, 7 months ago](https://wordpress.org/support/topic/form-missing-intermittently/#post-10806621)
 * Status: resolved