I am getting a WSOD on just the module page after a move of server, everything else seems to be running ok.

I added

error_reporting(E_ALL);
ini_set('display_errors', TRUE);
ini_set('display_startup_errors', TRUE);

To index.php and see the below errors

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2006 MySQL server has gone away' in /public_html/includes/database/database.inc:2171 Stack trace:

#0 /public_html/includes/database/database.inc(2171): PDOStatement->execute(Array)
#1 /public_html/includes/database/database.inc(683): DatabaseStatementBase->execute(Array, Array)
#2 /public_html/includes/database/database.inc(2350): DatabaseConnection->query('SELECT expire, ...', Array, Array)
#3 /public_html/includes/lock.inc(167): db_query('SELECT expire, ...', Array)
#4 /public_html/includes/lock.inc(146): lock_may_be_available('theme_registry:...')
#5 /public_html/includes/theme.inc(449): lock_acquire('theme_registry:...')
#6 /public_html/includes/bootstrap.inc(455): ThemeRegistry->set(Array) #7 [internal function]: DrupalCacheArray->__destruct()
#8 {main} thrown in /public_html/includes/database/database.inc on line 2171

Fatal error: Access to undeclared static property: Database::$activeKey in /public_html/includes/database/database.inc on line 1466

Comments

Jaypan’s picture

"MySQL server has gone away" generally means you don't have enough memory for MySQL. WSOD on the module page can also be caused by timeouts, make sure your max execution time is bumped up in your php.ini.