With:
if($elevationProfile == “true” || $downloadLink == “true” ) {
I got this message:
This plugin has been deactivated because your changes resulted in a fatal error.
Parse error: syntax error, unexpected end of file in /home/robdeen52/domains/journey2holland.com/public_html/wp-content/plugins/google-maps-gpx-viewer/google-maps-gpx-viewer.php on line 179
After that I tried:
if($elevationProfile == “true” || $downloadLink == “true” )
The plugin updated successfully, but I still have the message about Illegal string offset ‘elevation’ … on line 22 on my website.