I get white screen with error message when trying add an action (/admin/config/workflow/business_rules/action/add)

Uncaught exception thrown in session handler.
Drupal\Core\Database\DatabaseExceptionWrapper: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: SELECT 1 AS expression FROM {sessions} sessions WHERE sid = :db_condition_placeholder_0; Array ( [:db_condition_placeholder_0] => q_zmtzjQJvR_ZLW8RI3QLNL-QXwp-UZ5GH14qFIo538 ) in Drupal\Core\Session\SessionHandler->write() (line 84 of /var/www/html/rawpix/web/core/lib/Drupal/Core/Session/SessionHandler.php).

Comments

pyxio created an issue. See original summary.

pyxio’s picture

Can anybody help me troubleshoot this issue? thank you

yseki’s picture

Hi pyxio,

This error is caused by low memory allocated for MySql.
See here how to fix it.

yseki’s picture

Status: Active » Closed (works as designed)
spanners’s picture

Confirming that raising the max_allowed_packet on my local Mac got rid of this issue.

tunprog’s picture

@Spanners thanks man you saved my time.