• Resolved BArS

    (@bars)


    Hi friends,
    I have a problem after update to 5.4.2. I can’t add paragraph during new post/page creation. Got a message “This block has encountered an error and cannot be previewed.
    All plugins are deactivated.
    In console got an error:

    
    TypeError: "m.find is not a function"
        n https://open.bars38.biz.ua/wp-includes/js/dist/block-editor.min.js?ver=aacb5c07c68e448af6536df79db8f400:50
        De https://open.bars38.biz.ua/wp-includes/js/dist/block-editor.min.js?ver=aacb5c07c68e448af6536df79db8f400:50
        useMemo https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:205
        useMemo https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react.min.js?ver=16.9.0:32
        De https://open.bars38.biz.ua/wp-includes/js/dist/block-editor.min.js?ver=aacb5c07c68e448af6536df79db8f400:50
        Oe https://open.bars38.biz.ua/wp-includes/js/dist/block-library.min.js?ver=067800bc020babb22719c7a030bf65d9:9
        je https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:78
        ph https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:215
        lh https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:126
        O https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:121
        ze https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:118
        mg https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:53
        unstable_runWithPriority https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react.min.js?ver=16.9.0:26
        Ma https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:52
        mg https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:52
        V https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:52
        Be https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:119
        xi https://open.bars38.biz.ua/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:39
    react-dom.min.js:103:487
    

    What to do? Thank you.

    P.S. If I change theme everything works ok. But how to find a problem?

    • This topic was modified 4 years, 9 months ago by BArS.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter BArS

    (@bars)

    I found a problem. It was because of this code

      // guten-support
        add_action( 'after_setup_theme', 'weart_setup_theme_supported_features' );
        function weart_setup_theme_supported_features() {
          // Theme supports wide images, galleries and videos.
          //add_theme_support( 'align-wide' );
          // Make specific theme colors available in the editor.
          add_theme_support( 'editor-color-palette',
            array( 'name' => 'main red', 'color' => '#ef3b39', ),
            array( 'name' => 'secondary blue', 'color' => '#3D3F53', ),
            array( 'name' => 'black', 'color' => '#2a2a2a', )
        );}
      // end
    
Viewing 1 replies (of 1 total)
  • The topic ‘Default paragraph blocks not working in 5.4.*’ is closed to new replies.