Hi guys
I recently upgraded to the latest Piwigo, and now the OpenStreetMap plugin throws up this error message when viewing a photo:
Warning: Parameter 2 to osm_insert_map() expected to be a reference, value given in /homepages/3/d531441881/htdocs/woodfamilytree/include/smarty/libs/sysplugins/smarty_internal_runtime_filterhandler.php on line 63
It disappears when I refresh the page, though! But keeps coming up each time I view a new photo.
Any ideas?
Thanks a lot :)
James
Offline
Apply patches of these two commits
[Github] piwigo-openstreetmap commit e82537a0
[Github] piwigo-openstreetmap commit 19d6540c
Offline
Wonderful thanks so much for your quick reply! :)
Offline
Unfortunately I’m getting this problem where only half the map is displaying on my photo page. Any thoughts? Thanks a lot!
Offline
May I have a link to view a photo page ?
Offline
Katryne wrote:
May I have a link to view a photo page ?
Unfortunately the page is all set to private. But I have a screenshot if it helps at all:
https://www.dropbox.com/s/xdpb44chx7q2w … 5.jpg?dl=0
Appreciate that might not help though as you probably want to see the code! Sorry. Just wondered if it might be anything obvious! ☺️ thanks
Offline
I cannot see much.
Try to disable the navigation thumbnails.
What theme are you using ?
What are the settings of your OSM plugin ?
Offline
Thanks Katryne - I managed to figure out a workaround with custom CSS. The map seemed to bug out if there were too many keywords being displayed under it. So I limited with the width of the map, and it's sorted now :)
Offline