• Resolved opensaurusrex

    (@opensaurusrex)


    I am getting some errors when trying to use center align on table headers in Advanced Gutenberg 2.0.7 and WP 5.2.2:

    react-dom.js?ver=16.8.4:500 Warning: Unsafe lifecycle methods were found within a strict-mode tree:
        in StrictMode (created by Editor)
        in Editor (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(Editor)
    
    componentWillUpdate: Please update the following components to use componentDidUpdate instead: FillComponent
    blocks.js?ver=2.0.7:13805 Uncaught (in promise) TypeError: advgb_blocks_vars.blocks.active_blocks.indexOf is not a function
        at blocks.js?ver=2.0.7:13805
    react-dom.js?ver=16.8.4:500 Warning: findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of PopoverDetectOutside which is inside StrictMode. Instead, add a ref directly to the element you want to reference.
    
        in div (created by IsolatedEventContainer)
        in IsolatedEventContainer (created by Animate)
        in Animate (created by Popover)
        in PopoverDetectOutside (created by clickOutside(PopoverDetectOutside))
        in clickOutside(PopoverDetectOutside) (created by Popover)
        in FillComponent (created by Context.Consumer)
        in Fill (created by Context.Consumer)
        in span (created by Context.Consumer)
        in Popover (created by Tooltip)
        in button (created by ForwardRef(Button))
        in ForwardRef(Button) (created by ForwardRef(IconButton))
        in Tooltip (created by ForwardRef(IconButton))
        in ForwardRef(IconButton) (created by Dropdown)
        in div (created by ToolbarContainer)
        in ToolbarContainer (created by Toolbar)
        in Toolbar (created by Dropdown)
        in div (created by Dropdown)
        in Dropdown (created by BlockSwitcher)
        in BlockSwitcher (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(BlockSwitcher) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(BlockSwitcher)) (created by BlockToolbar)
        in div (created by BlockToolbar)
        in BlockToolbar (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(BlockToolbar) (created by BlockContextualToolbar)
        in div (created by NavigableContainer)
        in NavigableContainer (created by ForwardRef(NavigableContainer))
        in ForwardRef(NavigableContainer) (created by ForwardRef(NavigableMenu))
        in ForwardRef(NavigableMenu) (created by NavigableToolbar)
        in NavigableToolbar (created by BlockContextualToolbar)
        in BlockContextualToolbar (created by HoverArea)
        in div (created by HoverArea)
        in div (created by IgnoreNestedEvents)
        in IgnoreNestedEvents (created by ForwardRef(IgnoreNestedEvents))
        in ForwardRef(IgnoreNestedEvents) (created by HoverArea)
        in HoverArea (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(HoverArea) (created by BlockListBlock)
        in BlockListBlock
        in Unknown (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in (BlockListBlock) (created by WithFilters(BlockListBlock))
        in WithFilters(BlockListBlock) (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(WithFilters(BlockListBlock)) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(WithFilters(BlockListBlock))) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithViewportMatch(WithSelect(WithDispatch(WithFilters(BlockListBlock)))) (created by Pure(WithViewportMatch(WithSelect(WithDispatch(WithFilters(BlockListBlock))))))
        in Pure(WithViewportMatch(WithSelect(WithDispatch(WithFilters(BlockListBlock))))) (created by BlockList)
        in div (created by BlockList)
        in BlockList (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(BlockList) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(BlockList))
        in Unknown (created by VisualEditor)
        in div (created by CopyHandler)
        in CopyHandler (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(CopyHandler) (created by VisualEditor)
        in div (created by ObserveTyping)
        in ObserveTyping (created by WithSafeTimeout(ObserveTyping))
        in WithSafeTimeout(ObserveTyping) (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(WithSafeTimeout(ObserveTyping)) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(WithSafeTimeout(ObserveTyping))) (created by VisualEditor)
        in div (created by WritingFlow)
        in div (created by WritingFlow)
        in WritingFlow (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(WritingFlow) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(WritingFlow)) (created by VisualEditor)
        in div (created by BlockSelectionClearer)
        in BlockSelectionClearer (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(BlockSelectionClearer) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(BlockSelectionClearer)) (created by VisualEditor)
        in VisualEditor (created by Layout)
        in div (created by Layout)
        in div (created by FocusReturnProvider)
        in FocusReturnProvider (created by Layout)
        in Layout (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithViewportMatch(Layout) (created by NavigateRegions(WithViewportMatch(Layout)))
        in div (created by NavigateRegions(WithViewportMatch(Layout)))
        in NavigateRegions(WithViewportMatch(Layout)) (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(NavigateRegions(WithViewportMatch(Layout))) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(NavigateRegions(WithViewportMatch(Layout)))) (created by Editor)
        in ErrorBoundary (created by Editor)
        in div (created by DropZoneProvider)
        in DropZoneProvider (created by BlockEditorProvider)
        in SlotFillProvider (created by BlockEditorProvider)
        in BlockEditorProvider (created by Context.Consumer)
        in WithRegistry(BlockEditorProvider) (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(WithRegistry(BlockEditorProvider)) (created by EditorProvider)
        in EditorProvider (created by ComponentWithDispatch)
        in ComponentWithDispatch (created by Context.Consumer)
        in WithDispatch(EditorProvider) (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(WithDispatch(EditorProvider)) (created by Editor)
        in StrictMode (created by Editor)
        in Editor (created by ComponentWithSelect)
        in ComponentWithSelect (created by Context.Consumer)
        in WithSelect(Editor)
    
    Learn more about using refs safely here:
    https://fb.me/react-strict-mode-find-node
    • This topic was modified 6 years, 10 months ago by opensaurusrex.
Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    Thanks for your request about Advanced Gutenberg table block.
    Can you confirm that you’re talking about the text align in the right column? (not the whole block align feature)

    Maybe you can share a screenshot?

    Thanks!

    Thread Starter opensaurusrex

    (@opensaurusrex)

    So I figured out the steps to reproduce:

    1. Create an advanced table and make sure “Fixed Width” and “Table Header” are activated.
    2. Select all the rows and columns and use the “Cell Settings > Text Align” to make them central aligned.
    3. Click one of the cells of the “Table Header” and then try to align it to center.

    This should cause the error to occur. Funny thing is I can fix it by duplicating the table and continuing to modify the table. Also, if I edit the text after center aligning, and not going directly up to the header to align it, I am also able to avoid that error as well. It only happens when I am trying to set the alignments all at once. Please test this out and advise.

    Thread Starter opensaurusrex

    (@opensaurusrex)

    I have done a screen capture and uploaded it to: https://www.youtube.com/watch?v=ichpUJnLSzE so that you can see it in action.

    Hey,

    Thanks for the video, this is actually the best reporting ever 🙂
    I understand the issue, our developer will look into that and we’ll get back to you shortly with a solution.

    Cheers,

    Hi,

    The issue has been fixed on our side and will be included in the next version, thanks for reporting!

    Thread Starter opensaurusrex

    (@opensaurusrex)

    Awesome! Glad I could be of assistance. I am a developer as well, so I know how it is, if I notice anything else I will let you all know.

    Hi,

    Could you please update to Advanced Gutenberg 2.1.0 and let me know?

    Cheers,

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Advanced Table Erroring’ is closed to new replies.