Manual:$wgPagePropsHaveSortkey

Details
Set this to  if you haven't applied the schema update that adds the   column to the   table. This is mainly for use by administrators of large wikis who cannot immediately apply the schema updates to their database.

See, in particular the SQL file, for more details.