• Hi,

    I’m new to WordPress and this Geo my WP plugin and am trying to get the friends locator working.

    I’ve created 3 members and updated the profile addresses using the new Locator tab which appears after activating this plugin.

    I added a new page and included the tag: [wppl_friends_results]

    I’m using WP 3.5 and BuddyPress 1.6.2

    I’ve not created any Short Codes

    I received the following errors:

      Before beginning a search

    Search Panel (Sidebar widget)
    Warning: Invalid argument supplied for foreach() in … \wp-includes\shortcodes.php on line 297

    Result page
    Warning: Illegal string offset ‘form’ in … \wp-content\plugins\geo-my-wp\plugins\wppl-friends-locator\functions.php on line 280

    Current Location (Sidebar widget)
    [wppl_location show_name=”1″ display_by=”zipcode” title=”Your Current Location”]

      After Searching (using Sidebar widget

    Warning: Invalid argument supplied for foreach() in … \wp-includes\shortcodes.php on line 297
    Warning: array_chunk(): Size parameter expected to be greater than 0 in … \wp-content\plugins\geo-my-wp\plugins\wppl-friends-locator\functions.php on line 331

    Sorry, no members were found.
    Warning: Illegal string offset ‘wider_search’ in … \wp-content\plugins\geo-my-wp\plugins\wppl-friends-locator\functions.php on line 411

    Warning: Illegal string offset ‘wider_search_value’ in … wp-content\plugins\geo-my-wp\plugins\wppl-friends-locator\functions.php on line 411
    click here to search within a greater range or click here to see all results.

    Have I made any mistakes with this one?

    Thanks

    http://ww.wp.xz.cn/extend/plugins/geo-my-wp/

Viewing 1 replies (of 1 total)
  • Thread Starter aparmar

    (@aparmar)

    Hi,

    just noticed that the Current User Location (Sidebar widget), is actually working when on the Profile page (of a particular user), otherwise the following is appearing:

    [wppl_location show_name=”1″ display_by=”zipcode” title=”Your Current Location”]

    Is it possible to show the current User location, unless on the Profile page of another User?

    The other Search and Results errors still remain.

    Thanks

Viewing 1 replies (of 1 total)

The topic ‘Error messages friends locator shortcodes.php and functions.php’ is closed to new replies.