PHP Fatal error: Cannot use object of type WP_Error as array in mapsupreme.php:127
It's being logged error messages with MapSupreme v1.5.5 and Vantage 4.1.5 as mentioned below:
[07-Nov-2018 23:19:01 UTC] PHP Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /home/xxxx/public_html/xpto.com.br/
wp-content/plugins/mapsupreme_vantage/mapsupreme.php:127
Stack trace:
#0 /home/xxxx/public_html/xpto.com.br/
wp-content/plugins/mapsupreme_vantage/widgets_shortcodes.php(179): wpw_vantage_gmap_set_visitor_cookie()
#1 /home/xxxx/public_html/xpto.com.br/
wp-includes/class-
wp-widget.php(372): wpw_mapsupreme_gmap_widget->widget(Array, Array)
#2 /home/xxxx/public_html/xpto.com.br/
wp-includes/widgets.php(743): WP_Widget->display_callback(Array, Array)
#3 /home/xxxx/public_html/xpto.com.br/
wp-content/themes/appthemes-vantage/page-templates/template-home.php(19): dynamic_sidebar('va-home-main-co...')
#4 /home/xxxx/public_html/xpto.com.br/
wp-includes/template.php(688): require_once('/home/xxxx/...')
#5 /home/xxxx/public_html/xpto.com.br/
wp-content/themes/appthemes-vantage/wrapper.php(49): load_template('/home/xxxx/...')
#6 /home/xxxx/public_ht in /home/xxxx/public_html/xpto.com.br/
wp-content/plugins/mapsupreme_vantage/mapsupreme.php on line 127