XF 2.2 BBcode bar missing and Edit button not working

jul

Well-known member
Hello all,

Currently I am stuck with an issue I cannot find a solution for. After hours of scrolling through this forums I just cannot find anything that can help me.
The issue I am facing is exactly this: https://xenforo.com/community/threads/bbcode-editor-and-edit-button-breaks.186357/

2020-10-22-23-08-53-zybLH.png


I do like to mention that this issue persist even with all add-ons disabled along with the default Xenforo style.

Anyone knows a solution or has tips to try?
 
What was the last change or action you took just prior to the problem starting?

Is anything in the Console tab of the browser inspector?
 
I get these errors in the inspector:

Code:
Query.Deferred exception: Cannot read property 'filter' of undefined TypeError: Cannot read property 'filter' of undefined
    at b (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:28719)
    at b.recalculate (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:29105)
    at b.recalculateIfNeeded (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:28659)
    at b.getToolbars (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:27733)
    at c.getButtonConfig (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:13560)
    at c.getEditorConfig (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:12711)
    at c.startInit (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:10011)
    at c.init (https://redacted.com/redacted/js/xf/editor-compiled.js?_v=8125f495:42:9787)
    at b (https://redacted.com/redacted/js/xf/core-compiled.js?_v=8125f495:11:2507)
    at c (https://redacted.com/redacted/js/xf/core-compiled.js?_v=8125f495:11:2697) undefine

Code:
jquery-3.5.1.min.js?_v=8125f495:2 Uncaught TypeError: Cannot read property 'filter' of undefined
    at b (editor-compiled.js?_v=8125f495:42)
    at b.recalculate (editor-compiled.js?_v=8125f495:42)
    at b.recalculateIfNeeded (editor-compiled.js?_v=8125f495:42)
    at b.getToolbars (editor-compiled.js?_v=8125f495:42)
    at c.getButtonConfig (editor-compiled.js?_v=8125f495:42)
    at c.getEditorConfig (editor-compiled.js?_v=8125f495:42)
    at c.startInit (editor-compiled.js?_v=8125f495:42)
    at c.init (editor-compiled.js?_v=8125f495:42)
    at b (core-compiled.js?_v=8125f495:11)
    at c (core-compiled.js?_v=8125f495:11)

I got the issue when I upgraded from 2.1 to 2.2 BETA. Not entirely sure what BETA version it was. But it was one of the earlier ones.
 
Were you using this addon prior to the upgrade?


If so, uninstall that. Don't just disable it; uninstall it completely. It is incompatible with 2.2 and it causes at least some of the errors you are seeing.
 
  • Like
Reactions: jul
Were you using this addon prior to the upgrade?


If so, uninstall that. Don't just disable it; uninstall it completely. It is incompatible with 2.2 and it causes at least some of the errors you are seeing.

I had that add-on but awhile back. It was uninstalled long before the upgrade that broke it. Not sure if I have to delete some extra files? Or is it enough using the uninstall under add-ons (which I had)?
 
Getting the following error in console when replying in a thread:

Code:
editor-compiled.js?_v=9e454e27:960 Uncaught TypeError: Cannot read property 'bbCode' of null
    at c.isBbCodeView (editor-compiled.js?_v=9e454e27:960)
    at Object.modifyEditorContent (core-compiled.js?_v=9e454e27:72)
    at Object.replaceEditorContent (core-compiled.js?_v=9e454e27:71)
    at Object.clearEditorContent (core-compiled.js?_v=9e454e27:72)
    at c.afterSubmit (message.min.js?_v=9e454e27:34)
    at c.afterSubmit (postmacros.min.js?_v=9e454e27:8)
    at HTMLFormElement.<anonymous> (core-compiled.js?_v=9e454e27:87)
    at HTMLFormElement.dispatch (jquery-3.5.1.min.js?_v=9e454e27:2)
    at HTMLFormElement.v.handle (jquery-3.5.1.min.js?_v=9e454e27:2)
    at Object.trigger (jquery-3.5.1.min.js?_v=9e454e27:2)
isBbCodeView @ editor-compiled.js?_v=9e454e27:960
modifyEditorContent @ core-compiled.js?_v=9e454e27:72
replaceEditorContent @ core-compiled.js?_v=9e454e27:71
clearEditorContent @ core-compiled.js?_v=9e454e27:72
afterSubmit @ message.min.js?_v=9e454e27:34
afterSubmit @ postmacros.min.js?_v=9e454e27:8
(anonymous) @ core-compiled.js?_v=9e454e27:87
dispatch @ jquery-3.5.1.min.js?_v=9e454e27:2
v.handle @ jquery-3.5.1.min.js?_v=9e454e27:2
trigger @ jquery-3.5.1.min.js?_v=9e454e27:2
(anonymous) @ jquery-3.5.1.min.js?_v=9e454e27:2
each @ jquery-3.5.1.min.js?_v=9e454e27:2
each @ jquery-3.5.1.min.js?_v=9e454e27:2
trigger @ jquery-3.5.1.min.js?_v=9e454e27:2
submitResponse @ core-compiled.js?_v=9e454e27:260
(anonymous) @ core-compiled.js?_v=9e454e27:87
n @ core-compiled.js?_v=9e454e27:54
c @ jquery-3.5.1.min.js?_v=9e454e27:2
fireWith @ jquery-3.5.1.min.js?_v=9e454e27:2
l @ jquery-3.5.1.min.js?_v=9e454e27:2
(anonymous) @ jquery-3.5.1.min.js?_v=9e454e27:2
load (async)
send @ jquery-3.5.1.min.js?_v=9e454e27:2
ajax @ jquery-3.5.1.min.js?_v=9e454e27:2
ajax @ core-compiled.js?_v=9e454e27:55
(anonymous) @ core-compiled.js?_v=9e454e27:259
setTimeout (async)
submit @ core-compiled.js?_v=9e454e27:259
(anonymous) @ core-compiled.js?_v=9e454e27:87
dispatch @ jquery-3.5.1.min.js?_v=9e454e27:2
v.handle @ jquery-3.5.1.min.js?_v=9e454e27:2
c @ rocket-loader.min.js:1

Does anyone have any idea what the issue is?
 
Were you using this addon prior to the upgrade?


If so, uninstall that. Don't just disable it; uninstall it completely. It is incompatible with 2.2 and it causes at least some of the errors you are seeing.
This plugin was quite useful and allowed formatting of years of posts in a spoiler and code tag. See this post, for example. Any ideas how to resolve hundreds of misformatted posts now that I've had to disable this plugin? Thanks.
 
Top Bottom