Thomas Boehne wrote:
I updated our Intranet wiki from 1.8.2 to 1.9.3 using
the shell based
update.php script. It ran through all the way but printed some
warnings:
[...]
Warning: array_slice() [function.array-slice]: The first argument should be
an
array in /var/www/mediawiki-1.9.3/languages/Language.php on line 1105
Warning: array_slice() [function.array-slice]: The
first argument should be
an array in /var/www/mediawiki-1.9.3/languages/Language.php
on line 1105
Warning: Invalid argument supplied for foreach() in
/var/www/mediawiki-1.9.3/includes/SpecialPage.php on line 199
I tried to debug the problem today. I removed the temporary
error_reporting(0), but the problem does not occur anymore. So I guess
it was a caching problem with memcached, but unfortunately I cannot
confirm this. For everybody else who ran into the same problem, I
suggest restarting apache, memcached and the browser (and probably clear
the cache as well).
Best regards
Thomas Böhne
--
**************************************************************************
* Jäger Computergesteuerte Messtechnik GmbH
* Thomas Böhne
* Rheinstraße 2-4
* 64653 Lorsch, Germany
*
http://www.ADwin.de
* Phone: +49 (6251) 9632-0 Fax: +49 (6251) 56819
**************************************************************************
* Responsible: C.E.O. Hubert Morgenstern
* Commercial Register: Amtsgericht Bensheim, Register no.: B24717
**************************************************************************