WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Plugin conflict with Leaflet Maps Marker (2 posts)

  1. RobertHarm
    Member
    Posted 2 years ago #

    I am developer of the mapping plugin Leaflet Maps Marker (http://wordpress.org/extend/plugins/leaflet-maps-marker/). A user recently reported that there is a conflict with your plugin. I installed Google Analytics v4.2.2 on my development site to check, chose a tracking profile and got the error when trying to display my test maps on frontend right before the map:

    Notice: Undefined offset: 0 in /home/htdocs/wp-content/plugins/google-analytics-for-wordpress/googleanalytics.php on line 1131

    Please see http://beta.mapsmarker.com/ for verifying the error (please note, debug is turned off, so the message above is not visible right before the map panel) and http://www.mapsmarker.com/demo for a working version of my plugin.

    I looked into googleanalytics.php on line 1131 but didnt find out, why your plugin causes my maps not to show up. Can you please take a look into this issue? If there´s anything I can do in my plugin to solve this issue, I´d be happy if you could give me some hints!
    Thanks,

    Robert

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

  2. RobertHarm
    Member
    Posted 2 years ago #

    I found the problem - it was caused by single and double quotes due to the insert of GA tracking code - I could solve this in my plugin with v1.2

    See http://wpquestions.com/question/show/id/3693 for technical details.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic