Help:Installation/Troubleshooting/A database query error has occurred

After updating an existing SMW 1.9.0 installation the following messages may occur: Database error&#58; A database query error has occurred. This may indicate a bug in the software.

This error appears after an upgrade from SWM 1.9.0 to 1.9.1 when moving a page and if you have not updated the semantic store. To resolve this run the setup script from the base directoryCiteRef::script:base directory of your MediaWiki installation: