When I add a Table of Contents to a post, the page does not load.
I installed and used this plugin about a week ago on a post and it works fine, that page still loads.
I tried to use this plugin on a post today and when the Table of Content was added to the post, the page does not load and times out. When I remove the Table of Contents from the post, the pages loads right up.
This plugin is causing posts to not load
EDIT
I figured out part of the problem.
This plugin does not work on posts that are using the plugin: “Amazon Product In a Post”
When I used this on another post, it was not using that Amazon plugin and it worked fine.
When the LuckyWP Table of Contents plugin is used on the same post that Amazon Product In a Post plugin is used, the page will not load.
Not sure why
-
This reply was modified 6 years, 7 months ago by
atlas99.
Plugin Author
LuckyWP
(@theluckywp)
Hello @rom1our and @atlas99!
We tested collaboration of our plugin and “Amazon Product In a Post Plugin” (@atlas99 thanks for tip!) and found problem. In new version 1.9.5 we modified code of LuckyWP Table of Contents for more compatible with themes and plugins.
Try new version.
Please write here – does the new version work for you?
Hello @theluckywp
I updated to the new version.
I’m sorry but I have still the 500 error.
The strange thing is that on some pages it works, like here (made with WP Classic Editor) and here (this page is made with Elementor).
The test page, which I prepared for you, gives the 500 error. I have other pages, where I had to take out lwptoc due to the 500 error.
The only thing I can tell is, if I disable Elementor or RankMath/Yoast, the blocked pages load normally and the TOC is shown.
Plugin Author
LuckyWP
(@theluckywp)
Can you show text of error from logs?
Plugin Author
LuckyWP
(@theluckywp)
Can so?
1) Enable WP_DEBUG in wp-config.php
2) Open page with error – error text should be displayed
3) Disable WP_DEBUG in wp-config.php
I have done this but I get only
500 – Internal Server Error
This is a temporary server error.
Please try to reload the webpage later.
Plugin Author
LuckyWP
(@theluckywp)
Let’s try this, then.
Can you open in admin panel “Tools / Site Health”, copy site info to clipboard, and send me this info to ted@theluckywp.com ?
Hello,
I found that the pages don’t load when lwptoc and WP Show Posts Pro “Cards style” is active. The other WPSP functions work fine, only with Cards the page is blocked.
-
This reply was modified 6 years, 7 months ago by
rom1our.
Plugin Author
LuckyWP
(@theluckywp)
Hello @rom1our !
Thanks for tip with WP Show Posts plugin. We found problem and fix it.
Try new version 1.9.6. This is help you?
Hello @theluckywp
It works, perfect.
Thank you
Plugin Author
LuckyWP
(@theluckywp)