Title: error Notice when using GMap
Last modified: January 24, 2019

---

# error Notice when using GMap

 *  Resolved [waterleat](https://wordpress.org/support/users/waterleat/)
 * (@waterleat)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-notice-when-using-gmap/)
 * Just found your plugin and used GMAp.
    Found some issues straight away but not
   sure where they come from etc.
 * First tried with no location specified but on viewing page no map shown
    Then
   added UK postcode and map shows (great, full width, just what I needed). However,
   before any content of post is shown I have the following:
 * Notice: Undefined index: style in /home/d/sites/bka/wp-content/plugins/advanced-
   gutenberg-blocks/classes/Blocks/Gmap.php on line 52
 * What is happening?
    -  This topic was modified 7 years, 3 months ago by [waterleat](https://wordpress.org/support/users/waterleat/).

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

 *  Plugin Author [maximebj](https://wordpress.org/support/users/maximebj/)
 * (@maximebj)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-notice-when-using-gmap/#post-11126642)
 * Hi !
    I’ve already fixed that (it’s related to the previous support issue) but
   I’ve not pushed the new version.
 * It comes from the fact I didn’t checked if my values where defined (a noob mistake).
 * I’ll publish 1.8.5 in a few hours!
 * Thanks
 *  Thread Starter [waterleat](https://wordpress.org/support/users/waterleat/)
 * (@waterleat)
 * [7 years, 3 months ago](https://wordpress.org/support/topic/error-notice-when-using-gmap/#post-11128206)
 * Thank you
 * > It comes from the fact I didn’t checked if my values where defined (a noob 
   > mistake).
 * Done the same sort of thing, many times!

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

The topic ‘error Notice when using GMap’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/advanced-gutenberg-blocks_333834.
   svg)
 * [Advanced Gutenberg Blocks](https://wordpress.org/plugins/advanced-gutenberg-blocks/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-gutenberg-blocks/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-gutenberg-blocks/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-gutenberg-blocks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-gutenberg-blocks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-gutenberg-blocks/reviews/)

## Tags

 * [gmap](https://wordpress.org/support/topic-tag/gmap/)

 * 2 replies
 * 2 participants
 * Last reply from: [waterleat](https://wordpress.org/support/users/waterleat/)
 * Last activity: [7 years, 3 months ago](https://wordpress.org/support/topic/error-notice-when-using-gmap/#post-11128206)
 * Status: resolved