[Warning] file_get_contents(http://loripsum.net/api/4): failed to open stream: HTTP request failed! HTTP/1.1 400 Bad Request

GET /Security/login?BackURL=%2Fmy-account%2F

Line 41 in /www/aquatic/staging/app/code/Page.php

Source

32 
33 	public function init() {
34 		parent::init();
35 		// You can include any CSS or JS required by your project here.
36 		// See: http://doc.silverstripe.org/framework/en/reference/requirements
37 	}
38 
39 
40 	public function LoremIpsum($paragraphs = 4) {
41 		return file_get_contents('http://loripsum.net/api/'.$paragraphs);
42 	}
43 
44 	public function RiskModelPageLink() {
45 		$RiskModelPage = RiskModelPage::get()->first();
46 		if($RiskModelPage){
47 			return $RiskModelPage->Link();

Trace

Environmental Assessment Modelling Tool - Log in

Log in

Calculating