Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I get this error and I don't know where it's from
Strict warning : Only variables should be passed by reference dans openlayers_views_style_data->map_features() (ligne 332 dans /home/vhosts/bioscene/prod/sites/all/modules/openlayers/modules/openlayers_views/views/openlayers_views_style_data.inc).
Anyone could help me to find out where it could come from??
Thank you.
Comments
Comment #1
Thithi32 CreditAttribution: Thithi32 commentedWell I changed line 332 of openlayers/modules/openlayers_views/views/openlayers_views_style_data.inc
by
And now it works.
Is it a bug? If so, can anyone correct it on the dev branch?
Comment #2
BParticle CreditAttribution: BParticle commentedHello,
I had the same error. I changed the line you suggested and got rid of it. Interesting is that it appeared on my local machine only, not on the remote server. Maybe something with PHP version.
Thank you!
Comment #3
FranciscoLuz CreditAttribution: FranciscoLuz commentedI got this warning too.
Comment #4
PolThanks, patch has been committed.