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

GET /gb/how-to-buy/uk-dealers-list/

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/how-to-buy/uk-dealers-list/

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

GET /gb/how-to-buy/uk-dealers-list/

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/how-to-buy/uk-dealers-list/

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

GET /gb/how-to-buy/uk-dealers-list/

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

Where to buy OSET - UK Dealers - OSET Bikes

Where to buy OSET - UK Dealers

All OSET Bikes are sold through our approved dealer network in the UK. Please see the list below or get in contact with us

BY CALLING US ON 01424 211 804

(Just let us know where you are located and what model you are interested in)

NEW DEALERS WANTED 
OSET is always interested in building strong partnerships with new distributors and dealers around the World. If you have interest in starting a discussion on this topic please complete this form for our review. Based on your submission we will contact you to organise a follow up call to discuss the opportunity further.

View on map

Company Town Zip/Postcode Email
OSET Staff HQ

Bristol

Company Town Zip/Postcode Telephone Email
Meredith Mx Ltd Bristol BS4 5AB 01179 714873

County Down

Company Town Zip/Postcode Telephone Email
OHA Motorsport Ltd Bangor BT19 7PD 028 9131 0297

Derbyshire

Company Town Zip/Postcode Telephone Email
John Shirt Motorcycles Ltd Buxton SK17 9JL 01298 766813

Devon

Company Town Zip/Postcode Telephone Email
South West Trials Sidmouth EX10 9DN 01395 514287

Dorset

Company Town Zip/Postcode Telephone Email
Destination Motorcycles (Triumph Dorset) Christchurch BH23 1EZ 01202 040066

Gloucestershire

Company Town Zip/Postcode Telephone Email
B.V.M Moto Stroud GL5 5EX 01453 297177

Kent

Company Town Zip/Postcode Telephone Email
Inta Motorcyles Ltd Maidstone ME15 6HE 01622 688727

Lincolnshire

Company Town Zip/Postcode Telephone Email
Moto 101 Grantham NG32 2AB 07581454866

London

Company Town Zip/Postcode Telephone Email
GS Jet Tech London E18 2PB 0208 5040011

Norfolk

Company Town Zip/Postcode Telephone Email
Lings Powersports Harleston IP20 9DW 01379 851090

North West

Company Town Zip/Postcode Telephone Email
Inch Perfect Trials Clitheroe  BB7 3AU 01200 448130

Northamptonshire

Company Town Zip/Postcode Telephone Email
John Lee Motorcycles Rushden NN10 8BP 01933 312827

Northumberland

Company Town Zip/Postcode Telephone Email
Off Road Moto Blyth NE24 4RR 01670 361080

Scotland

Company Town Zip/Postcode Telephone Email
Drysdale Motorcycles Perth PH1 3AA 01738 451050

Somerset

Company Town Zip/Postcode Telephone Email
Total Triumph Taunton TA4 1ES 01823 358899

South Yorkshire

Company Town Zip/Postcode Telephone Email
Rev Shed Moto Barnsley S73 8DJ 01226 212863

Staffordshire

Company Town Zip/Postcode Telephone Email
Staffordshire Triumph Stoke-on-Trent ST6 5PB 01782 813866

Wales

Company Town Zip/Postcode Telephone Email
Motobeics Gwion Prys Motorcycles Garndolbenmaen LL51 9DJ 01766 530 831

Yorkshire & Humber

Company Town Zip/Postcode Telephone Email
A1 Moto Services York YO10 3BU 01904 625676
Appleyard Motorcycles Keighley BD21 5AJ 01535 606311
Trials UK Leeds LS18 5NX 01132 818242