{ Dev Farm }

Web & Windows Development

error line 300

Home Forum Wp Gpx Maps Support error line 300

Questo argomento contiene 1 risposta, ha 1 partecipante, ed è stato aggiornato da  Dirk 2 mesi, 3 settimane fa.

Stai vedendo 2 articoli - dal 1 a 2 (di 2 totali)
  • Autore
    Articoli
  • #82583 Risposta

    Nerea

    Hi,

    The maps display perfectly on the page but a error message appears on the top of the page.
    It says that it has an error on line 300 of the php file of the plugin.

    How can I do to fix it or not show this message since the maps display correctly and everything else is working.

    Thanks for help!

    #82618 Risposta

    Dirk

    I see the same error, it started recently for me. I don’t know PHP, but I had a look at the file and this is what worked for me:

    – make a backup of wp-gpx-maps.php
    – remove $avg_cad from the list on line 300
    – remove line 336 ($avg_cad = $cache_obj["avg_cad"];)

    As I said, I’m not familiar with PHP or the plugin code (it seems trying to include a variable in the cache file name that doesn’t exist yet) so use at your own risk, but this removes the error message for me and doesn’t seem to affect anything else.

Stai vedendo 2 articoli - dal 1 a 2 (di 2 totali)
Rispondi a: error line 300

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.