SQL CONNECT ERROR(SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)) 500 Internal Server Error

Internal Server Error

Call to a member function prepare() on null [/home/marc8584/public_html/transeuromusicinternational.com/intui_washop_smdb/apis/Tools/SyncSqlHelpers.php:160]