Warning: PDOStatement::execute(): MySQL server has gone away in /home/kurorts/public_html/library/pdo.php on line 70

Warning: PDOStatement::execute(): Error reading result set's header in /home/kurorts/public_html/library/pdo.php on line 70
Catched error 406HY000: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
	in /home/kurorts/public_html/library/pdo.php on line 70.
	Query: 'SELECT b.*, pp.name as photo, news.id as news, review.id as review, 2 as portal, r.name AS region, r.url AS url_region
										FROM ru_bases b
								
										LEFT JOIN (SELECT name, base_id FROM ru_bases_photo ORDER BY page_id ASC, sort ASC, id DESC) pp ON pp.base_id=b.id
										
										LEFT JOIN ru_news news 
										ON news.base_id=b.id AND news.status_id='4' and news.active='1'
										
										LEFT JOIN ru_news review 
										ON review.base_id=b.id AND review.status_id='6' and review.active='1'
										
										LEFT JOIN ru_region r 
										ON r.id=b.region_id
										
										WHERE b.`active`='1' and b.link!='2' and b.`list`='1'
										GROUP BY b.id
										ORDER BY b.rating Limit 10'.

Notice: Undefined property: PDOchild::$transaction in /home/kurorts/public_html/library/pdo.php on line 112

Fatal error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in /home/kurorts/public_html/library/pdo.php on line 112