<errorentry>
	<datetime>2018-12-14 23:25:42 (MSK)</datetime>
	<errornum>256</errornum>
	<errortype>User Error</errortype>
	<errormsg>(SQL)</errormsg>
	<hostname>planeta-vin.ru</hostname>
	<request_uri>/</request_uri>
	<request_query>mods=index&ext=php&mods=/index&ext=html</request_query>
	<request_method>GET</request_method>
	<scriptname>/www/vhosts/planeta-vin.ru/html/includes/errorHandlers.inc.php</scriptname>
	<scriptlinenum>87</scriptlinenum>
	<vartrace>array (
  'ERROR' => '(1436) Thread stack overrun:  15560 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use \'mysqld --thread_stack=#\' to specify a bigger stack.',
  'QUERY' => '
	SELECT 
		pg.*,
		getVC(title_html_ref) AS title_html,
		getVC(title_page_ref) AS title_page,
		getLT(content_ref) AS content
	FROM 
		pages AS pg
	WHERE 
		pg.name=\'index\';',
  'PHPFILE' => '/index.php',
  'LINE' => 20,
)</vartrace>
	<sql>
		<query>
	SELECT 
		pg.*,
		getVC(title_html_ref) AS title_html,
		getVC(title_page_ref) AS title_page,
		getLT(content_ref) AS content
	FROM 
		pages AS pg
	WHERE 
		pg.name='index';</query>
		<message>(1436) Thread stack overrun:  15560 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use 'mysqld --thread_stack=#' to specify a bigger stack.</message>
		<errorline>20</errorline>
		<errorfile>/index.php</errorfile>
	</sql>
	<backtrace>
	array (
		  0 => 
		  array (
		    'function' => 'myErrorHandler',
		    'args' => 
		    array (
		      0 => 256,
		      1 => '(SQL)',
		      2 => '/www/vhosts/planeta-vin.ru/html/includes/errorHandlers.inc.php',
		      3 => 87,
		      4 => 
		      array (
		        'ERROR' => '(1436) Thread stack overrun:  15560 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use \'mysqld --thread_stack=#\' to specify a bigger stack.',
		        'QUERY' => '
			SELECT 
				pg.*,
				getVC(title_html_ref) AS title_html,
				getVC(title_page_ref) AS title_page,
				getLT(content_ref) AS content
			FROM 
				pages AS pg
			WHERE 
				pg.name=\'index\';',
		        'PHPFILE' => '/index.php',
		        'LINE' => 20,
		      ),
		    ),
		  ),
		  1 => 
		  array (
		    'file' => '/www/vhosts/planeta-vin.ru/html/includes/errorHandlers.inc.php',
		    'line' => 87,
		    'function' => 'trigger_error',
		    'args' => 
		    array (
		      0 => '(SQL)',
		      1 => 256,
		    ),
		  ),
		  2 => 
		  array (
		    'file' => '/www/vhosts/planeta-vin.ru/html/includes/functions.inc.php',
		    'line' => 20,
		    'function' => 'sqlErrorHandler',
		    'args' => 
		    array (
		      0 => '(1436) Thread stack overrun:  15560 bytes used of a 131072 byte stack, and 128000 bytes needed.  Use \'mysqld --thread_stack=#\' to specify a bigger stack.',
		      1 => '
			SELECT 
				pg.*,
				getVC(title_html_ref) AS title_html,
				getVC(title_page_ref) AS title_page,
				getLT(content_ref) AS content
			FROM 
				pages AS pg
			WHERE 
				pg.name=\'index\';',
		      2 => '/index.php',
		      3 => 20,
		    ),
		  ),
		  3 => 
		  array (
		    'file' => '/www/vhosts/planeta-vin.ru/html/includes/functions.inc.php',
		    'line' => 71,
		    'function' => 'sql_query',
		    'args' => 
		    array (
		      0 => '
			SELECT 
				pg.*,
				getVC(title_html_ref) AS title_html,
				getVC(title_page_ref) AS title_page,
				getLT(content_ref) AS content
			FROM 
				pages AS pg
			WHERE 
				pg.name=\'index\';',
		      1 => '',
		    ),
		  ),
		  4 => 
		  array (
		    'file' => '/www/vhosts/planeta-vin.ru/html/includes/functions.inc.php',
		    'line' => 102,
		    'function' => 'sql_getrow',
		    'args' => 
		    array (
		      0 => '
			SELECT 
				pg.*,
				getVC(title_html_ref) AS title_html,
				getVC(title_page_ref) AS title_page,
				getLT(content_ref) AS content
			FROM 
				pages AS pg
			WHERE 
				pg.name=\'index\';',
		    ),
		  ),
		  5 => 
		  array (
		    'file' => '/www/vhosts/planeta-vin.ru/html/index.php',
		    'line' => 180,
		    'function' => 'loadPage',
		    'args' => 
		    array (
		      0 => 'index',
		    ),
		  ),
		)
	</backtrace>
</errorentry>