Skip to content

location query not returning any data #394

@thom-moresoda

Description

@thom-moresoda

Description

After upgrading to craft 5 the location query no longer returns any data

{% set retailers = craft.entries.section('retailers').mapAddress({
	location: "london",
	radius: 20, 
	unit: 'mi',
}).all %}

Previously I could loop over this & get a list of retailers, after upgrading to craft 5 I'm not getting anything back

Additional info

  • Craft version: 5.1.7
  • Maps version: 5.0.0
  • PHP version: 8.2
  • Database driver & version: mariadb 10.5
  • Other Plugins: ckeditor, commerce, feed-me, postmark, snapshot, craft-retour, seomatic, templatecomments, freeform, scout, hyper, navigation, super-table, wishlist

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions