By Zeosing on Friday, 15 December 2017
Posted in Technical Issues
Replies 5
Likes 0
Views 2K
Votes 0
Hi, fisrt of all, this is no a direct issue with EB, it´s a issue caused by some EB scrip that empty a var , and as cause of this we get his error, we know this beacuse we debug a little time , and we have the script working with other extensions such as Acymaling. The error is :


TypeError: elem is undefined
[Learn More]
infinite-scroll.pkgd.js:1489:7
factory/proto.getElementWindowScrollY
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1489:7
factory/proto.getElementScrollY
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1484:12
factory/proto.onAppendHistory
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1469:21
proto.emitEvent
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:253:5
factory/proto.dispatchEvent
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:687:3
factory/proto.appendNextPage/appendReady<
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1045:5
<anonymous> self-hosted:948:17 factory/proto.appendNextPage
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1052:5
factory/proto.onPageLoad
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1028:3
factory/proto.loadNextPage/onLoad<
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1009:5
<anonymous> self-hosted:950:17 request/req.onload
https://cdn-clientes.azureedge.net/pcyc/assets/js/infinite-scroll.pkgd.js:1223:7



So this is for a little help to know which EB scrip is causing this, and solve it.


More datails above.

Thanks as always.
Hey Zeosing,

I think the problem is mainly because by default, EasyBlog tries to render a copy of the script file without it's own jQuery library. This could cause issues with 3rd party libraries when they are using the same copy of jQuery from Joomla with the same jQuery modules

Your best way to resolve this is to namespace this and configure EasyBlog to render it's own jQuery. Although this is not EasyBlog's fault, I think it isn't a fault with the 3rd party extension too. The best way around solving all these conflicts is to render their own version of jQuery though.

You can configure EasyBlog to render it's own jQuery library in the settings, http://take.ms/uslzo
·
Saturday, 16 December 2017 00:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Mark, yes this is the first thing we do, to force EB to Render their own Jquery library, but same problem, and like the problem only happen to us with EB , this is because to we are here to ask for some help, we know this is not a direct problem in EB, but it´s related with no doubt . And by now we even find the way to resolve it.

Thanks as always.
·
Saturday, 16 December 2017 00:09
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, where are you getting these errors? I tried viewing on https://pcyc.es/blog/ and https://pcyc.es/blog/carne-de-wagyu-solo-con-verla-se-me-hace-la-boca-agua but did not hit any errors.
·
Saturday, 16 December 2017 00:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Scroll down in the page called https://pcyc.es/blog/ till the end with your JS console open and you will see it.
·
Saturday, 16 December 2017 00:14
·
0 Likes
·
0 Votes
·
0 Comments
·
Hm, from what I can see here, the problem seems to only happen on the 3rd time I scroll. The first two times has no issue. You need to check on your customized codes on how it is detecting the scroll.
·
Saturday, 16 December 2017 00:23
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post