Hi Nina,
It seems the forums have messed up the formatting on that line it has changed the ‘ to ‘ when you copy and paste it.
You either need to manually type it out or change the ‘ back into ‘
As for the table if your not comfortable deleting all records from that table in PHPMyAdmin you can uncomment a line in the plugin that should then move the data from the message store into the audit log.
You will then be able to delete them entries from the audit log via the UI in the plugin.
In the file:
/all-in-one-wp-security-and-firewall/src/classes/wp-security-audit-events.php
On line 58
It looks like this:
// add_action(‘plugins_loaded’, ‘AIOWPSecurity_Audit_Events::rule_event’, 10, 2);
You need to remove the //
So it will then look like this:
add_action(‘plugins_loaded’, ‘AIOWPSecurity_Audit_Events::rule_event’, 10, 2);
If you save the file and then visit the AIOS settings page it should move that data into the audit log.
You can then use the bulk actions on the audit log to delete all the data.
Best Wishes,
Ashley