Tagged: advanced editor, classic editor, learndash, Trash
-
AuthorPosts
-
September 27, 2022 at 10:53 pm #1366639
This is occurring on several nearly-identical sites belonging to one of my clients, and we’re at a loss as to how to fix it. Any advice would be most welcome.
Deleting an item from the trash, or emptying the trash, results in a subset of Pages, Posts, and LearnDash Slides to be changed from Advanced Editor to Classic Editor. In addition to that inconvenience, Classic Editor slides are discarded from the LearnDash course, so those have to be changed back to Advanced Editor and re-added to the course. This seems to have started within the past year.
Wordpress core is up to date, as is Enfold.
This happens even if all plugins are disabled. (Including, LearnDash slides ARE affected even if all plugins including LD are disabled)
This happens with the parent Enfold theme as well as a child theme.
This affects new Pages, Posts, and Slides as well as newly-cloned LearnDash Slides.
But not all of the affected items are new; some go back to 2017.
It’s the same batch of items each time, but we can’t find a commonality among them.
We can re-save the items as Advanced Editor, but the next time anything is removed from the trash, the problem recurs.September 28, 2022 at 10:46 am #1366680Hey Melinda,
Thank you for the inquiry.
We haven’t heard or encountered this kind of issue before, seems complicated. We may need to access the dashboard in order to check this issue properly. Please provide the login details in the private field and a list of pages in which the issue occur. Have you tried testing while the plugins aside from Learndash are deactivated?
Best regards,
IsmaelSeptember 28, 2022 at 8:15 pm #1366795Yes, I’ve tried this with all plugins except LD deactivated. I’ve also tried it with all plugins, INCLUDING LD, deactivated, and the LD slides still are affected as if they were available in the CMS. So it seems like this problem is going straight to the database.
I encourage you to start by viewing the LearnDash slide list to level-set that all pages are Advanced Editor, then disabling all plugins, creating two regular old WordPress Pages with the Advanced Editor, deleting one, and watching the second revert to Classic Editor. Then, turn on LearnDash or all plugins, and you’ll see that the LearnDash slides listed below are now Classic Editor as well. My team walked through this about seven times yesterday.
Right now, the data set is clean and ready to go. You can change any or all pages back to Advanced Editor after they revert, and the problem will continue to recur.
If, at any point, you want me to reset the clean database, I can do that, or I can give you SSH access to the server with your public RSA key.
PAGES AFFECTED:
Create any new test page, then create a second if needed, move one to the trash, and delete permanently or empty the trash. New page will be affected.POSTS AFFECTED:
Same as for Pages.LEARNDASH SLIDES AFFECTED:
What’s New
freezemaster Data Sheet
Material Handling
BlazeMaster Environmental Impact
Embedded in Concrete
Freeze Protection
Fire Sprinkler Drains
Air Plenums (Duplicate)
Attic & Combustible Concealed Spaces
BlazeMaster In-Line Hanger Support
Cure Time Charts
Gaskt Head Adaptors
Interference Fit
FBC System Compatible App Demo Video
High Temperature Installations
Why This is Important- This reply was modified 2 years, 1 month ago by mgreenfahlgren.
September 29, 2022 at 8:53 am #1366848Hi,
Thank you for the info.
The user account above doesn’t have administrator rights. Please provide the correct permissions to the login account so that we can access the pages and slides.
Best regards,
IsmaelSeptember 29, 2022 at 4:50 pm #1366949I swore I set that as Admin, but I must have missed something. It’s admin now. Sorry for that.
October 6, 2022 at 4:35 pm #1367831Hi, is there anything else you need from me, or do you have all the access you need now?
October 7, 2022 at 9:09 am #1367921Hi,
Sorry for the delay. We were able to reproduce the issue, but we’re not yet sure what is causing it. The issue happens regardless of the active editor ( Classic or Block ). We tried to update and deactivate the plugins but the issue still occurs. There might be a code somewhere which hooks (before_delete_post, after_delete_post) into the wp_delete_post function and adjusts the status of the ALB pages. You might want to refrain from deleting trashed posts for the meantime.
Does it happen when you use a plugin for bulk deleting posts or pages?
// https://wordpress.org/plugins/bulk-delete/
// https://wordpress.org/plugins/wp-bulk-deleteYou can also use the hooks mentioned above to manually activate the ALB pages again after deletion.
Best regards,
IsmaelOctober 10, 2022 at 2:41 pm #1368283Ismael, If you happen to see this today, were you working on this on Friday? I was experimenting after receiving this feedback and the problem started happening RANDOMLY, which is not at all what I expected.
October 11, 2022 at 9:57 am #1368389Hi,
Yes, we tested the site last Friday but we haven’t accessed it since our last reply. Did you try the plugins above?
Best regards,
IsmaelOctober 11, 2022 at 2:59 pm #1368433I did experiment with them after receiving your reply.
The trash plugin seems to avoid the problem if I delete Pages. But if I delete a LearnDash Slide, the next time I edit any slide, the problem occurs.
Also, I can delete Slides via the LearnDash Course Builder, but if I delete a Module, the problem occurs.
October 20, 2022 at 3:15 am #1369511Hi,
Sorry for the late response. We are still not sure why the issue is happening and we might not be able to help you further with this. Have you tried asking the Learndash support about the issue? They might have created a process or function that alters the meta info of the posts/pages after permanently deleting an item, which unintentionally affects the state of the editor or builder. Not sure why they would do this, but it is possible.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.