Hmmm… a couple things I notice:
1) That function is about adding dynamic info into our Maps javascript.
2) But there’s a JS error on that page that comes from a Yelp plugin. Maybe try deactivating that just to see if it resolves it.
3) Also, it’s a warning, not an error so you can see that the map still works correctly. You should make sure PHP Warnings are off. Refer to this short article on that:
https://aristath.github.io/blog/wp-hide-php-errors
Let me know what happens when you deactive that plugin (and all plugins if necessary) and we’ll go from there.
Hi Matt,
Many thanks for your quick reply.
I’ve never used and am not using any Yelp plugin. However there is a plugin that is only used on that page called Vimeography. I have disabled that and now the warning does not show.
I’ve tried changing my wp-config.php as stated in the link to supress the warning, but no luck.
So it seems that plugin is causing the warnings. Anything I can do about that?
Thanks
I’ll test with Vimeography now and let you know what I find.
I was able to replicate that error exactly. We’re very close to releasing a new version, so I reported this and we’ll resolve it in the new version which we plan to release very soon.
Thanks!
Great, thanks. I’ll keep the extension disable untill then.
I appreciate you help with this.
We looked into this in detail, and unfortunately, it’s really a problem with Vimeography. They actually have an open ticket on it here:
https://github.com/davekiss/vimeography/issues/13
I hate to pass you off, but it truthfully is their bug.
Let me know if I can help any further. Thanks!
Many thanks for following up on this.
I’ll try contacting them directly and in the meantime I’ll turn of the visibility of the GMP on that one page.