[Notice] Trying to get property of non-object

GET /toroa/timeline/

Line 113 in /var/www/vhosts/toroa.org.nz/httpdocs/toroa/timeline/code/models/TimelineEvent.php

Source

104 		));
105 	}
106 	
107 	/**
108 	 * 
109 	 * @param Member $member
110 	 */
111 	public static function get_all(Member $member) {
112 		return TimelineEvent::get()->filter(array(
113 			'MemberID' => $member->ID
114 		));
115 	}
116 	
117 	/**
118 	 * 
119 	 */

Trace

SilverStripe - Timeline
» «
No items found
Website preview