Since I changed the domain name on my site, I’m getting a 500 error in browser console when trying to activate the Audit Logging in Defender, and I also get a 500 error when trying to deactivate the plugin from within the wp-admin.
Tried resetting the plugin with its Reset option, and tried deleting the plugin via FTP (including its folder in wp-content/uploads) and re-installing a fresh copy, but still get the same errors either way.
There’s nothing in the .htaccess or wp-config.php files that might be interfering as far as I can see.