Thread:Project:Support desk/Fatal PHP error when running update.php/reply (7)

I changed the line to use array_merge instead and tried it again. Now it reports a warning and moves on to another error:

...batch conversion of user_options: PHP Warning: array_merge: Argument #1 is not an array in /web/wiki/htdocs/languages/Language.php on line 495 PHP Notice: Undefined offset: 5 in /web/wiki/htdocs/languages/Language.php on line 501 A database query syntax error has occurred. The last attempted database query was: "SELECT rev_id,rev_page,rev_text_id,rev_timestamp,rev_comment,rev_user_text,rev_user,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,page_namespace,page_title,page_id,page_latest,page_is_redirect,page_len,user_name  FROM `revision` INNER JOIN `page` ON ((page_id = rev_page)) LEFT JOIN `user` ON ((rev_user != 0) AND (user_id = rev_user))  WHERE page_id = '8' AND rev_id = '32'  LIMIT 1  " from within function "Revision::fetchFromConds". Database returned error "1054: Unknown column 'rev_sha1' in 'field list' (db1)"