Title: Debug messages
Last modified: August 21, 2016

---

# Debug messages

 *  Resolved [andamira](https://wordpress.org/support/users/andamira/)
 * (@andamira)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/debug-messages-2/)
 * In WP 3.9.1 when WP_DEBUG is set to true, a long list of Notices gets printed
   before each map:
 *     ```
       Notice: Undefined index: icon in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 262
   
       Notice: Undefined property: stdClass::$group_map_setting in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 268
   
       Notice: Undefined property: stdClass::$map_languages in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 290
   
       Notice: Undefined index: heat_map in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 341
   
       Notice: Undefined index: temp in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 342
   
       Notice: Undefined index: wind in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 343
   
       Notice: Undefined property: stdClass::$group_map_setting in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 358
   
       Notice: Undefined property: stdClass::$location_animation in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 392
   
       Notice: Undefined index: googlemap_infowindow_title_one in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 393
   
       Notice: Undefined index: googlemap_infowindow_title_two in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 395
   
       Notice: Undefined index: googlemap_infowindow_message_two in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 396
   
       Notice: Undefined index: googlemap_infowindow_title_three in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 397
   
       Notice: Undefined index: googlemap_infowindow_message_three in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 398
   
       Notice: Undefined index: googlemap_infowindow_title_four in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 399
   
       Notice: Undefined index: googlemap_infowindow_message_four in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 400
   
       Notice: Undefined index: googlemap_infowindow_title_five in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 401
   
       Notice: Undefined index: googlemap_infowindow_message_five in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 402
   
       Notice: Undefined variable: un_map_cluster_setting in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 405
       ```
   
 * Also, in the backend, these messages are echoed in the header:
 *     ```
       Notice: Undefined index: location in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wpgmp-all-js.php on line 5
   
       Notice: Trying to get property of non-object in /home/.../public_html/wp-content/plugins/wp-google-map-plugin/wpgmp-all-js.php on line 6
       ```
   
 * Maybe these variables and indexes are defined in the pro version. But the free
   plugin should not give this warnings. Either check each time if they exist before
   using them, or initialize them with an empty value.
 * thank you!
 * [https://wordpress.org/plugins/wp-google-map-plugin/](https://wordpress.org/plugins/wp-google-map-plugin/)

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

 *  Thread Starter [andamira](https://wordpress.org/support/users/andamira/)
 * (@andamira)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/debug-messages-2/#post-4904119)
 * Using Deprecated calls plugin I found additional info:
 * _[ Moderator note: Code blocks fixed ]_
 *     ```
       Incorrect Use of wpdb::prepare()
       Used in wp-content/plugins/wp-google-map-plugin/wp-google-map-plugin.php on line 617.
       The query argument wpdb::prepare () must have a placeholder.
       This message was added in version 3.9.
       ```
   
 * The same ‘Incorrect Use of wpdb::prepare()’ message for:
 *     ```
       Used in wp-content/plugins/wp-google-map-plugin/wpgmp-manage-map.php on line 514.
   
       Used in wp-content/plugins/wp-google-map-plugin/wpgmp-manage-map.php on line 26.
   
       Used in wp-content/plugins/wp-google-map-plugin/wpgmp-create-map.php on line 292.
   
       Used in wp-content/plugins/wp-google-map-plugin/wpgmp-manage-location.php on line 26.
   
       Used in wp-content/plugins/wp-google-map-plugin/wpgmp-add-location.php on line 205.
       ```
   
 *  Plugin Author [Flipper Code – WordPress Development Company](https://wordpress.org/support/users/flippercode/)
 * (@flippercode)
 * [12 years ago](https://wordpress.org/support/topic/debug-messages-2/#post-4904237)
 * Hello Andamira,
 * All problems resolved in this new version. Thanks for your feedback.
 * Thanks

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

The topic ‘Debug messages’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-map-plugin/assets/icon-256x256.gif?rev=3111000)
 * [WP Maps - Google Maps,OpenStreetMap,Mapbox,Store Locator,Listing,Directory & Filters](https://wordpress.org/plugins/wp-google-map-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-map-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-map-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-map-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-map-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-map-plugin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Flipper Code – WordPress Development Company](https://wordpress.org/support/users/flippercode/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/debug-messages-2/#post-4904237)
 * Status: resolved