• Resolved bladekardes

    (@bladekardes)


    The plugin was perfect functional until the new major update. They rewrote the code, and my site upgraded it automatically, so it broke my site. It took 3 hours to understand why, it was this plugin.

    So I installed old one and I’ll search now a better one, if there is, unfortunately I’ll say a good bye to this old friend.

    Maybe it would be functional again. 🙂 (I’m using Cesis Theme, problem was with the pages with B-Bakery Builder)

Viewing 15 replies - 1 through 15 (of 21 total)
  • Same here – been working at it for 2 hours now

    Finally worked out that this has been broken on my site for several releases… downgrading to 2.0rc2 fixed the issues. I just hadn’t noticed because it was only certain posts.

    • This reply was modified 4 years, 5 months ago by mdotk.
    Steven

    (@shazahm1hotmailcom)

    Sorry to hear you guys had trouble with the latest update! If more detail than “broke my site” and a link showing a page with the issue, that would be very helpful. I can’t debug or fix things that can not be replicated. I’ve been running the last few updates myself on my primary site with great success. See here, an example page:

    I’ve been “unleashing” the updated for only about a half hour allowing only a few hundred updates before rolling back to the previous stable version (1.7). So far these are the only two reported major issues. Since this rewrite is far more efficient and flexible I’d like to squash any remaining regressions and push the update to all.

    Kinda the same here.

    I was able to fix it very quickly thanks to the built in function in WordPress, which reports issues if there are any.

    this is what I have to help debug.

    Error Details
    =============
    An error of type E_ERROR was caused in line 541 of the file /home/s1/html/wp-content/plugins/easy-table-of-contents/easy-table-of-contents.php. Error message: Uncaught Error: Call to a member function getTOC() on null in /home/s1/html/wp-content/plugins/easy-table-of-contents/easy-table-of-contents.php:541
    Stack trace:
    #0 /home/s1/html/wp-includes/shortcodes.php(325): ezTOC::shortcode(”, ”, ‘ez-toc’)
    #1 [internal function]: do_shortcode_tag(Array)
    #2 /home/s1/html/wp-includes/shortcodes.php(199): preg_replace_callback(‘/\\[(\\[?)(ez\\-to…’, ‘do_shortcode_ta…’, ‘[ez-toc]\nFir…’)
    #3 /home/s1/html/wp-includes/class-wp-hook.php(288): do_shortcode(‘[ez-toc]\nFir…’)
    #4 /home/s1/html/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘[ez-toc]\nFir…’, Array)
    #5 /home/s1/html/wp-content/plugins/us-core/templates/elements/vc_column_text.php(33): apply_filters(‘widget_text_con…’, ‘[ez-toc]\nFir…’)
    #6 /home/s1/html/wp-content/plugins/us-core/functions/shortcodes.php(206): require(‘/home/s1/html/w…’)
    #7 /home/s1/html/wp-includes/shortcodes.php(325): US_Shortcodes->__call(‘vc_column_text’, Array)
    #8 [internal function]: do_shortcode_tag(Array)
    #9

    Also I saw the plugin has issues with VisualComposer, which my theme uses. I have visual blocks in some of my posts which also use the h3 tag. If a post had that block somewhere, it completely broke the layout and showed some random code just before the actual [ez-toc] tag. The tag itself was not visible on the public site, but the random code. Sorry for not being able to better describe it, as I am not a dev.

    Steven

    (@shazahm1hotmailcom)

    @snake-plissken

    Thanks for the details. It helps! The should be a check in the shortcode callback to prevent null errors. I’ve added this check which will make its way into the next mini-release.

    The code was not likely random. Could you link to the page rendered correctly and attach a screenshot of the “random” code? That could help me identify the regression so it can be addressed.

    I am seeing a recent problem caused by Easy Table of Contents.

    I have a page that shows biographies of people in our organization. I am using Pods to generate these biographies, but I don’t believe that should be an issue. Before, when I had Table of Contents turned on, it was fine, and showed a table of contents at the top of the right hand side. Now, it completely messes up the entire page, duplicating Table of Contents in the left hand (where I have a sidebar with a menu), and on the right hand side, plus instead of showing real content, it spreads HTML all over.

    I have duplicated the page, and turned on Table of Contents for that page. See https://uucm.org/messed-up-uucm-member-biographies/. Note that this is on a live site, and the original page is protected by member login.

    Take a look. I hope you can figure out what the problem is, but it’s definitely caused by enabling Table of Contents on that page.

    Please let me know when you’ve taken a look, and don’t need the page any more, and I will then take the page down.

    Thanks!

    Enabling follow-up emails…

    Steven

    (@shazahm1hotmailcom)

    @bryanhiggs

    That indeed is an interesting result.

    Can you give more detail on how the page is built? Is this a “regular” Classic page, a Gutenberg, or a page built with Elementor? Is the auto insert being using or is the shortcode being used?

    I suspect the cause is something is calling the_content filter on the page multiple times. My best guess it is being run on the biography.

    As for the visible HTML markup. I personally encountered this on my site initially. The cause ended up not being ezTOC, but poor HTML markup from another plugin. A closing heading tag was being output for each post without a matching opening heading tag. I wonder if something similar is the cause here.

    It uses Gutenberg, with a paragraph block followed by a shortcode block to insert the necessary PODs query that iterates over the PODs biographies, and orders them by last name.

    I turn the Table of Contents on and off by toggling the checkbox on the Edit Page admin for that page. No shortcode for TofC.

    Note that I had mentioned that there was no problem until very recently. I suspect the recent update to Table of Contents introduced the problem.

    I took a look at Google Chrome’s inspect for that page, and in the Console there are some possible indications of problems, but I don’t know enough about those to tell whether they are related. Take a look; perhaps you can see more than me.

    Steven

    (@shazahm1hotmailcom)

    @snake-plissken

    RE: I saw the plugin has issues with Visual Composer, which my theme uses.

    I would like to clarify since many users seem to get confused… do you mean “Visual Composer” or “WPBakery Page Builder” formerly known as “Visual Composer”???

    If it was the former, I did install the free version and created a page. I was not able to edit page after they were created. I was able to develop a compatibility filter and now it works as expected.

    If it was the later, unfortunately I an not test since it is a commercial plugin which I do not have access to.

    RE: I have visual blocks in some of my posts which also use the h3 tag

    It it a specific block? Built-in or third party? I was testing with the text block with h2 and h3 headings without issue.

    Steven

    (@shazahm1hotmailcom)

    @bladekardes

    RE: pages with B-Bakery Builder

    Do you mean “WPBakery Page Builder”. If you do, unfortunately I can not test since it is a commercial plugin which I do not have access to.

    Steven

    (@shazahm1hotmailcom)

    @bryanhiggs

    Not sure how I’m going to dig into this further… the Pods setup would be difficult to replicate.

    @shazahm1hotmailcom

    @snake-plissken

    RE: I saw the plugin has issues with Visual Composer, which my theme uses.

    I would like to clarify since many users seem to get confused… do you mean “Visual Composer” or “WPBakery Page Builder” formerly known as “Visual Composer”???

    If it was the former, I did install the free version and created a page. I was not able to edit page after they were created. I was able to develop a compatibility filter and now it works as expected.

    If it was the later, unfortunately I an not test since it is a commercial plugin which I do not have access to.

    RE: I have visual blocks in some of my posts which also use the h3 tag

    It it a specific block? Built-in or third party? I was testing with the text block with h2 and h3 headings without issue.

    Sorry,
    it is the later – WPBakery Page Builder.
    The element I added is called “Price Box” which uses h3 tags to format the layout. Once i removed the h3 tags from that price box element, it didn’t show the code anymore. It might be related to something else in my post layout.
    I reverted back to the older version, as I got emails over and over that my site has issues and might be broken…

    However, the “old” version works flawlessly. h-tags in a normal text block are no problem. That’s how I am using your plugin…

    Steven

    (@shazahm1hotmailcom)

    @snake-plissken

    Thanks for the feedback and confirming which page builder you are using! I’ve reached out to the WPBakery support team to see if I can get a license so I can hopefully duplicate and correct this compatibility issue. I very much suspect it may be the same or very similar to the one I added for Visual Composer. So it should be pretty easy.

    @shazahm1hotmailcom

    Thanks a lot. I hope you can find the issue.

Viewing 15 replies - 1 through 15 (of 21 total)
  • The topic ‘New Update Broke My Site’ is closed to new replies.