{ Dev Farm }

Web & Windows Development

The first argument should be an array…

Home Forum Wp Gpx Maps Support The first argument should be an array…

  • Questo topic ha 4 risposte, 2 partecipanti ed è stato aggiornato l'ultima volta 11 anni, 8 mesi fa da Kannan Balasubramanian.
Stai visualizzando 5 post - dal 1 a 5 (di 5 totali)
  • Autore
    Post
  • #578 Rispondi
    Kannan Balasubramanian
    Ospite

    Installed the plugin and inserted the short code pointing to a different URL (subdomain within my domain).

    When I visit the blog I get the error “The first argument should be an array in…” & “Invalid argument supplied for foreach() in….”

    Wordpress Version: WordPress 3.4.1
    PHP Version: 5

    #580 Rispondi
    max
    Amministratore del forum

    Hi, can you show me your page? which shortcode are you using?

    #584 Rispondi
    Kannan Balasubramanian
    Ospite

    Page is located at http://blog.binarybits.net/?p=264 and the shortcode is

    PS: I have tried removing space within the file and folder names by renaming then and still doesn’t work.

    #590 Rispondi
    max
    Amministratore del forum

    Warning: fopen(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 858

    Warning: fopen(http://files.binarybits.net/kannan/Tours/Kumili%20July%202012/Kumili%20Tour%20Final.gpx): Failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 858

    Warning: simplexml_load_file(): /tmp/gpx27pJAf:1: parser error : Document is empty in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php on line 217

    Warning: simplexml_load_file(): in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php on line 217

    Warning: simplexml_load_file(): ^ in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps-utils.php on line 217

    Warning: Attempt to read property "dt" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 416

    Warning: Attempt to read property "lat" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 417

    Warning: Attempt to read property "lon" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 418

    Warning: Attempt to read property "maxEle" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 420

    Warning: Attempt to read property "minEle" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 421

    Warning: Attempt to read property "maxTime" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 422

    Warning: Attempt to read property "minTime" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 423

    Warning: Attempt to read property "totalEleUp" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 424

    Warning: Attempt to read property "totalEleDown" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 425

    Warning: Attempt to read property "avgSpeed" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 426

    Warning: Attempt to read property "avgCad" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 427

    Warning: Attempt to read property "avgHr" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 428

    Warning: Attempt to read property "avgTemp" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 429

    Warning: Attempt to read property "totalLength" on null in /home/mxvysmpn/public_html/wp-content/plugins/wp-gpx-maps/wp-gpx-maps.php on line 430

    you can replace the spaces with %20 as html standard like this:

    from the next release I’ll fix it

    #596 Rispondi
    Kannan Balasubramanian
    Ospite

    Yup this worked.

    Thanks 🙂

Stai visualizzando 5 post - dal 1 a 5 (di 5 totali)
Rispondi a: The first argument should be an array…

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.