WordPress.org

Ready to get started?Download WordPress

Forums

WP Find Your Nearest
Cannot Select Country (10 posts)

  1. pealo86
    Member
    Posted 8 months ago #

    I can't choose a country in the settings page, the dropdown contains the following error inside it:

    Warning: Invalid argument supplied for foreach() in /home/devdemow/public_html/wp-content/plugins/wp-find-your-nearest/includes/admin_panel_FYN_options.php on line 228

    http://wordpress.org/plugins/wp-find-your-nearest/

  2. yodergreg
    Member
    Posted 8 months ago #

    I'm also having the same problem not being able to select a country.

  3. bootle
    Member
    Posted 8 months ago #

    Hi - the author gave this reply to the same question (from me) a few days earlier. This worked for me and he said a new version will be coming. In my case, it only affected the localhost install.

    hmmm... what happens if you replace line 225 in /includes/admin_panel_FYN_options.php

    require_once('countrycodes.php');

    with

    global $countrycodes_array;

    ?

  4. yodergreg
    Member
    Posted 8 months ago #

    Thanks. That worked!

  5. RianaMeyer
    Member
    Posted 7 months ago #

    Hi I have the same problem but do not feel confident to change the code myself. I couldn't find

    /includes/admin_panel_FYN_options.php

    either

    thanks
    Riana

  6. RianaMeyer
    Member
    Posted 7 months ago #

    ok phoned a friend and its working now. Thanks

  7. pjsmit
    Member
    Posted 5 months ago #

    In the pro version selecting a country works :-).

  8. stevepett
    Member
    Posted 4 months ago #

    /includes/admin_panel_FYN_options.php

    doesn't exist in my installation!

  9. bootle
    Member
    Posted 4 months ago #

    On my machine, the full path is:

    /home/colin/www/voakesfreefrom/wp-content/plugins/wp-find-your-nearest-premium/includes/admin_panel_FYN_options.php

    Hope that helps!

  10. stevepett
    Member
    Posted 4 months ago #

    Yahey!!!

    Sorted, many thanks.

    Steve

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.