Conversation
supportHello there! I am having a little trouble to delete some protected items; even when choosing the option to “unprotect” them, I cannot remove any of it. Also, this message popped in my error log: PHP Warning: Undefined array key "enable_protected_deletion" in /public_html/wp-content/plugins/database-cleaner/classes/core.php on line 694 Any ideas on what could be happening?
Hey @jornalosaopaulo ! 👋 I could find a potential reason for the warning you get in your logs, which should be fixed in the next update, but you should still be able to delete protected items once the option is enabled. Could you let me know what you mean by “cannot remove any”? Does it load, do you get an error message, is the button clickable at all? Thanks!
Could you let me know what you mean by “cannot remove any”? Does it load, do you get an error message, is the button clickable at all? The delete button becomes clickable, the plugin seems to work on deleting the protected items, but at last, they are not deleted at all. They remain there, and no error is logged/shown anywhere.
Sorry, I’ve found on the console this error, after pressing the delete button: [Error] Failed to load resource: the server responded with a status of 400 () (delete_metadata, line 0)
Hey @jornalosaopaulo ! 👋 I could find a potential reason for the warning you get in your logs, which should be fixed in the next update, but you should still be able to delete protected items once the option is enabled. Could you let me know what you mean by “cannot remove any”? Does it load, do you get an error message, is the button clickable at all? Thanks!
Could you let me know what you mean by “cannot remove any”? Does it load, do you get an error message, is the button clickable at all? The delete button becomes clickable, the plugin seems to work on deleting the protected items, but at last, they are not deleted at all. They remain there, and no error is logged/shown anywhere.
Sorry, I’ve found on the console this error, after pressing the delete button: [Error] Failed to load resource: the server responded with a status of 400 () (delete_metadata, line 0)