A database error has occurred. Did you forget to run maintenance/update.php after upgrading? See: https://www.mediawiki.org/wiki/Manual:Upgrading#Run_the_update_script
Query: SELECT pl_namespace AS namespace,pl_title AS title,COUNT(*) AS value FROM `pagelinks` LEFT JOIN `page` `pg1` ON ((pg1.page_namespace = pl_namespace) AND (pg1.page_title = pl_title)) LEFT JOIN `page` `pg2` ON ((pg2.page_id = pl_from)) WHERE (pg1.page_namespace IS NULL) AND (pl_namespace NOT IN ( '2', '3' )) AND (pg2.page_namespace != '8') AND 0.url_user_id = '1643' GROUP BY pl_namespace,pl_title HAVING COUNT(*) > 0 ORDER BY value DESC LIMIT 51
Function: WantedPagesPage::reallyDoQuery
Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'url_user_id = '1643' GROUP BY pl_namespace,pl_title HAVING COUNT(*) > 0 ORDER B' at line 1 (localhost)