{ Dev Farm }

Web & Windows Development

error line 300

Home Forum Wp Gpx Maps Support error line 300

  • Questo topic ha 1 risposta, 1 partecipante ed è stato aggiornato l'ultima volta 1 anno, 4 mesi fa da Dirk.
Stai visualizzando 2 post - dal 1 a 2 (di 2 totali)
  • Autore
    Post
  • #82583 Rispondi
    Nerea
    Ospite

    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 Rispondi
    Dirk
    Ospite

    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 visualizzando 2 post - 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.