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

GET /gb/news-and-reports/news/oset-activity-pack-and-training-videos/

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/news/oset-activity-pack-and-training-videos/

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

GET /gb/news-and-reports/news/oset-activity-pack-and-training-videos/

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/news/oset-activity-pack-and-training-videos/

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

GET /gb/news-and-reports/news/oset-activity-pack-and-training-videos/

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 Activity Pack and Training Video’s - OSET Bikes

OSET Activity Pack and Training Video’s

With the prospect of months of extra sofa time and boredom, the OSET crew decided to be pro-active and give both kids and adults some fun – both on and off their bikes. 

The OSET ‘Activity Pack’ is now available to download from the OSET web site here. This pack will keep the kids busy with word searches, crosswords, a quiz, colouring exercises with bikes and clothes, story writing and more!

For both kids AND adults with OSET’s, the back garden is often big enough to do some serious learning while ‘Taking Fun Seriously’. OSET’s own Oliver and Elliot Smith will be releasing a series of training and challenge video’s for those at home to follow. OSET hope that as many riders as possible hop on their bikes and take part.

With each challenge, OSET are inviting riders to send in their video’s via the OSET Facebook page. Oliver is ready to comment on customer video’s to provide personalised tips and guidance. Each challenge will be preceded by a training video. Subjects include basics such as stance on the bike, balance and tight turns, up through hopping, wheelies, stoppies, bunny-hops, front touches and – ultimately - to front wheel roll-backs! OSET hope that USA Trials Champ and stunt rider Pat Smage will be guest teacher for this technique, with Oliver as student number 1!

The advantage of OSET bikes has always been the ability to ride a lot, in small spaces, and in silence! In these difficult times there is no reason not to improve your riding at a faster pace than ever. Both Oliver and Elliot have been averaging 4 hours a day on bikes – all in the back garden!

As Malcolm Gladwell, author of ‘Outliers’ concluded ‘ten thousand hours is the magic number of greatness’. To be World Class takes 20 hours a week for 10 years. At least during this time, we can all add some hours and increase our expertise in riding off road motorcycles while having fun and getting our daily exercise!

If you can’t ride your motorcycle anywhere else, then at least the back garden is still available!

Share: