Skip Navigation

[Resolved] TOOLSET MAPS Breaks when using a marker with an ID or TITLE

This thread is resolved. Here is a description of the problem and solution.

Problem:
Add a map and marker to a page produces a fatal error if the marker gets the address from a field on a post specified with an id attribute.

Solution:
This issue was resolved in Maps 1.5.2

Relevant Documentation:
https://toolset.com/download/toolset-maps/#changelog

This support ticket is created 6 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 3 replies, has 3 voices.

Last updated by Nigel 6 years, 6 months ago.

Assisted by: Nigel.

Author
Posts
#950501
WP-Bakery.jpg

I have the latest version of the TOOLSET Plugin.

I noticed that a page was not appeatring correctly..
hidden link

Upon deeper investigation it seems that whenever I tried to add a map marker that used a post ID number or a post TITLE, not only did the shortcode not get inserted properly, but the page would throw a 500 error each time I tried to save it.

Here is an example of the Map Marker original shortcode that I was using and it was breakig the page..

[wpv-map-marker map_id='beach-equipment-rental-map' marker_id='Hilton-beach-rental' marker_title='Hilton Virginia Beach Oceanfront' marker_field='wpcf-googleaddress' id='1939']Hilton Virginia Beach Oceanfront 3001 Atlantic Avenue Virginia Beach, VA 23451[/wpv-map-marker]

I could only add a Map Marker by inserting an actual google address.

Also, after saving the page... other extraneous HTML was written into the WPBakery Element area. For example... for some reason the following HTML got added tot he end of the element...
<span data-mce-type="bookmark" style="display: inline-block; width: 0px; overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span>

Not sure if this is a WP Bakery conflict with TOOLSET or not.

I thought that you should know about it.

#951218

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Ned

I was able to reproduce this on a local test site, whereby adding a map and marker to a page made with WP Bakery produces a fatal error if the marker gets the address from a field on a post specified with an id attribute.

I've reported that and am escalating this thread.

I can't see the extra span you described. I suspect that must come from some 3-way interaction involving something other than just WP Bakery and Toolset. To determine what you'd need to do a no-conflict test, switching theme to twentyseventeen and disabling all non-Toolset plugins except WP Bakery to see if the span disappeared, and using a process of elimination to determine the cause.

#952053

This is resolved with the latest Maps Update.
Nigel will then interact with you to close this ticket.

#952113

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi Ned

We published an update to Toolset Maps overnight to fix this issue, can you update and confirm that it works?