MySQL server has gone away(Checking for product pagename) sql: SELECT id FROM pages WHERE pagename = 'premier-protein-30g-protein-shakes-chocolate-11-fluid-ounces-4-count' LIMIT 1