• Resolved wob

    (@wob)


    Hello!

    Having some issue when I try to create a new map. WordPress dies on me and says:
    Trying to access array offset on value of type null

    Offending line:
    class-mapster-wordpress-maps-admin.php (line 392)

    Changing the code to:
    if ( $map_type && $map_type['map_provider'] == 'google-maps' ) {
    seems to help!

Viewing 1 replies (of 1 total)
  • Plugin Author mapster

    (@mapster)

    Great catch. It looks like, on that line, I failed to do the initial check for the variable being defined. I’ve added this into the plugin for the next version, which should be released in the next day or so. Really appreciate the message and fix!

Viewing 1 replies (of 1 total)
  • The topic ‘Trying to access array offset on value of type null’ is closed to new replies.