[Notice] Undefined index: offset

GET /work/more

Line 49 in /home/homegrown/public_html/mysite/code/ProjectHolder.php

Source

40 	}
41 
42 	/**
43 	 * ajax call to show more projects
44 	 * @param  int $request [description]
45 	 * @return object          [description]
46 	 */
47 	public function more( $request ) {
48 
49 		$offset = $_POST['offset'];
50 		$newOffset = $offset + 4;
51 		$TotalProjectsCount = $this->Children()->count();
52 
53 		$list = $this->ProjectsPages($offset);	
54 		
55 		$Templatedata = array('MoreProjects' => $list, 'TotalProjects' => $TotalProjectsCount );

Trace

Wellington Culinary Events Trust

Project : Highball brand

Brand

Illustration

Concept

Design

Whanganui Collegiate School

Project : Whanganui Collegiate School Prospectus

New Zealand Cycle Trail

Project : New Zealand Cycle Trail Website

Website

Digital

Concept

Royal New Zealand Ballet

Project : 2020 Season

Collateral

Photography

Concept

Print

Strategy

SHOW MORE