February 12, 2018 at 5:11 pm #29238
I’m using Authentic theme. This theme has 0 JS errors in the browser console (you can test by yourself here: https://authentictheme.com/authentic/2016/04/24/what-makes-your-citys-style-unique/).
But when Addons for Elementor Pro is activated I hage some JS error coming from the main JS script of the theme.
(I have test without any other plugin activated except Addons for Elementor Pro and of course Elementor+Elementor Pro.)
You must be logged in to access attached files.February 13, 2018 at 11:17 am #29255
VeenaModeratorPost count: 7602
Can you share a link to your site, pls?February 13, 2018 at 1:51 pm #29257
A temp login to the site would be helpful. I am being redirected to login when I access your site (seen in screenshot).February 13, 2018 at 5:32 pm #29260This reply has been marked as private.February 13, 2018 at 5:45 pm #29261
FYI I have asked the same question to the authors of Authentic Theme, and they said to me that it is maybe because both of you are usgin the same WayPoint Library…February 14, 2018 at 1:08 pm #29270
Your are using waypoint and it is register with:
wp_register_script(‘waypoints’, LAE_PLUGIN_URL . ‘assets/js/jquery.waypoints’ . $suffix . ‘.js’, array(‘jquery’), LAE_VERSION, true);
But my theme also use this library: https://drop.codesupply.co/20180214154801bg014.png
So I have tested by commenting out your wp_register_script(), and all the errors disappeared…
So… it seems that this library does not suffer to be registered twice, how to deal with that.
ThanksFebruary 14, 2018 at 1:38 pm #29272
Can you ask the authentic theme folks to use the handle ‘waypoints’ to register their script? That way only one of the registrations will pass through and there won’t be two sets of scripts being loaded. This is one of the best practices followed and enforced in fact by ThemeForest review team to avoid duplication.
Thanks for bringing this to our attention – I think our handle name is generic enough and hence requesting the change from the theme side. If they have a better name we can consider the change from our side.February 14, 2018 at 4:18 pm #29279
I have passed the message but di you looked at their scripts? > https://drop.codesupply.co/20180214154801bg014.png
There are always using ‘waypoints’ as handle… if I’m not wrong…?February 15, 2018 at 9:14 am #29287
FYI I have disable you waypoint register in the stagging site I gave you access, so it’s normal if you test that you do no find any error anymore…
I’m not a developper, but just a end user, so it will cool if you contact them to solve this issue…
ThanksFebruary 15, 2018 at 2:06 pm #29289
I will research some more on your site (don’t have a copy of the paid theme to test on mine) and send a message to them if required. Will update you on what I find. ThanksFebruary 20, 2018 at 1:59 pm #29345
Authors of Authentic theme do not want to change anything + they do no provide support for third party plugins according to the Envato Support Policy…
So, I’m stuck with this issue.February 21, 2018 at 1:50 pm #29350
Sorry have been busy with some changes we were planning to rollout for integration of fancybox lightbox. Will look into this issue within next few hours and get back to you. Thanks for your patience.February 22, 2018 at 7:46 am #29359This reply has been marked as private.February 22, 2018 at 2:03 pm #29368This reply has been marked as private.February 24, 2018 at 12:25 pm #29383
The issue was due to we using an old version of waypoints and some API changes on waypoints side in the new version. We are done with the fixes. You should see an update on Monday. Thanks for helping us uncover this issue.
You must be logged in to reply to this topic.