Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:176:\"MySQL server has gone away\nquery: SELECT dst FROM url_alias WHERE src = 'directory/114' AND language IN('en', '') ORDER BY language DESC, pid DESC\";s:5:\"%file\";s:36:\"/home/sa01/http/pd/includes/path.inc\";s:5:\"%line\";i:68;}', 3, '', 'https://techsoupsouthafrica.org/directory/114', '', '3.88.156.58', 1558601874) in /home/sa01/http/pd/includes/database.mysqli.inc on line 134 Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:176:\"MySQL server has gone away\nquery: SELECT * FROM menu_router WHERE path IN ('directory/114','directory/%','directory') ORDER BY fit DESC LIMIT 0, 1\";s:5:\"%file\";s:36:\"/home/sa01/http/pd/includes/menu.inc\";s:5:\"%line\";i:317;}', 3, '', 'https://techsoupsouthafrica.org/directory/114', '', '3.88.156.58', 1558601874) in /home/sa01/http/pd/includes/database.mysqli.inc on line 134 Warning: MySQL server has gone away query: INSERT INTO watchdog (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (0, 'php', '%message in %file on line %line.', 'a:4:{s:6:\"%error\";s:12:\"user warning\";s:8:\"%message\";s:119:\"MySQL server has gone away\nquery: SELECT p.perm FROM role r INNER JOIN permission p ON p.rid = r.rid WHERE r.rid IN (1)\";s:5:\"%file\";s:43:\"/home/sa01/http/pd/modules/user/user.module\";s:5:\"%line\";i:532;}', 3, '', 'https://techsoupsouthafrica.org/directory/114', '', '3.88.156.58', 1558601874) in /home/sa01/http/pd/includes/database.mysqli.inc on line 134

Initialization Error

Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => simpleHandler
        )

    [code] => -24
    [message] => DB Error: connect failed
    [mode] => 16
    [debug_info] =>  [nativecode=Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)]
    [type] => DB_Error
    [user_info] =>  [nativecode=Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)]
    [to_string] => [db_error: message="DB Error: connect failed" code=-24 mode=callback callback=CRM_Core_Error::simpleHandler prefix="" info=" [nativecode=Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111)]"]
)

backTrace

/home/sa01/http/pd/sites/all/modules/civicrm/CRM/Core/Error.php, backtrace, 235
, simpleHandler, 
/home/sa01/http/pd/sites/all/modules/civicrm/packages/PEAR.php, call_user_func, 931
/home/sa01/http/pd/sites/all/modules/civicrm/packages/DB.php, PEAR_Error, 968
/home/sa01/http/pd/sites/all/modules/civicrm/packages/PEAR.php, DB_Error, 564
/home/sa01/http/pd/sites/all/modules/civicrm/packages/DB/common.php, raiseError, 1903
/home/sa01/http/pd/sites/all/modules/civicrm/packages/DB/mysqli.php, raiseError, 338
/home/sa01/http/pd/sites/all/modules/civicrm/packages/DB.php, connect, 558
/home/sa01/http/pd/sites/all/modules/civicrm/packages/DB/DataObject.php, connect, 2287
/home/sa01/http/pd/sites/all/modules/civicrm/packages/DB/DataObject.php, _connect, 2525
/home/sa01/http/pd/sites/all/modules/civicrm/packages/DB/DataObject.php, _build_condition, 411
/home/sa01/http/pd/sites/all/modules/civicrm/CRM/Core/BAO/Setting.php, find, 209
/home/sa01/http/pd/sites/all/modules/civicrm/CRM/Core/Config.php, retrieve, 397
/home/sa01/http/pd/sites/all/modules/civicrm/CRM/Core/Config.php, _initVariables, 202
/home/sa01/http/pd/sites/all/modules/civicrm/drupal/civicrm.module, singleton, 272
/home/sa01/http/pd/sites/all/modules/techsoup/api/organization.inc, civicrm_initialize, 9
/home/sa01/http/pd/includes/module.inc, require_once, 288
/home/sa01/http/pd/sites/all/modules/techsoup/organization.module, module_load_include, 95
, organization_init, 
/home/sa01/http/pd/includes/module.inc, call_user_func_array, 497
/home/sa01/http/pd/includes/common.inc, module_invoke_all, 2820
/home/sa01/http/pd/includes/bootstrap.inc, _drupal_bootstrap_full, 1240
/home/sa01/http/pd/includes/bootstrap.inc, _drupal_bootstrap, 1113
/home/sa01/http/pd/index.php, drupal_bootstrap, 15