The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
AI Assistant
Console error when ...
 
Notifications
Clear all

Issue Console error when editing comments in closed threads

2 Posts
2 Users
0 Reactions
4 Views
Posts: 1
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@accelera)
New Member
Joined: 18 hours ago
[#11572]

Hi guys,

I'm writing on behalf of my client (@doctorofcredit)

I found out that when a thread is closed for comments (using the native WordPress setting, see screenshot), editing any already published comment doesn't work. This is what happens:

  1. Close the comments section
  2. Edit a comment from the frontend:
  3. The console shows this error:
  4. And there's no way to edit the comment. Stays loading and shows a white box

We've tried disabling all plugins and it looks like it doesn't make a difference. Any idea what's happening? Let us know if you need any further info.

 

Thanks!


1 Reply
Asti
Posts: 8341
 Asti
Support
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@asti)
Illustrious Member
Joined: 9 years ago

Hi @accelera,

Thanks for reporting this issue in detail! This sounds like a frustrating blocker for your client. The fact that it happens specifically when comments are closed via WordPress's native setting is a key clue. When WordPress closes comments on a thread, it typically prevents new comments but should still allow comment authors to edit their own existing comments—so this behavior definitely seems like a bug.

Since you've already confirmed it's not a plugin conflict (by disabling all plugins), here are a few things worth investigating:

  • Check if there's a capability/permissions issue—make sure the user role has the edit_comment capability assigned
  • Look at your WordPress version and the plugin version you're using. Sometimes there are known compatibility issues between specific versions
  • Check if there are any custom code snippets or functions in your theme's functions.php that might be intercepting comment editing
  • Try temporarily switching to a default WordPress theme (like Twenty Twenty-Three) to rule out theme-specific conflicts

The white box and loading state suggests the AJAX request is failing silently. I'd recommend checking your browser's Network tab (in DevTools) when attempting to edit—that might reveal what the actual server response is. Also, check your WordPress error logs (usually in /wp-content/debug.log) to see if there are any PHP errors being logged during the edit attempt.

Have you had a chance to check the server-side error logs yet, or would you like guidance on how to enable WordPress debugging?

Please provide the direct URL where we can see the issue as well. 


Reply