List of steps to reproduce (step by step, including full links if applicable):
- Go to /w/i.php?title=Special:UserLogin
- Login to wiki with incorrect credentials
What happens?:
Following error appears (logs from my local machine):
[ed4e6ce52173539cbe6b38ce] /mediawiki/index.php?title=Special:UserLogin&returnto=Main+Page Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension? Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information. Error 1048: Column 'cuc_actor' cannot be null (localhost) Function: MediaWiki\CheckUser\Hooks::onAuthManagerLoginAuthenticateAudit Query: INSERT INTO `cu_changes` (cuc_page_id,cuc_namespace,cuc_title,cuc_minor,cuc_user,cuc_user_text,cuc_actiontext,cuc_comment,cuc_this_oldid,cuc_last_oldid,cuc_type,cuc_timestamp,cuc_ip,cuc_ip_hex,cuc_xff,cuc_xff_hex,cuc_agent,cuc_actor) VALUES (0,2,'',0,0,'192.168.72.1','Failed to log in to DEV Wiki as [[User:Admin 12345|Admin 12345]]','',0,0,3,'20220413153031','192.168.72.1','C0A84801',0,NULL,'Mozilla/5.0 (X11; Linux x86_64; rv:99.0) Gecko/20100101 Firefox/99.0',NULL) Backtrace: from /home/abijeet/Projects/html/mediawiki/includes/libs/rdbms/database/Database.php(1606) #0 /home/abijeet/Projects/html/mediawiki/includes/libs/rdbms/database/Database.php(1590): Wikimedia\Rdbms\Database->getQueryException() #1 /home/abijeet/Projects/html/mediawiki/includes/libs/rdbms/database/Database.php(1564): Wikimedia\Rdbms\Database->getQueryExceptionAndLog()
What should have happened instead?:
Message stating that the credentials are incorrect.
Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc.:
- MediaWiki master with CheckUser extension (master)
- Set $wgCheckUserLogLogins = true;