Home Support General HivePress wp_enqueue_script() was called incorrectly

wp_enqueue_script() was called incorrectly

  • Author
    Posts
  • mardelsur

    Notice: 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 /var/www/vhosts/domain.com/httpdocs/wp-includes/functions.php on line 5663

    I find this bug in the widget section and add the next snippet to fix it.

    add_filter( ‘use_widgets_block_editor’, ‘__return_false’ );

    ihor developer

    Thanks for reporting this, will add the snippet to the next HivePress update.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.