I just noticed today that I can’t edit one of my draft posts because there are no buttons, all the buttons are not loaded. So I inspect the button bar and I saw bunch of errors in the console. One of them has “aioseop-count-chars” so I think this has something to do with All in One SEO Pack. And after deactivating AIOSEO I can confirm that all the buttons are loaded again, and missing again as soon as I reactivating AIOSEO and refresh the page.
The relevant error:
Uncaught TypeError: Cannot read property 'then' of undefined
at aioseopAddGutenbergEditorListener (aioseop-count-chars.js?ver=3.3.2:7)
at aioseopAddEventListeners (aioseop-count-chars.js?ver=3.3.2:4)
at HTMLDocument.<anonymous> (aioseop-count-chars.js?ver=3.3.2:3)
at i (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils&ver=5.3:2)
at Object.fireWith [as resolveWith] (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils&ver=5.3:2)
at Function.ready (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils&ver=5.3:2)
at HTMLDocument.J (load-scripts.php?c=1&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils&ver=5.3:2)