ErrorException [ Notice ]: Undefined variable: nb_events

APPPATH/classes/Controller/Evenement.php [ 356 ]

351 			$ok = 1;
352 		}
353 
354 		// set-up the pagination
355 		$pagination = Pagination::factory(array(
356 			'total_items' => $nb_events,
357 			'items_per_page' => 4, // this will override the default set in your config
358 		));
359 
360 
361 		$records = $nb_events_results->offset($pagination->offset)->limit($pagination->items_per_page)->find_all();
  1. APPPATH/classes/Controller/Evenement.php [ 356 ] » Kohana_Core::error_handler(arguments)

  2. APPPATH/classes/Controller/Evenement.php [ 12 ] » Controller_Evenement->action_all()

  3. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Evenement->action_index()

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

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

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

  7. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

  8. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment