depreciate footer widget ?
hello can't find anything in my menu apparence/widget for my footer widget
there are all empty and got message :
Notice: La fonction wp_enqueue_script() a été appelée de façon incorrecte. Le script « wp-editor » ne doit pas être mis en file d’attente avec le nouvel éditeur de widgets (wp-edit-widgets ou wp-customize-widgets). Veuillez lire Débogage dans WordPress (en) pour plus d’informations. (Ce message a été ajouté à la version 5.8.0.) in /home/blottifree/www/wp-includes/functions.php on line 5835
and in apparence/custom/widgets i can find footer 2 and 3 but 1 error :
TypeError: Cannot read properties of undefined (reading 'length')
at p (https://c0.wp.com/c/6.1.1/wp-includes/js/dist/block-serialization-default-parser.min.js:2:1856)
at f (https://c0.wp.com/c/6.1.1/wp-includes/js/dist/block-serialization-default-parser.min.js:2:1144)
at i (https://c0.wp.com/c/6.1.1/wp-includes/js/dist/block-serialization-default-parser.min.js:2:759)
at Fn (https://c0.wp.com/c/6.1.1/wp-includes/js/dist/blocks.min.js:10:35954)
at fe (https://c0.wp.com/c/6.1.1/wp-includes/js/dist/customize-widgets.min.js:7:17581)
at https://c0.wp.com/c/6.1.1/wp-includes/js/dist/customize-widgets.min.js:7:17924
at Array.map (<anonymous>)
at https://c0.wp.com/c/6.1.1/wp-includes/js/dist/customize-widgets.min.js:7:17916
at Object.bt [as useState] (https://c0.wp.com/c/6.1.1/wp-includes/js/dist/vendor/react-dom.min.js:9:46710)
at e.useState (https://c0.wp.com/c/6.1.1/wp-includes/js/dist/vendor/react.min.js:9:10899)
how to debug plz ?
thank you
Comments
Hi,
Please, turn off all of the plugins, refresh your cache, and check if the problem persists.
Moreover, switch to another theme, like Twenty Twenty, and check if these errors persist.
Thanks