• JCV

    (@psykonevro)


    Hi there,
    I noticed I get the warning
    Notice: Function wp_enqueue_script() was called incorrectly. "wp-editor" script should not be enqueued together with the new widgets editor (wp-edit-widgets or wp-customize-widgets). Please see Debugging in WordPress for more information. (This message was added in version 5.8.0.) in wp-includes/functions.php on line 6114
    when using table of contents.

    I tracked down the error, which is due to EditorBlock class in plugins/EditorBlock. If I get it correctly, you try to hook both pre-5.8 and post-5.8 WordPress widgets.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author LuckyWP

    (@theluckywp)

    Hello!

    What page do this appears?
    What version WP do you use?

    Thread Starter JCV

    (@psykonevro)

    latest version of everything. I could reproduce on a blank WordPress flavour. I’m using “OceanWP” theme, but I tried with also “Highlights news” theme. I guess any widget based theme would return same notice.

    To reproduce it, just activate one of those two themes, activate ToC and WP debugging. Then go to widgets administration.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.