• I have sent a PR to fix this error, but also dropping a note in case someone else encounter it.

    If you use this plugin and see following error on browser’s console, it is because Disable Search is trying to disable (i.e. unregister) core’s core/search block when it is already disabled by other code. That code could be your custom code, or by plugins. Particularly, block management plugin such as Block Manager, or similar feature on block library plugin

    blocks.min.js?ver=6612d078dfaf28b875b8:12 Block "core/search" is not registered.
    ue @ blocks.min.js?ver=6612d078dfaf28b875b8:12
    (anonymous) @ disable-search.js?ver=2.0.1:3

    It shouldn’t cause any issues for editing on the block editor, so I recommend you ignore it until this PR gets merged.
    https://github.com/coffee2code/disable-search/pull/2

  • You must be logged in to reply to this topic.