[Notice] Trying to access array offset on value of type null

GET /gb/news-and-reports/oset-cup-reports-and-results/burn-e-side-lives-up-to-its-name/

Line 240 in /home/osetbike/public_html/mysite/code/Site/Page.php

Source

231 	{
232 
233 		$visitor = $_SERVER['REMOTE_ADDR'];
234 
235 			$ipLite = new ip2location_lite;
236 
237 			if (!isset($_COOKIE["geolocation"])) {
238 				$ipLite->setKey('7e6adac1e161b5b5277aa7e960f5b84ab4a979674aa8ca969ce724c2cfdb1916');
239 				$visitorGeolocation = $ipLite->getCountry($visitor);
240 				if ($visitorGeolocation['statusCode'] == 'OK') {
241 					$data = base64_encode(serialize($visitorGeolocation));
242 					setcookie("geolocation", $data, time() + 3600 * 24 * 30); //set cookie for 1 month
243 				}
244 			} else {
245 				$visitorGeolocation = unserialize(base64_decode($_COOKIE["geolocation"]));
246 			}

Trace

GET /gb/news-and-reports/oset-cup-reports-and-results/burn-e-side-lives-up-to-its-name/

[Notice] Trying to access array offset on value of type null

GET /gb/news-and-reports/oset-cup-reports-and-results/burn-e-side-lives-up-to-its-name/

Line 253 in /home/osetbike/public_html/mysite/code/Site/Page.php

Source

244 			} else {
245 				$visitorGeolocation = unserialize(base64_decode($_COOKIE["geolocation"]));
246 			}
247 
248 			//Get errors and locations
249 			$errors = $ipLite->getError();
250 
251 			$locale = substr($this->Locale, -2);
252 
253 			if ((string)$visitorGeolocation['countryCode'] == 'UK') {
254 				(string)$visitorGeolocation['countryCode'] = 'GB';
255 			}
256 
257 			if ((string)$visitorGeolocation['countryCode'] != $locale) {
258 				return true;
259 			} else {

Trace

GET /gb/news-and-reports/oset-cup-reports-and-results/burn-e-side-lives-up-to-its-name/

[Notice] Trying to access array offset on value of type null

GET /gb/news-and-reports/oset-cup-reports-and-results/burn-e-side-lives-up-to-its-name/

Line 257 in /home/osetbike/public_html/mysite/code/Site/Page.php

Source

248 			//Get errors and locations
249 			$errors = $ipLite->getError();
250 
251 			$locale = substr($this->Locale, -2);
252 
253 			if ((string)$visitorGeolocation['countryCode'] == 'UK') {
254 				(string)$visitorGeolocation['countryCode'] = 'GB';
255 			}
256 
257 			if ((string)$visitorGeolocation['countryCode'] != $locale) {
258 				return true;
259 			} else {
260 				return false;
261 			}
262 
263 	}

Trace

BURN E SIDE LIVES UP TO ITS NAME - OSET Bikes

BURN E SIDE LIVES UP TO ITS NAME

HOT HOT HOT

ROUND 5 OSET CUP NORTH at GHYLL FARM BURNESIDE

IMG20220827114500

COURTESY OF THE BATTY FAMILY AND SEDBURGH CLUB

Thirty riders turned up for our latest event and the weather was kind to us once again. Carl Batty set out a challenging course of six sections which were ridden four times by all classes. The sections were a mixture of banking's, streams and good old Lakes rocks. We did not have any Elite riders at this round so three routes was enough to cover everybody.

White for the beginners. 

IMG20220827120342IMG20220827120147IMG20220827115217IMG20220827115211

Yellow for yearlings.

Red for hardened competitors.

Considering the dry conditions the grass was really slippy as were the rocks. Gentle throttle was required to gain success and young Jamie Waddington proved to be an expert in control. The 12.5's were great fun as always and all the young ones had a good crack at the sections, chasing Mum's and Dad's to follow the line. A few of the parents were certainly lighter come the end of the day !!!!

It was a long day and two sets of trophies had to be handed out at the end.

Burn 1Burn 2

One set for the YOUTH SUPERSTARS at Rock'N'Hop and one set for the day. Plenty of kids left with more than one place board and medal. It was like the Olympics.

Next Round is at the Rock Store near Scunthorpe on 24th September. SEE YOU ALL THERE !!!!

Share:

BURNESIDE RESULTS