{ 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

  • Questo topic ha 1 risposta, 1 partecipante ed è stato aggiornato l'ultima volta 6 anni, 9 mesi fa da Juergen.
Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Autore
    Post
  • #92062 Rispondi
    Juergen
    Ospite
    WP GPX Maps Error: GPX file not found! /home/devfarm/www"/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 Rispondi
    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 visualizzando 2 post - 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:




Non è possibile lasciare nuovi commenti.