Thread:Project:Support desk/Uncommitted DB writes from actions such as Undelete, Protect, Move/reply

The "Uncommitted DB writes" is not the actual error, but a side-effect. When an error occurs, the execution of the MediaWiki script is aborted and some transactions might be left open, and the "Uncommitted DB writes" error is then triggered, but that's the last error. You should look for the first error.

You should enable error reporting, as explained in Manual:How to debug, to get the original error message. Add this in LocalSettings.php and try again:

error_reporting( -1 ); ini_set( 'display_errors', 1 );

You should see the errors directly on the page.