FoxSecrets
Active member
I'm racking my brain over this error and I still haven't figured it out!
It happens when I click on "Leave a rating" on any XFRM resource, but JUST when my add-on is installed.
When I uninstall my add-on, the button works again as usual.
This is very strange because my add-on is unrelated to XFRM so I have no idea what is going on.
I don't know if it's a XF bug or something caused by my add-on.
How to solve it? Does anyone have an idea? My XF version is 2.2.8 and XFRM 2.2.4
EDIT: I inserted the script but the error persists
It happens when I click on "Leave a rating" on any XFRM resource, but JUST when my add-on is installed.
When I uninstall my add-on, the button works again as usual.
This is very strange because my add-on is unrelated to XFRM so I have no idea what is going on.
I don't know if it's a XF bug or something caused by my add-on.
How to solve it? Does anyone have an idea? My XF version is 2.2.8 and XFRM 2.2.4
EDIT: I inserted the script but the error persists
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-bar-rating/1.2.2/jquery.barrating.min.js" referrerpolicy="no-referrer"></script>
Code:
rating-compiled.js?_v=c95a5dd5:3 Uncaught TypeError: a.barrating is not a function
at c.init (rating-compiled.js?_v=c95a5dd5:3:327)
at b (core-compiled.js?_v=c95a5dd5:150:237)
at c (core-compiled.js?_v=c95a5dd5:150:427)
at HTMLSelectElement.<anonymous> (core-compiled.js?_v=c95a5dd5:151:75)
at Function.each (jquery-3.5.1.min.js?_v=c95a5dd5:2:2976)
at S.fn.init.each (jquery-3.5.1.min.js?_v=c95a5dd5:2:1454)
at Object.f [as initialize] (core-compiled.js?_v=c95a5dd5:151:59)
at Object.activate (core-compiled.js?_v=c95a5dd5:43:175)
at b.__construct (core-compiled.js?_v=c95a5dd5:113:448)
at new b (core-compiled.js?_v=c95a5dd5:76:174)
Last edited: