MyBB Community Forums

Full Version: I can't delete messages/posts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have tried many things to fix it but unfortunately, it still doesn't work.  

When I try to delete a message or a post it will soft delete. But when I select them and try to permanently delete them it gives an error message. 

Error message:
https://gyazo.com/898bdc87cd17dd8cd3f0498b4983a60b

I already tried this one (But I still get the error + can't delete): 
https://community.mybb.com/thread-206896.html

My server is currently running on 1.8.19.

Could someone help me, please? I would appreciate it. 

- Switchty
A test account with required permissions may help ...
Does this occur on the MyBB stock theme? It's probably to do with js on your theme.
For reference of future sufferers:

This line was missing in headerinclude template.
var cookieSecureFlag = "{$mybb->settings['cookiesecureflag']}";
... adding this back resolved the issue.