get_option( ‘home’ ) not returning value in database

This may not be the answer in your case, but worth mentioning for anyone in similar situation. You can change “home” in the network admin’s edit site page.

Direct link – if you know the blog id number add that to the end of: yoursite.com/wp-admin/network/site-info.php?id=

Or go to: http://yoursite.com/wp-admin/network/sites.php and find and edit the site from there.

error code: 523