Site Editor is not loading (containing a fix as well)

Support MB Conditional Logic Site Editor is not loading (containing a fix as well)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #48580
    arsh999cgarsh999cg
    Participant

    Site Editor not loading while Conditional Logic is enabled using Meta Box AIO latest version (AIO 2.3.),

    Console error log below :

    
    00:38:10.295 Uncaught TypeError: can't access property "areMetaBoxesInitialized", wp.data.select(...) is undefined
        unsubscribe /wp-content/plugins/meta-box-aio/vendor/meta-box/meta-box-conditional-logic/conditional-logic.js?ver=1752775071:660
        ............
        <anonymous> /wp-admin/site-editor.php:2308
    conditional-logic.js:660:17
    

    Screenshot of the exact line :
    https://snipfly.io/jFDjs2h.png

    I've just added a conditional check ( ?. ) for that, and it solves.

    
    if ( wp.data.select( 'core/edit-post' )?.areMetaBoxesInitialized() )
    
    #48582
    PeterPeter
    Moderator

    Hello there,

    Please update Meta Box AIO to new version 2.3.1 to fix this issue. Let me know if you still experience this.

    Thank you.

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