Ajax just quit working for me this week; I hadn't done any CB updates for months because we're in an active event season up until November 17, however I couldn't get non-SU users to view a particular CB Gallery, so I caved in an updated everything. It was a lot of updates. Now, Ajax is having an issue in lists and I can't figure out what's going on. I suspect it is a Privacy or Conditional issue but I'm not sure how to track it down any further. F12 shows this when I click the pencil icon on any Ajax in a user list to edit, even when I'm logged in as SU:
Code:
jquery.cbtooltip.min.js?v=00dffaa8c3ea0708:1 Uncaught TypeError: e.lastIndexOf is not a function
at m (jquery.cbtooltip.min.js?v=00dffaa8c3ea0708:1)
at HTMLDivElement.<anonymous> (jquery.cbtooltip.min.js?v=00dffaa8c3ea0708:1)
at Function.each (jquery-2.2.4.min.js?v=00dffaa8c3ea0708:1)
at e.fn.init.each (jquery-2.2.4.min.js?v=00dffaa8c3ea0708:1)
at e.fn.init.init (jquery.cbtooltip.min.js?v=00dffaa8c3ea0708:1)
at e.fn.init.g.fn.cbtooltip (jquery.cbtooltip.min.js?v=00dffaa8c3ea0708:1)
at Object.success (jquery.cbcorefieldsajax.min.js?v=e96a7fe2c84b0357:1)
at u (jquery-2.2.4.min.js?v=00dffaa8c3ea0708:1)
at Object.fireWith [as resolveWith] (jquery-2.2.4.min.js?v=00dffaa8c3ea0708:1)
at k (jquery-2.2.4.min.js?v=00dffaa8c3ea0708:3)
This was working before I did any updates, but I hadn't done any updates since April. There's extensive use of Privacy and Conditions, but they were working before the upgrades. Were there any significant changes? Any tips on how to troubleshoot?
The initial problem I had was that going to CB Gallery from a menu item as CB Plugin > Gallery resulted in a Not Authorized error. The Gallery now works, but Ajax quit. There are several Auto Actions two, and a few have been troublesome now, too... and they may be related to the Ajax. Perhaps there's a deep underlying issue I can't see.
Code:
jQuery().jquery
"3.3.1"
cbjQuery().jquery
"2.2.4"