I have now tried to upgrade from 2.5.1 to 2.6.1. Installatron (in DirectAdmin) didn't like the quota hard limit, and trashed my wp install. Yes, it did so really effectively.
PROBLEM: As soon as I get WP 2.5.1 reinstalled and the database restored and the upgrade to 2.6.1 finishes, instead of an admin interface I get this:
Warning: array_keys() [function.array-keys]: The first argument should be an array in /home/userX/domains/domainX.fi/public_html/wordpress/wp-includes/widgets.php on line 686
Warning: Invalid argument supplied for foreach() in /home/userX/domains/domainX.fi/public_html/wordpress/wp-includes/widgets.php on line 686
Warning: Cannot modify header information - headers already sent by (output started at /home/userX/domains/domainX.fi/public_html/wordpress/wp-includes/widgets.php:686) in /home/userX/domains/domainX.fi/public_html/wordpress/wp-includes/pluggable.php on line 770
Any ideas? Is there something strange in the database? I have tried to look with myphpadmin but don't find any problems...