[User Error] Uncaught InvalidArgumentException: ViewableData->customise(): $data must be an associative array or a ViewableData instance

GET /honden-ter-adoptie/hond/sort

Line 264 in /home/alasre1q/public_html/framework/view/ViewableData.php

Source

255 	public function customise($data) {
256 		if(is_array($data) && (empty($data) || ArrayLib::is_associative($data))) {
257 			$data = new ArrayData($data);
258 		}
259 
260 		if($data instanceof ViewableData) {
261 			return new ViewableData_Customised($this, $data);
262 		}
263 
264 		throw new InvalidArgumentException (
265 			'ViewableData->customise(): $data must be an associative array or a ViewableData instance'
266 		);
267 	}
268 
269 	/**
270 	 * @return ViewableData

Trace