WordPress.org

Ready to get started?Download WordPress

Forums

WP Find Your Nearest
Error using standard (2 posts)

  1. danielbeynon@gmail.com
    Member
    Posted 1 year ago #

    I am using standard and it was working perfectly fine on the previous domain i used it on. I have since migrated the whole wordpress install (plugins and all) and now when searching it displays the results below these errors.

    Warning: deg2rad() expects parameter 1 to be double, string given in /homepages/10/d461113626/htdocs/**************/wp-content/plugins/wp-find-your-nearest/wp-find-your-nearest.php on line 122

    Warning: deg2rad() expects parameter 1 to be double, string given in /homepages/10/d461113626/htdocs/**************/wp-content/plugins/wp-find-your-nearest/wp-find-your-nearest.php on line 122

    Warning: deg2rad() expects parameter 1 to be double, string given in /homepages/10/d461113626/htdocs/**************/wp-content/plugins/wp-find-your-nearest/wp-find-your-nearest.php on line 122

    Warning: deg2rad() expects parameter 1 to be double, string given in /homepages/10/d461113626/htdocs/***************/wp-content/plugins/wp-find-your-nearest/wp-find-your-nearest.php on line 122

    Warning: deg2rad() expects parameter 1 to be double, string given in /homepages/10/d461113626/htdocs/**************/wp-content/plugins/wp-find-your-nearest/wp-find-your-nearest.php on line 122

    I appreciate that in previous threads you have addressed this error as the longitude and latitude not being set/assigned to each post or posts but all posts have the correct longitude and latitude? I also created a single test post with longitude and latitude yet still the same error messages have displayed?

    I literally have no idea why this has happened, especially when i haven't touched any of the PHP within the plugin?

    ANY help is greatly appreciated :)

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

  2. Adam Sargant
    Member
    Plugin Author

    Posted 1 year ago #

    It will be caused by entries not having a lat/long value assigned... have you got any entries in trash or as drafts?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic