{ Dev Farm }

Web & Windows Development

Old tracks work, new tracks don't display + php errors

Home Forum Wp Gpx Maps Support Old tracks work, new tracks don't display + php errors

  • Questo topic ha 0 risposte, 1 partecipante ed è stato aggiornato l'ultima volta 9 anni, 11 mesi fa da Adventure Riding NZ.
Stai visualizzando 1 post (di 1 totali)
  • Autore
    Post
  • #25604 Rispondi
    Adventure Riding NZ
    Ospite

    I have had my site running for several years and have ~150 GPZ tracks loaded, all my my existing GPZ uploads work fine,
    E.g. http://www.adventureridingnz.co.nz/gps-tracks-rides/north-island-tracks/aotearoa-road/

    I am trying to load new tracks and any new GPX files I load do not display correctly. The Google Map loads but the GPX track file is not displayed over it.
    E.g. http://www.adventureridingnz.co.nz/gps-tracks-rides/north-island-tracks/pillars-of-hercules/

    I ran Query Monitor and on pages with a new GPX track there are quite a few php errors for WP-GPX Maps, but old tracks do not have these errors.

    Creating default object from empty value /wp-gpx-maps_utils.php:194
    SimpleXMLElement::xpath(): Invalid expression /wp-gpx-maps_utils.php:223
    SimpleXMLElement::xpath(): xmlXPathEval: evaluation failed /wp-gpx-maps_utils.php:223
    Invalid argument supplied for foreach() /wp-gpx-maps_utils.php:230
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:402
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:403
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:404
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:405
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:406
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:407
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:408
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:409
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:410
    array_pop() expects exactly 1 parameter, 2 given /wp-gpx-maps_utils.php:411
    max(): Array must contain at least one element /wp-gpx-maps_utils.php:417
    min(): Array must contain at least one element /wp-gpx-maps_utils.php:418
    max(): Array must contain at least one element /wp-gpx-maps_utils.php:419
    max(): Array must contain at least one element /wp-gpx-maps_utils.php:420
    min(): Array must contain at least one element /wp-gpx-maps_utils.php:421
    Division by zero /wp-gpx-maps_utils.php:423

Stai visualizzando 1 post (di 1 totali)
Rispondi a: Old tracks work, new tracks don't display + php errors

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.