ErrorException [ Warning ]: mysqli::query(): MySQL server has gone away

MODPATH/_internal/database/classes/Kohana/Database/MySQLi.php [ 163 ]

158 			// Benchmark this query for the current instance
159 			$benchmark = Profiler::start("Database ({$this->_instance})", $sql);
160 		}
161 
162 		// Execute the query
163 		if (($result = $this->_connection->query($sql)) === FALSE)
164 		{
165 			if (isset($benchmark))
166 			{
167 				// This benchmark is worthless
168 				Profiler::delete($benchmark);
  1. {PHP internal call} » Kohana_Core::error_handler(arguments)

  2. MODPATH/_internal/database/classes/Kohana/Database/MySQLi.php [ 163 ] » mysqli->query(arguments)

  3. MODPATH/_internal/database/classes/Kohana/Database/Query.php [ 251 ] » Kohana_Database_MySQLi->query(arguments)

  4. MODPATH/_internal/orm/classes/Kohana/ORM.php [ 1424 ] » Kohana_Database_Query->execute(arguments)

  5. MODPATH/_internal/orm/classes/Kohana/ORM.php [ 1227 ] » Kohana_ORM->_load_result(arguments)

  6. MODPATH/sport/classes/Model/Highlight.php [ 64 ] » Kohana_ORM->find_all(arguments)

  7. MODPATH/sport/classes/Module/Highlights/New.php [ 8 ] » Model_Highlight->listing(arguments)

  8. MODPATH/_internal/module/classes/Kohana/Module.php [ 59 ] » Module_Highlights_New->_data()

  9. MODPATH/_internal/module/classes/Kohana/Module.php [ 49 ] » Kohana_Module->data()

  10. MODPATH/_internal/module/classes/Kohana/Module.php [ 44 ] » Kohana_Module->_initialize()

  11. MODPATH/_internal/module/classes/Kohana/Module.php [ 21 ] » Kohana_Module->__construct(arguments)

  12. APPPATH/classes/Controller/Template.php [ 168 ] » Kohana_Module::factory(arguments)

  13. APPPATH/classes/Controller/Template.php [ 92 ] » Controller_Template->_init()

  14. SYSPATH/classes/Kohana/Controller.php [ 69 ] » Controller_Template->before()

  15. {PHP internal call} » Kohana_Controller->execute()

  16. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

  17. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  18. APPPATH/classes/Request.php [ 153 ] » Kohana_Request_Client->execute(arguments)

  19. DOCROOT/index.php [ 353 ] » Request->execute()

Environment