Last modified: 2014-02-03 08:24:09 UTC
$ /opt/apache/server1/bin/php ./maintenance/rebuildall.php --conf ./LocalSettings.php ** Rebuilding recentchanges table: Loading from page and revision tables... $wgRCMaxAge=7862400 (91 days) Updating links and size differences... Loading from user, page, and logging tables... Flagging bot account edits... Flagging auto-patrolled edits... Deleting feed timestamps. Done. ** Rebuilding links tables -- this can take a long time. It should be safe to abort via ctrl+C if you get bored. Refreshing redirects table. Starting from page_id 1 of 272. 100 200 Refreshing links tables. Starting from page_id 1 of 272. 100 200 Retrieving illegal entries from pagelinks... Warning: array_search() expects parameter 2 to be array, string given in .../includes/db/DatabasePostgres.php on line 732 Fatal error: Cannot unset string offsets in .../includes/db/DatabasePostgres.php on line 734
Created attachment 14319 [details] Patch This patch simply check whether the options variable is really an array.
Hi! Thanks for your patch! You are welcome to use Developer access https://www.mediawiki.org/wiki/Developer_access to submit this as a Git branch directly into Gerrit: https://www.mediawiki.org/wiki/Git/Tutorial Putting your branch in Git makes it easier to review it quickly. If you don't want to set up Git/Gerrit, you can also use https://tools.wmflabs.org/gerrit-patch-uploader/
Change 109583 had a related patch set uploaded by Lethosor: Fix rebuildall.php fatal error with PostgreSQL https://gerrit.wikimedia.org/r/109583
Change 109583 merged by jenkins-bot: Fix rebuildall.php fatal error with PostgreSQL https://gerrit.wikimedia.org/r/109583
was successfully merged
Change 110835 had a related patch set uploaded by Siebrand: Fix rebuildall.php fatal error with PostgreSQL https://gerrit.wikimedia.org/r/110835
Change 110835 merged by jenkins-bot: Fix rebuildall.php fatal error with PostgreSQL https://gerrit.wikimedia.org/r/110835
Was backported to 1.22, and will be part of 1.22.2.