Home › Forum › Wp Gpx Maps › Support › Not showing attached images on map – php error
- Questo topic ha 1 risposta, 1 partecipante ed è stato aggiornato l'ultima volta 4 anni, 5 mesi fa da Juergen.
-
AutorePost
-
JuergenOspiteWP GPX Maps Error: GPX file not found! /home/mxvysmpn/public_html"/wp-content/uploads/2019/11/big_100m_1f.gpx"
Warning: Attempt to read property "dt" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 416
Warning: Attempt to read property "lat" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 417
Warning: Attempt to read property "lon" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 418
Warning: Attempt to read property "maxEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 420
Warning: Attempt to read property "minEle" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 421
Warning: Attempt to read property "maxTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 422
Warning: Attempt to read property "minTime" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 423
Warning: Attempt to read property "totalEleUp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 424
Warning: Attempt to read property "totalEleDown" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 425
Warning: Attempt to read property "avgSpeed" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 426
Warning: Attempt to read property "avgCad" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 427
Warning: Attempt to read property "avgHr" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 428
Warning: Attempt to read property "avgTemp" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 429
Warning: Attempt to read property "totalLength" on array in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 430
Hi all,
I want to display non nextgen images (just attached images) on a map. My shortcode looks like this:
© OpenStreetMap contributorsjQuery(document).ready(function() {
jQuery( "#wpgpxmaps_92062_3351504" ).wpgpxmaps( { targetId : "92062_3351504", mapType : "HYBRID", mapData : [], graphDist : [], graphEle : [], graphSpeed : [], graphHr : [], graphAtemp : [], graphCad : [], graphGrade : [], waypoints : [], unit : "0", unitspeed : "0", color1 : ["#3366cc"], color2 : "#3366cc", color3 : "#ff0000", color4 : "#ff77bd", color5 : "#beecff", color6 : "#beecff", color7 : "#ff77bd", chartFrom1 : "", chartTo1 : "", chartFrom2 : "", chartTo2 : "", startIcon : "", endIcon : "", currentIcon : "", waypointIcon : "", currentpositioncon : "", usegpsposition : "", zoomOnScrollWheel : "", ngGalleries : [], ngImages : [], pluginUrl : "https://devfarm.it/wp-content/plugins", TFApiKey : "74091772296743e3a6914fa00e348953", langs : { altitude : "Altitudine", currentPosition : "Current position", speed : "Velocità", grade : "Grade", heartRate : "Battito Cardiaco", atemp : "Temperature", cadence : "Cadenza", goFullScreen : "Go full screen", exitFullFcreen : "Exit full screen", hideImages : "Hide images", showImages : "Show images", backToCenter : "Ritorna al centro della mappa" } });
});
The track is displayed, but I get error messages like that:
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps_utils_nggallery.php on line 103 Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps_utils_nggallery.php on line 104 Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps_utils_nggallery.php on line 105
I can follow the code to that lines and understand the flow, but beeing not a programmer, I don’t know, how to fix this. Does someone has an idea?
(plugin version 1.7, php 7.2.7 , worpdress 5.2.4)
Thanks and best regards!
JuergenOspiteMy shortcode looks like this:
sgpx attachments="true" gpx="/wp-content/uploads/2019/11/big_100m_1f.gpx"
(sorry, having trouble with including code into a post)
-
AutorePost