Dblog_clear.module breaks the form, line 31 should be:

'#attributes' => array('class' => array('warning')),

Related comment: Class attributes must be array.

Comments

modiphier’s picture

Hello,
I couldn't even enable the db clear module until I saw this post. Thanks for the fix it should be commited. Now I am able to see the recent logs page and filter by error except when I select a group of entries to clear it is clearing them but I get this error on the page and have to hit back button.

Fatal error: Call to undefined function db_affected_rows() in /home/public_html/com/sites/all/modules/util/contribs/dblog_ext/dblog_clear/dblog_clear.module on line 73
NancyDru’s picture

This add-on module is not ready for 7.x. Unfortunately the packaging script adds a core statement even though one is already present. I really need to completely remove the module from the 7.x branch.

NancyDru’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)