Follow SMF on Twitter.
Started by a10, December 28, 2019, 07:33:20 AM
QuoteDatabase error, given array of string values is empty. (uneditable)Function: ViewModlogApply Filter: Only show the errors from this fileFile: /home/rootpath/public_html/smfpath/Sources/Modlog.phpLine: 80
DELETE FROM `smf_log_actions`WHERE id_log IN (2,3)AND action NOT IN ('agreement_updated', 'policy_updated');
Quote from: shawnb61 on April 02, 2020, 02:09:27 PMThere is a fix for this coming in 2.0.18. In the meanwhile, if you have very high volume activity in these logs & really need to clear them out occasionally, the following should work. (Me, I'm just waiting for 2.0.18 myself...)Code Select ExpandDELETE FROM `smf_log_actions`WHERE id_log IN (2,3)AND action NOT IN ('agreement_updated', 'policy_updated');Notes: - This will delete them regardless of time - id_log of 2 = mod log; 3 = admin log - You may need to change the table prefix to match your forum setting