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

GET /gb/news-and-reports/news/british-round-of-trial-gp-to-host-oset-mini-trial-with-trials-uk

Line 1012 in /home/osetbike/public_html/framework/model/Image.php

Source

1003 	 * if it is 0 return the height, if it is 1 return the width.
1004 	 * @return string|int|null
1005 	 */
1006 	public function getDimensions($dim = "string") {
1007 		if($this->getField('Filename')) {
1008 
1009 			$imagefile = $this->getFullPath();
1010 			if($this->exists()) {
1011 				$size = getimagesize($imagefile);
1012 				return ($dim === "string") ? "$size[0]x$size[1]" : $size[$dim];
1013 			} else {
1014 				return ($dim === "string") ? "file '$imagefile' not found" : null;
1015 			}
1016 		}
1017 	}
1018 

Trace

GET /gb/news-and-reports/news/british-round-of-trial-gp-to-host-oset-mini-trial-with-trials-uk

[Warning] include(/home/osetbike/public_html/silverstripe-cache/osetbike-php7.4.33/.cache.themes.oset2015.templates.Page.ss): failed to open stream: No such file or directory

GET /gb/news-and-reports/news/british-round-of-trial-gp-to-host-oset-mini-trial-with-trials-uk

Line 1172 in /home/osetbike/public_html/framework/view/SSViewer.php

Source

1163 				echo str_pad($num+1,5) . htmlentities($line, ENT_COMPAT, 'UTF-8');
1164 			}
1165 			echo "</pre>";
1166 		}
1167 
1168 		$cache = $this->getPartialCacheStore();
1169 		$scope = new SSViewer_DataPresenter($item, $overlay, $underlay, $inheritedScope);
1170 		$val = '';
1171 
1172 		include($cacheFile);
1173 
1174 		return $val;
1175 	}
1176 
1177 	/**
1178 	 * The process() method handles the "meat" of the template processing.

Trace

GET /gb/news-and-reports/news/british-round-of-trial-gp-to-host-oset-mini-trial-with-trials-uk

[Warning] include(): Failed opening '/home/osetbike/public_html/silverstripe-cache/osetbike-php7.4.33/.cache.themes.oset2015.templates.Page.ss' for inclusion (include_path='.:/home/osetbike/public_html/framework:/home/osetbike/public_html/framework/parsers:/home/osetbike/public_html/framework/thirdparty:.:/opt/cpanel/ea-php74/root/usr/share/pear')

GET /gb/news-and-reports/news/british-round-of-trial-gp-to-host-oset-mini-trial-with-trials-uk

Line 1172 in /home/osetbike/public_html/framework/view/SSViewer.php

Source

1163 				echo str_pad($num+1,5) . htmlentities($line, ENT_COMPAT, 'UTF-8');
1164 			}
1165 			echo "</pre>";
1166 		}
1167 
1168 		$cache = $this->getPartialCacheStore();
1169 		$scope = new SSViewer_DataPresenter($item, $overlay, $underlay, $inheritedScope);
1170 		$val = '';
1171 
1172 		include($cacheFile);
1173 
1174 		return $val;
1175 	}
1176 
1177 	/**
1178 	 * The process() method handles the "meat" of the template processing.

Trace