Skip Navigation

[Resolved] See below

This support ticket is created 4 years, 11 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 20 replies, has 2 voices.

Last updated by Kristian Adolfsson 4 years, 10 months ago.

Assisted by: Minesh.

Author
Posts
#1435503

Can't put this text in Topic!

Uncaught TypeError: viewUniqueId.split is not a function wpv_addon_maps.js?ver=2.0:1311

Try dropdown or button on either of these pages, check Console:

hidden link
hidden link

Press F5 and map shows with selection. No error.

Toolset Debug Information is EMPTY for architecturephotography.nu. Debug info below from adolfsson.photo.

Full error code seen in Console on both sites:

Uncaught TypeError: viewUniqueId.split is not a function
at WPViews.ViewAddonMaps.self.cleanupMarkersFromMapBlock (wpv_addon_maps.js?ver=2.0:1311)
at HTMLDocument.<anonymous> (wpv_addon_maps.js?ver=2.0:1289)
at HTMLDocument.dispatch (jquery.js?ver=1.12.4-wp:3)
at HTMLDocument.r.handle (jquery.js?ver=1.12.4-wp:3)
at Object.trigger (jquery.js?ver=1.12.4-wp:3)
at Object.a.event.trigger (jquery-migrate.min.js?ver=1.4.1:2)
at HTMLDocument.<anonymous> (jquery.js?ver=1.12.4-wp:3)
at Function.each (jquery.js?ver=1.12.4-wp:2)
at a.fn.init.each (jquery.js?ver=1.12.4-wp:2)
at a.fn.init.trigger (jquery.js?ver=1.12.4-wp:3)
self.cleanupMarkersFromMapBlock @ wpv_addon_maps.js?ver=2.0:1311
(anonymous) @ wpv_addon_maps.js?ver=2.0:1289
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
trigger @ jquery.js?ver=1.12.4-wp:3
a.event.trigger @ jquery-migrate.min.js?ver=1.4.1:2
(anonymous) @ jquery.js?ver=1.12.4-wp:3
each @ jquery.js?ver=1.12.4-wp:2
each @ jquery.js?ver=1.12.4-wp:2
trigger @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ wpv-pagination-embedded.js?ver=3.0.1:3519
d.complete @ jquery.js?ver=1.12.4-wp:4
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
i @ jquery.js?ver=1.12.4-wp:4
n.fx.tick @ jquery.js?ver=1.12.4-wp:4
setInterval (async)
n.fx.start @ jquery.js?ver=1.12.4-wp:4
n.fx.timer @ jquery.js?ver=1.12.4-wp:4
pb @ jquery.js?ver=1.12.4-wp:4
g @ jquery.js?ver=1.12.4-wp:4
dequeue @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ jquery.js?ver=1.12.4-wp:3
each @ jquery.js?ver=1.12.4-wp:2
each @ jquery.js?ver=1.12.4-wp:2
queue @ jquery.js?ver=1.12.4-wp:3
animate @ jquery.js?ver=1.12.4-wp:4
n.fn.<computed> @ jquery.js?ver=1.12.4-wp:4
self.manage_update_results @ wpv-pagination-embedded.js?ver=3.0.1:3509
(anonymous) @ wpv-pagination-embedded.js?ver=3.0.1:3762
i @ jquery.js?ver=1.12.4-wp:2
fireWith @ jquery.js?ver=1.12.4-wp:2
x @ jquery.js?ver=1.12.4-wp:4
c @ jquery.js?ver=1.12.4-wp:4
XMLHttpRequest.send (async)
send @ jquery.js?ver=1.12.4-wp:4
ajax @ jquery.js?ver=1.12.4-wp:4
self.get_updated_query_results @ wpv-pagination-embedded.js?ver=3.0.1:483
self.manage_changed_form @ wpv-pagination-embedded.js?ver=3.0.1:3745
(anonymous) @ wpv-pagination-embedded.js?ver=3.0.1:4157
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
trigger @ jquery.js?ver=1.12.4-wp:3
a.event.trigger @ jquery-migrate.min.js?ver=1.4.1:2
(anonymous) @ jquery.js?ver=1.12.4-wp:3
each @ jquery.js?ver=1.12.4-wp:2
each @ jquery.js?ver=1.12.4-wp:2
trigger @ jquery.js?ver=1.12.4-wp:3
(anonymous) @ wpv-pagination-embedded.js?ver=3.0.1:4031
dispatch @ jquery.js?ver=1.12.4-wp:3
r.handle @ jquery.js?ver=1.12.4-wp:3
ListPicker._handleMouseUp

#1435679

Wordfence is still OFF!

#1435929

Saw that you turned it on again.

BUT, it works on wpml.int.com now!!!
Try
hidden link
I've only worked on meta descriptions and changing some URLs and titles on some of the CPT.

Check the link on adolfsson.photo from before, and it's still not working.
Tried disabling WF as you did on the working site, but no luck.

Weird.

#1437423

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Yes, this is really weird.

Glad to know that one of the site issue is resolved.

Are you using any server-side caching or caching plugin - have you tried to disable/delete all cache, as well as browser cache?

#1441935

Hi Minesh
And now it is not working again.
I still get the error from above in the Console. Can't you just fix the error and do an update?
That would solve the problem?

#1442101

More news.
I redid the whole View for the pages that didn't work and they work now!!! Why would this matter?

BUT, the other site, adolfsson.photo, still have the problem so you need to update the Console error so we can get that one working again.

#1442225

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I redid the whole View for the pages that didn't work and they work now!!! Why would this matter?
==>
What you mean, do you mean you updated all the posts from the admin belongs to post type which is your view set to query by?

BUT, the other site, adolfsson.photo, still have the problem so you need to update the Console error so we can get that one working again.
==>
This is really strange - have you tried to update all pages on adolfsson.photo site as well?

#1442241

NO, I created the VIEW from scratch, choosing CPT, what to filter for and the layout for the maps and markers. Don't understand why it helped but it was just one of the maps that didn't work so I thought I try since the other worked.

NONE of the maps work on adolfsson.photo. There is a bug in the code, don't know why it's only showing on that site now. Have no problem on transportmuseums.com where we don't use WPML, though.

#1442247

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Can I have access details for the site: adolfsson.photo?

As I checked the sites list on the following link but I do not find the site: adolfsson.photo
=> hidden link

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#1442479

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing the access details. I checked on the site and Yes, I can confirm that I can see the issue with the following page:
=> hidden link

Then I run a test on my local test install and I do not able to reproduce the issue where I've created the view with map with taxonomy filter added.

After that I've tried to create a network site on my local test install and again I've tried to create a view with map having taxonomy filter and it just works fine.

So, I will try to grab the Adolfsson.photo site copy from your install using duplicator, It might need around 900MB of server space - should I go ahead and create the duplicator?

#1442531

Sure do so, the load on that server is very low.

#1444165

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've escalated the issue to our next level support for further debugging. Please hold on for further updates.

#1444169

Great!

#1446165

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

I've good news to share with you that we able to spot the issue and we will report this to our Devs.

However - the workaround to fix this issue is, with your view, checkmark the option "Don't include current page in query result" available with "Query Options" section and view with a map will work without any issues.
=> hidden link

You can see it working here: hidden link

Can you please confirm it works at your end.

#1448689

It works like a charm!!!
Can you explain the details why I need to do it? We have always left at default and it has worked on maybe 50 pages with Views like this.

Is this the final solution of you will update the plugin with a fix?

Thanks!!!