Skip Navigation

[Resolved] latest version of views conflicts with plugin

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

Problem:
latest version of views conflicts with plugin

Solution:
The issue was there is custom JS added to theme's settings that caused the issue and the custom JS was added at Genesis => Theme Settings => Header Scripts

You can find the proposed solution in this case with the following reply:
https://toolset.com/forums/topic/latest-version-of-views-conflicts-with-plugin/#post-1153175

Relevant Documentation:

This support ticket is created 6 years, 1 month 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)

Tagged: 

This topic contains 9 replies, has 2 voices.

Last updated by jillT 6 years ago.

Assisted by: Minesh.

Author
Posts
#1148430

I use Simple Lightroom plugin, which is the only one I have managed to find that does the job I need.
It has worked perfectly alongside Toolset, that is until the latest upgrade.
Now it has stopped working and I dare not upgrade my other sites!

I have also tried another lightbox plugin - but that is the same!!

Is there anyway this can be resolved?

#1149222

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Well - could you please share problem URL and access details with details what is not working so I can debug this issue further.

#1149869

Minesh
Supporter

Languages: English (English )

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

Well - the shared wp-admin access details are not working. Could you please share working wp-admin access details.

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

#1150619

Minesh
Supporter

Languages: English (English )

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

Yes, now access details working. Thanks for sharing it again.

Well - I see few Javascript error when I checked the browser console:

Uncaught TypeError: Cannot read property 'setDefaults' of undefined
    at HTMLDocument.<anonymous> ((index):247)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

Above error belongs to this code:

jQuery(document).ready(function(jQuery){jQuery.datepicker.setDefaults({"closeText":"Close","currentText":"Today","monthNames":["January","February","March","April","May","June","July","August","September","October","November","December"],"monthNamesShort":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],"nextText":"Next","prevText":"Previous","dayNames":["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"dayNamesShort":["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],"dayNamesMin":["S","M","T","W","T","F","S"],"dateFormat":"dS MM yy","firstDay":1,"isRTL":false});});

Could you please remove custom JS code and check if your issue still persists.

#1150671

I have no idea what that is, what produced it or indeed how to remove it!!!

#1150680

Minesh
Supporter

Languages: English (English )

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

Ok - it really looks like the conflict with views plugin as when I deactivate view's plugin - its back to work.

I will try to reproduce this on the clean install and will feedback here. Please hold on for further updates.

#1150681

Yep - that's what I said in my original post!

#1151119

Minesh
Supporter

Languages: English (English )

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

Ok - I checked this further and I found that when I switch to the default theme (2017) there is no issue so it looks like the compatibility issue with Genesis theme.

Could you please share both (parent + child) Genesis theme zip you are using and so I can test with that and once I confirm the issue - I will report it to our compatibility department.

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

#1153175

Minesh
Supporter

Languages: English (English )

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

Well - I've downloaded and insalled the Genesis parent and child theme you shared and I could not able to reproduce the issue and on my test install the popup just work fine.

Then on your site I checked and debug the issue and I found that at last the script that causing the issue is following which is added at Genesis => Theme Settings => Header Scripts:

<script type="text/javascript" src="//downloads.mailchimp.com/js/signup-forms/popup/embed.js" data-dojo-config="usePlainJson: true, isDebug: false"></script><script type="text/javascript">require(["mojo/signup-forms/Loader"], function(L) { L.start({"baseUrl":"mc.us15.list-manage.com","uuid":"dace83fd5007f79f7bf7ca200","lid":"e2052f4821"}) })</script>

Once you delete above script and save settings - the popup will start working. Could you please confirm?

At last I'm happy to found that the issue is not from Toolset as its specific to your install and theme settings.

#1153208

Thank you! I confirm that the issue is resolved.