ErrorException [ Fatal Error ]: Call to a member function row() on boolean

FCPATH/system/libraries/Migration.php [ 302 ]

297 	 * @access	protected
298 	 * @return	integer	Current Migration
299 	 */
300 	protected function _get_version()
301 	{
302 		$row = $this->db->get('migrations')->row();
303 		return $row ? $row->version : 0;
304 	}
305 
306 	// --------------------------------------------------------------------
307 
  1. {PHP internal call} » MY_Exceptions::shutdown_handler()

Environment