• I’m getting this warning on the page that is displaying my map Warning: Trying to access array offset on value of type bool in /code/wp-content/plugins/mapster-wp-maps/public/class-mapster-wordpress-maps-public.php on line 189

    I’m guessing it’s because a field or setting is not set in the plugin. I looked at the source code and it appears have something to do with these lines:

    // Check for required dependencies

    $directions_enabled = ( get_field( ‘directions_control’, $atts[‘id’] ) ? get_field( ‘directions_control’, $atts[‘id’] )[‘enable’] : false );

    $store_locator_enabled = ( get_field( ‘list’, $atts[‘id’] ) ? get_field( ‘list’, $atts[‘id’] )[‘store_locator_options’][‘enable’] : false );

    $geocoder_enabled = false;

    What do I need to set to get that warning to go away?

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

    (@mapster)

    Hello, this is an unexpected error for sure! It may be that when a setting came on or off there was some issue. If you can email me at [email protected] I can help you resolve it more quickly. Sorry about the problems!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.