Conflict with Buddypress
-
I use the Buddypress plugin. When I try to upload a member profile image (in the frontend) I see errors in the console :
underscore.min.js?ver=1.13.1:2 Uncaught TypeError: Cannot read properties of undefined (reading 'replace') at Function.template (underscore.min.js?ver=1.13.1:2) at n.template (wp-util.min.js?ver=5.8.1:2) at n.render (wp-backbone.min.js?ver=5.8.1:2) at wp.Backbone.Subviews.<anonymous> (wp-backbone.min.js?ver=5.8.1:2) at underscore.min.js?ver=1.13.1:2 at Function.dr (underscore.min.js?ver=1.13.1:2) at wp.Backbone.Subviews._attach (wp-backbone.min.js?ver=5.8.1:2) at wp.Backbone.Subviews.set (wp-backbone.min.js?ver=5.8.1:2) at wp.Backbone.Subviews.add (wp-backbone.min.js?ver=5.8.1:2) at n.addFile (bp-plupload.min.js?ver=9.1.1:1)
It happens only with Accesspress Lite. I guess that some javascripts are missing in this theme or the way of loading javascript is not good. Any idea?
After more investigation it seems that the problem is caused by these initializations
$('#secondary-right, #primary').theiaStickySidebar({additionalMarginTop: 35}); $('#secondary-left, #primary').theiaStickySidebar({additionalMarginTop: 35});
in the custom.js script. If I comment these 2 lines it works.
- The topic ‘Conflict with Buddypress’ is closed to new replies.