I am trying to add a map to the Toolset Template I've created for the LOCATIONS Post Type I've created, with Toolset Custom Fields. Unfortunately, when I click to add a map, it shows the settings briefly, for like half a second, and then errors out and just says "This block has encoutnered an error and can't be previewed."
Link to a page in the backend where the issue can be seen (you'll need to be logged in to see):
hidden link
I expected to see this work like it does for the map I created on this page, but for some reason in the dynamic template here it's failing to work: hidden link
Instead, I get the error noted above. One note -- I am using WP ALL IMPORT, which doesn't currently work with the ADDRESS Toolset field type, so it gets loaded into the custom field wpcf-address.
Not sure if this part of the problem or not, but figured it was worth a mention!
Thanks!
Hi,
Thank you for contacting us and I'd be happy to assist.
The access details that you've shared seem to be for a different website ( 'Adventures With My Dog' ).
Can you please share temporary admin login details for the website where this issue can be seen?
Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.
regards,
Waqar
Thank you for sharing the admin access details.
During troubleshooting, I noticed that no preview post was set in the "View with" field on the top.
( screenshot: hidden link )
I've selected one of the locations post and the error in the content template is fixed.
Next, I selected the "Address" field as the source in the Map block's setting and the map marker is showing now.
( screenshot: hidden link )
Thanks again Waqar! Had no idea that VIEW WITH needed to be selected for templates, but I do now, so should be good to go moving forward. Appreciate the help!!!