• Resolved Chris

    (@nutlog13)


    Hello – any idea why this plugin would be causing a 502 Bad Gateway error when saving? When I disable the plugin, everything works fine; with Easy TOC enabled, saving takes forever, times out, then gives me the 502 error. It seems to be an issue only with this plugin? Any help or advice would be great — seems like a great plugin, but I can’t have it enabled because it might be using too many resources or server memory. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Chris

    (@nutlog13)

    After much troubleshooting, we traced the issue to using the [ez-toc] shortcode inside a WP Bakery “Raw HTML” block. Doing this causes the page to timeout when saving and produces the 502 Bad Gateway error. Using the shortcode in a regular WYSIWYG text box works fine.

    This does not appear to be an issue specifically with Easy TOC, but with using it inside this particular element in the WP Bakery page builder. Maybe something to look into? Otherwise, no worries – this is the answer in case anyone else happens to have this same issue. Thanks!

    Plugin Support Akshay A

    (@akshaycode1)

    Yes, this can sometimes happen when you use a shortcode inside page builders like WPBakery or others. The issue occurs when the shortcode conflicts due to the_content being called multiple times, which page builders often do. This can lead to an infinite loop. In most cases, we need to debug to identify the exact cause. You can try the option in the Advanced section . It may work for you. If not, you can continue using your current setup that works.

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

The topic ‘502 Bad Gateway When Using Plugin’ is closed to new replies.