-
Author
-
September 1, 2015 at 18:43 #75713playismParticipant
Hello, after updating to kleo 3.0.7, it also force updated Visual Composer to 4.6.2. At this point, for product add page, VC started giving javascript error (Uncaught TypeError: Cannot read property ‘getRelatedTab’ of undefined) and because of it product details tabs cant be selected. Disabling VC for products or disabling wpml or downgrading VC to the earlier version fix the problem (neither we prefer). I think the new tabs of VC causes the conflict. Any suggestions for a fix?
September 2, 2015 at 17:34 #75834AndreiModeratorWell, you should enable VC for products only if you’re using in there. I think this issue should be reported to the VC plugin author, so you can try to do that. Also, an update of our theme will be released shortly which will include update to VC 4.7, maybe that will fix your issue.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 3, 2015 at 09:10 #75982playismParticipantthanks for the quick response,
we also contacted both WPML and VC authors since it seems to be related to WPML also (without WPML, it works normal)In WPML support forums, there is another case such as this and they also told us it is a known issue and they contacted VC for it. However there is no status update on it.
https://wpml.org/forums/topic/i-cant-switch-to-another-tab-in-product-data-of-product-edit-page/
In VC support, the author told us, they have no known issue such as this and asked us to contact theme author.
Since the javascript error seems to be related to new tabs feature introduced in 4.6 (it works fine when we downgrade to previous version), is there a way to disable tabs of VC, or how to actually debug this error?
September 3, 2015 at 19:01 #76085AndreiModeratorWe’ll release an update with VC 4.7 this days so I’ll ask you kindly to wait for it and see if the issue is still present.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 4, 2015 at 03:51 #76164playismParticipantSo as a workaround/temporary-fix I added a null check to caller object in assets/lib/vc_tabs/vc-tabs.js line 293 (it was somehow null in the above case) and bypassed changeHandler if it is null. I have no idea what side-effects it may have but since the javascript error is gone, product edit page functionality is back to normal.
September 5, 2015 at 19:24 #76310AndreiModeratorI understand, you can report this fix to the VC authors as well if it works fine for you.
Thanks for letting us know how you managed to fix it.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 8, 2015 at 07:46 #76526playismParticipantHello, I already contacted them but they responded as they don’t have such problem although WPML authors also contacted them with the same issue. Anyway, probably I can bypass this bug same way if it happens to continue on 4.7.
However I have another bug related to VC which VC developers cant duplicate too. They advised me to upgrade to 4.7. Is there a release plan for new Kleo update which includes 4.7 soon?
The bug is, in the backend editor, when i add css animation right-to-left, it doesnt add the css_animation=”right-to-left” part to the shortcode (i check in classic view) so the animation doesnt work. it adds the parameter so it works for left-to-right and other animation types.
if I add css_animation=”right-to-left” part manually in classic-view it works and there is no problem. i tried this in a clean setup for text block and single image.
I couldnt find the part where it creates shortcode in the backend editor yet so I have no fix for this yet.
September 8, 2015 at 19:35 #76619AndreiModeratorHi,
An update which will include VC 4.7 will be released in a couple of days.
Can you please let me know to what VC element did you tried to add that animation ?
You can as well make a test by switching to the default wordpress theme and deactivate the K-Elements plugin and see if the issue is still present, If in this case it’s still present then it’s not related to our theme and it is indeed a bug from VC.Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 9, 2015 at 06:53 #76662playismParticipanthello, yes you were right, i just checked with default theme, disabled all plugins except VC and there is no problem.
When I enable k-elements, there is a new option in css animation (animate when visible/animate when almost visible) and also animation type right-to-left doesnt get added to the shortcode parameters. I guess k-elements cause the conflict.
Any suggestions for a fix?
Thank you very much.September 9, 2015 at 11:54 #76679AndreiModeratorThanks for testing and letting us know about this issue, we’ll put it to test as well and if there is any issues with it we’ll address them in the next update.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSeptember 16, 2015 at 13:08 #77972AbeKeymasterPlease test with 3.0.8 and let us know if you encounter problems
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.