Hello newtag,
Please ensure that you have used the latest version of the theme (v.6.7) and also the latest version of Visual Composer (v.4.11) without any untested plugins. Clear all cache and test it again.
If you need more assistance in this regard, please provide your website URL so I can further inspect this problem.
Thank you for the message!
Hi again! I debuged the error:
1.
When im using infinity scrolling on the category page – the theme inserts the following inline js code:
<script>
jQuery(window).ready(function() {
tdAjaxLoop.loopState.sidebarPosition = '';
tdAjaxLoop.loopState.moduleId = '15';
tdAjaxLoop.loopState.currentPage = 1;
tdAjaxLoop.loopState.max_num_pages = 7;
tdAjaxLoop.loopState.atts = {
'category_id':2601
};
tdAjaxLoop.loopState.ajax_pagination_infinite_stop = 0;
tdAjaxLoop.init();
});
</script>
2.
The firebug Console shows following Error:
ReferenceError: jQuery is not defined
jQuery(window).ready(function() {
3.
The Problem, why this error is accuring is, that im using a plugin to move the js files to the footer. In this case the inline Code mentioned before is called before the js files.
4. ANY IDEA How to solve this Problem without removing the Plugin? If its possible to move the inline js to the footer, below the other scripts – i guess it will work – but how?
thank you so much
Hello newtag,
I have tested on my side, without Visual Composer and with the infinite loading for the category page and it are working as properly. Please try without untested plugins if you are using because its could cause som errors in the theme and could cause this type of issue. The only recommended plugin used to move the js to the footer is our tagDiv speed booster. For more references about this kind of plugin you will find in our documentation here -> https://forum.tagdiv.com/how-to-make-the-site-faster/ and please notice that this tutorial is only addressed for advanced users.
If you need more assistance in this regard and if your pagination for category pages are not working, please provide your WEBSITE URL so I can further inspect the issue.
Thank you for your understanding!
HI, i found the bug, please read my answer https://forum.tagdiv.com/topic/infinitive-loading-on-category-dont-work/#post-103447
if you have any idea – it would be awesome.
best
Hello newtag,
Unfortunately, I do not know what kind of plugin you are using on the theme and we have no idea about the behaviour of the theme with this kind of plugin. You have to set your plugin to move this kind of js to the footer or you can set it to ignore the javascript. Please notice that we cannot provide support for untested plugins. I suggest you addressing to the author of this plugin, explains this case because he should be able to provide you a more accurate response or to guide you in the right direction because he is the author’s plugin. Also, please notice that we cannot provide customization services at the moment and please consider hiring a freelancer/developer to help you in this regard. Usually, we recommend the developers from studio.envato.com.
Thank you for your understanding!