• Resolved richrolled1

    (@richrolled1)


    Since the latest wordpress update, by Table of Contents has not been working correctly. I’ve been working on in spite of that, but now I am working on a draft post on my blog and the whole draft has broken on me. I cannot edit the draft post or do anything, and it seems to be because of the Essential Addons Table of Contents.

    I am not a WordPress expert at all

    When seeking help with this issue, you may be asked for some of the following information:
    
    WordPress version 6.3
    
    Active theme: OceanWP (version 3.4.7)
    
    Current plugin: Essential Blocks (version 4.2.0)
    
    PHP version 7.4.33
    
    Error Details
    
    =============
    
    An error of type E_ERROR was caused in line 180 of the file /home/customer/www/scepticstravelguide.ie/public_html/wp-content/plugins/essential-blocks/blocks/TableOfContents.php. Error message: Uncaught TypeError: Argument 1 passed to iterator_to_array() must implement interface Traversable, bool given in /home/customer/www/scepticstravelguide.ie/public_html/wp-content/plugins/essential-blocks/blocks/TableOfContents.php:180
    
    Stack trace:
    
    #0 /home/customer/www/scepticstravelguide.ie/public_html/wp-content/plugins/essential-blocks/blocks/TableOfContents.php(180): iterator_to_array(false)
    
    #1 /home/customer/www/scepticstravelguide.ie/public_html/wp-content/plugins/essential-blocks/blocks/TableOfContents.php(276): EssentialBlocks\blocks\TableOfContents->getHeadersFromContent(Array, '

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Zeba Afia Shama

    (@zebaafiashama)

    Hi @richrolled1

    I hope you are doing well.

    Firstly, let me clarify something, The TOC block you are using contains Essential Blocks elements. And we have another plugin, Essential Addons for Elementor for the Elementor page builder.

    I have tried to reproduce the issue you mentioned by using WordPress v6.3, PHP v7.4, and Essential Blocks v4.2.0, but I couldn’t do it. Please see the screencast here: https://d.pr/v/3aJigb

    Also, the page URL you have shared leads me to the login page, please share a page URL that I can see. I have found another published post, where the Essential Blocks TOC is working properly. Here is the link: https://d.pr/v/5M7Bfy

    Can you please share the exact page URL or some screenshots of the issue?

    Thank You

    Plugin Support Zeba Afia Shama

    (@zebaafiashama)

    Hello @richrolled1

    I hope you are doing well.

    We have not heard from you since our last conversation. Could you please let us know if you are still having this issue? So that we could try to solve your issue.

    We are waiting for your response

    Plugin Support Zeba Afia Shama

    (@zebaafiashama)

    Hello @richrolled1

    I hope you are doing well.


    About your issue, We still haven’t heard back from you. So, I am assuming your issue has been resolved. I am resolving this topic.


    Have a nice day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Table of Contents has broken my post’ is closed to new replies.