XF 2.0 Header Removed and jQuery.Deferred exception

Gael56

Member
Hello,

I deleted the header of my template like this :

Code:
  <xf:comment>
        <xf:if is="property('xbLogoPosition') != 'belownav'">
        <xf:macro name="header" />
        </xf:if>
    </xf:comment>

... and since I get this error:

jQuery.Deferred exception: Argument 1 of Window.getComputedStyle is not an object

and :

Code:
getEditorConfig@http://www.example.com/forum/js/xf/editor-compiled.js?_v=9066342a:98:21
init@http://www.example.com/forum/js/xf/editor-compiled.js?_v=9066342a:97:370
c@http://www.example.com/forum/js/xf/core-compiled.js?_v=9066342a:112:458
e@http://www.example.com/forum/js/xf/core-compiled.js?_v=9066342a:113:147
f/<@http://www.example.com/forum/js/xf/core-compiled.js?_v=9066342a:113:307
each@http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js?_v=9066342a:2:2713
each@http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js?_v=9066342a:2:1001
f@http://www.example.com/forum/js/xf/core-compiled.js?_v=9066342a:113:266
activate@http://www.example.com/forum/js/xf/core-compiled.js?_v=9066342a:42:412
onPageLoad@http://www.example.com/forum/js/xf/core-compiled.js?_v=9066342a:25:291
j@http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js?_v=9066342a:2:29997
g/</k<@http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js?_v=9066342a:2:30313
undefined

So the edit function doesn't work anymore:
1516901039485.webp

I have this error too when I click:
TypeError: Argument 1 of Window.getComputedStyle is not an object
Code:
getEditorConfig
http://www.example.com/forum/js/xf/editor-compiled.js:98:21
init
http://www.example.com/forum/js/xf/editor-compiled.js:97:370
c
http://www.example.com/forum/js/xf/core-compiled.js:112:458
e
http://www.example.com/forum/js/xf/core-compiled.js:113:147
f/<
http://www.example.com/forum/js/xf/core-compiled.js:113:307
each
http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js:2:2713
each
http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js:2:1001
f
http://www.example.com/forum/js/xf/core-compiled.js:113:266
activate
http://www.example.com/forum/js/xf/core-compiled.js:42:412
handleAjax/<
http://www.example.com/forum/js/xf/message.min.js:13:110
setupHtmlInsert/<
http://www.example.com/forum/js/xf/core-compiled.js:47:120
u
http://www.example.com/forum/js/xf/core-compiled.js:78:32
c/<
http://www.example.com/forum/js/xf/core-compiled.js:79:14
i
http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js:2:28012
fireWith
http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js:2:28783
A
http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js:4:14033
c/<
http://www.example.com/forum/js/vendor/jquery/jquery-3.2.1.min.js:4:16323

Can you help me ?

Thanks

Edit : The text editor has also disappeared (in quick response and thread)
 
Last edited:
Oh ok, it's not me who has broken something :)

Thank you, I hope that the update will be done soon

You could as a simple workaround, instead of commenting the entire code out, just use CSS to hide it for the time being:
Code:
#header { display: none; }
in extra.less
 
Top Bottom