Better support for search_api in GeofieldGoogleMapViewStyle render

Created on 21 August 2018, over 6 years ago
Updated 11 June 2024, 7 months ago

Great module, thanks for all your hard work.

We have a search_api view and we got al lot of php notices:
Trying to get property of non-object in GeofieldGoogleMapViewStyle.php on line 530

The problem is that the $result->_entity is null.
I have fixed this by getting the $entity by $entity = $result->_object->getValue();

Patch will follow.

🐛 Bug report
Status

Fixed

Version

2.10

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024