{ Dev Farm }

Web & Windows Development

Not showing attached images on map – php error

Home Forum Wp Gpx Maps Support Not showing attached images on map – php error

  • This topic has 1 risposta, 1 partecipante, and was last updated 1 month fa by Juergen.
Stai vedendo 2 articoli - dal 1 a 2 (di 2 totali)
  • Autore
    Articoli
  • #92062 Reply
    Juergen
    Ospite
    WP GPX Maps Error: GPX file not found! /home/mxvysmpn/public_html"/wp-content/uploads/2019/11/big_100m_1f.gpx"

    Hi all,

    I want to display non nextgen images (just attached images) on a map. My shortcode looks like this:

    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!

    #92063 Reply
    Juergen
    Ospite

    My 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)

Stai vedendo 2 articoli - dal 1 a 2 (di 2 totali)
Rispondi a: Not showing attached images on map – php error

You can use BBCodes to format your content.
Your account can't use Advanced BBCodes, they will be stripped before saving.

Le tue informazioni:




:bye:  :good:  :negative:  :scratch:  :wacko:  :yahoo:  B-) 
more...
 

Non è possibile lasciare nuovi commenti.