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

GET /index.php/gb/news-and-reports/news/oset-mx-10-minibikechamps-champions

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/news/oset-mx-10-minibikechamps-champions

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

GET /index.php/gb/news-and-reports/news/oset-mx-10-minibikechamps-champions

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/news/oset-mx-10-minibikechamps-champions

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

GET /index.php/gb/news-and-reports/news/oset-mx-10-minibikechamps-champions

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 MX-10 – MiniBike Supercross Champions! - OSET Bikes

OSET MX-10 – MiniBike Supercross Champions!

The Dirt Bike Show has played host to the MiniBikeChamps mini supercross races for several years, which has proved to be one of the big attractions at the event. As anyone who has ventured out to the indoor race area has seen, the MiniBikeChamps organisation put on a top-level event that attracts hundreds of riders from around the UK.

2018 was no different in this respect. 6 different classes ranging from kids on 50cc auto’s to veterans and Pro’s on 160cc race monsters. But, there was one big difference this year - with 25 year old Connor Ward entering the 88cc class on an OSET MX-10 electric bike!

Connor stepped onto an MX-10 over the summer at a BMX event, and immediately loved the bike and the experience. Connors 6 year old son Alfie also fell for the bike, and the two of them have been riding and racing the MX-10’s ever since.

Connor’s rides at the Dirt bike show were nothing less than spectacular. On his tiny 10” wheels and suspension - versus the majority on 12” and 14” wheels – Connor lined up in 6 races over the Saturday and Sunday.  To literally everyone’s amazement, Connor ended up winning 3 races and securing the overall win!! This was Connor’s first overall win in 5 years, and an indication of what the little MX-10 is capable of.

Connor was rightly buzzing after the event. His lap times would not have been out of place in the 160cc Pro Class. To put it into perspective, some of the best 65cc riders in the country were going around in about 50 seconds per lap. Connor on his MX-10 was doing 41 second laps! Amazing!

“I came into this event hopeful, but really not knowing what I could do on the MX-10. The standard of riding is really high, and I knew the other bikes would have me on top speed and be able to clear more of the jumps. But, after the first couple of practices I was beginning to feel like a good result might be possible. After my first race win I was on cloud 9 – I couldn’t believe it! Then, I knew it was on! I’m absolutely over the moon with the weekend, and with the MX-10. What a bike!”

Ian Smith, founder of OSET, was there on Saturday to witness Connors first win. “Absolutely unreal! I haven’t been that excited for a long time. Connor was amazing on the bike, and really showed what it can do. Technically the bike is for 4-7 year olds, but Connor showed it can mix it up – and win – against big boys on big bikes. Absolutely stunning result. All credit to Connor – he’s my new hero!”

Through the weekend OSET also ran invitational races with riders swapping from their usual petrol machines. All came away with smiles on their faces and a new respect for OSET’s first foray into the MX market. Connors son Alfie also mixed it up with much bigger kids on KTM and Husqvarna 50’s, and came away happy – and much faster by the end than at the start. A great weekend!

Check out the OSET website and our Facebook channel to see the latest MX-10 video’s! 

www.osetbikes.com

www.facebook.com/OSETbikes

Share: