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

GET /index.php/gb/news-and-reports/oset-cup-reports-and-results/?start=48

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 /index.php/gb/news-and-reports/oset-cup-reports-and-results/?start=48

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

GET /index.php/gb/news-and-reports/oset-cup-reports-and-results/?start=48

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 /index.php/gb/news-and-reports/oset-cup-reports-and-results/?start=48

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

GET /index.php/gb/news-and-reports/oset-cup-reports-and-results/?start=48

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

OSET Cup Reports - OSET Bikes

OSET Cup Reports

Here you will find all of the OSET Cup reports and results.

OSET RIDERS COME TO BEAZLEY END

Braintree and District Motorcycle Club run the first round of the 2022 Essex Oset Cup on Saturday 26th February. Held over the undulating North Essex hills of Beazley End just north of Braintree mixed with some man made logs and pipes strategically placed around this super trials venue.

OSET CUP VENUE SAVED FOR 12 Months

Cornwall OSET Cup 2022 Round 226th February 2022(Spring/Summer Series)

OSET CUP CORNWALL KICKS OFF

Cornwall OSET Cup 2022 Round 129th January 2022(Spring/Summer Series)

FANCY DRESS ON WHEELS

Cornwall OSET Christmas Fancy Dress Trial

OSET TEAMS UP WITH CAMBORNE AND REDRUTH

Report Cornwall OSET & Youth Team Trial 2021

OSET CUP CORNWALL A STORMING SUCCESS

Report Cornwall Oset Cup Championship 2021

MK Offroad And North Berks Mcc OSET CUP

OSET CUP SOUTH WEST WALES

ROUND 7 CORNWALL OSET CUP

The 7th Round of the 2021 Cornwall Oset Cup was held at Trebarrow, Bugle on Saturday 30th October by the Camborne and Redruth MC. 36 riders took part over three laps of eight sections. Again we welcomed another newcomer into the Cornwall Oset family and this time it was 5...

Rock'N'Hop Allstars

Essex OSET CUP

Braintree and District Motorcycle Club run its first ever “Essex Oset Cup” on Saturday 9th October. Held over the undulating North Essex hills of Beazley End just north of Braintree mixed with some man made logs and pipes strategically placed around this super trials venue.

SOUTH MIDLANDS OSET CUP

Well, the 2021 real SM OSET Cup Championship has come to a resounding successful end!!!First & foremost, we must again thank all people who have helped run this series... Without you trials just do not exist...So, to the winners...