Deprecated: Return type of SS_DAG::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/core/DAG.php on line 89 Deprecated: Return type of SS_DAG_Iterator::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/core/DAG.php on line 137 Deprecated: Return type of SS_DAG_Iterator::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/core/DAG.php on line 148 Deprecated: Return type of SS_DAG_Iterator::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/core/DAG.php on line 133 Deprecated: Return type of SS_DAG_Iterator::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/core/DAG.php on line 157 Deprecated: Return type of SS_DAG_Iterator::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/core/DAG.php on line 152 Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php on line 383 Deprecated: file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php on line 411 Deprecated: Return type of ViewableData::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/view/ViewableData.php on line 599 Deprecated: Return type of CMSMenu::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/admin/code/CMSMenu.php on line 304 Deprecated: Return type of Translate_Adapter_RailsYaml_Iterator::key() should either be compatible with RecursiveIteratorIterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php on line 99 Deprecated: Return type of Translate_Adapter_RailsYaml_Iterator::callGetChildren() should either be compatible with RecursiveIteratorIterator::callGetChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php on line 87 Deprecated: Return type of Translate_Adapter_RailsYaml_Iterator::endChildren() should either be compatible with RecursiveIteratorIterator::endChildren(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/RailsYAML.php on line 93 Deprecated: Return type of i18nSSLegacyAdapter_Iterator::key() should either be compatible with RecursiveIteratorIterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/i18n/i18nSSLegacyAdapter.php on line 85 Deprecated: Return type of i18nSSLegacyAdapter_Iterator::callGetChildren() should either be compatible with RecursiveIteratorIterator::callGetChildren(): ?RecursiveIterator, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/i18n/i18nSSLegacyAdapter.php on line 75 Deprecated: Return type of i18nSSLegacyAdapter_Iterator::endChildren() should either be compatible with RecursiveIteratorIterator::endChildren(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /usr/www/users/hdmusekcur/framework/i18n/i18nSSLegacyAdapter.php on line 80 GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] Return type of SS_Query::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 159 in /usr/www/users/hdmusekcur/framework/model/connect/Query.php

Source

150 			return $this->seek(0);
151 		}
152 	}
153 
154 	/**
155 	 * Iterator function implementation. Return the current item of the iterator.
156 	 *
157 	 * @return array
158 	 */
159 	public function current() {
160 		if (!$this->currentRecord) {
161 			return $this->next();
162 		} else {
163 			return $this->currentRecord;
164 		}
165 	}

Trace

GET /

[Deprecated] Return type of SS_Query::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 192 in /usr/www/users/hdmusekcur/framework/model/connect/Query.php

Source

183 		return $this->rowNum;
184 	}
185 
186 	/**
187 	 * Iterator function implementation. Return the next record in the iterator.
188 	 * Makes use of {@link nextRecord()}, takes care of the plumbing.
189 	 *
190 	 * @return array
191 	 */
192 	public function next() {
193 		$this->queryHasBegun = true;
194 		$this->currentRecord = $this->nextRecord();
195 		$this->rowNum++;
196 		return $this->currentRecord;
197 	}
198 

Trace

GET /

[Deprecated] Return type of SS_Query::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 182 in /usr/www/users/hdmusekcur/framework/model/connect/Query.php

Source

173 		$this->rewind();
174 		return $this->current();
175 	}
176 
177 	/**
178 	 * Iterator function implementation. Return the row number of the current item.
179 	 *
180 	 * @return int
181 	 */
182 	public function key() {
183 		return $this->rowNum;
184 	}
185 
186 	/**
187 	 * Iterator function implementation. Return the next record in the iterator.
188 	 * Makes use of {@link nextRecord()}, takes care of the plumbing.

Trace

GET /

[Deprecated] Return type of SS_Query::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 204 in /usr/www/users/hdmusekcur/framework/model/connect/Query.php

Source

195 		$this->rowNum++;
196 		return $this->currentRecord;
197 	}
198 
199 	/**
200 	 * Iterator function implementation. Check if the iterator is pointing to a valid item.
201 	 *
202 	 * @return bool
203 	 */
204 	public function valid() {
205 		if (!$this->queryHasBegun) $this->next();
206 		return $this->currentRecord !== false;
207 	}
208 
209 	/**
210 	 * Return the next record in the query result.

Trace

GET /

[Deprecated] Return type of SS_Query::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 146 in /usr/www/users/hdmusekcur/framework/model/connect/Query.php

Source

137 		return $result;
138 	}
139 
140 	/**
141 	 * Iterator function implementation. Rewind the iterator to the first item and return it.
142 	 * Makes use of {@link seek()} and {@link numRecords()}, takes care of the plumbing.
143 	 *
144 	 * @return array
145 	 */
146 	public function rewind() {
147 		if ($this->queryHasBegun && $this->numRecords() > 0) {
148 			$this->queryHasBegun = false;
149 			$this->currentRecord = null;
150 			return $this->seek(0);
151 		}
152 	}

Trace

GET /

[Deprecated] Return type of SS_HTTPRequest::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 356 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

347 	}
348 
349 	/**
350 	 * Enables the existence of a key-value pair in the request to be checked using
351 	 * array syntax, so isset($request['title']) will check for $_POST['title'] and $_GET['title']
352 	 *
353 	 * @param unknown_type $offset
354 	 * @return boolean
355 	 */
356 	public function offsetExists($offset) {
357 		if(isset($this->postVars[$offset])) return true;
358 		if(isset($this->getVars[$offset])) return true;
359 		return false;
360 	}
361 
362 	/**

Trace

GET /

[Deprecated] Return type of SS_HTTPRequest::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 368 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

359 		return false;
360 	}
361 
362 	/**
363 	 * Access a request variable using array syntax. eg: $request['title'] instead of $request->postVar('title')
364 	 *
365 	 * @param unknown_type $offset
366 	 * @return unknown
367 	 */
368 	public function offsetGet($offset) {
369 		return $this->requestVar($offset);
370 	}
371 
372 	/**
373 	 * @ignore
374 	 */

Trace

GET /

[Deprecated] Return type of SS_HTTPRequest::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 375 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

366 	 * @return unknown
367 	 */
368 	public function offsetGet($offset) {
369 		return $this->requestVar($offset);
370 	}
371 
372 	/**
373 	 * @ignore
374 	 */
375 	public function offsetSet($offset, $value) {}
376 
377 	/**
378 	 * @ignore
379 	 */
380 	public function offsetUnset($offset) {}
381 

Trace

GET /

[Deprecated] Return type of SS_HTTPRequest::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 380 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

371 
372 	/**
373 	 * @ignore
374 	 */
375 	public function offsetSet($offset, $value) {}
376 
377 	/**
378 	 * @ignore
379 	 */
380 	public function offsetUnset($offset) {}
381 
382 	/**
383 	 * Construct an SS_HTTPResponse that will deliver a file to the client.
384 	 * Caution: Since it requires $fileData to be passed as binary data (no stream support),
385 	 * it's only advisable to send small files through this method.
386 	 *

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated

GET /

Line 109 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

100 	 */
101 	protected $routeParams = array();
102 
103 	protected $unshiftedButParsedParts = 0;
104 
105 	/**
106 	 * Construct a SS_HTTPRequest from a URL relative to the site root.
107 	 */
108 	public function __construct($httpMethod, $url, $getVars = array(), $postVars = array(), $body = null) {
109 		$this->httpMethod = strtoupper(self::detect_method($httpMethod, $postVars));
110 		$this->setUrl($url);
111 
112 		$this->getVars = (array) $getVars;
113 		$this->postVars = (array) $postVars;
114 		$this->body = $body;
115 	}

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 698 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

689 	 *
690 	 * Note: Can't solely rely on PHP's parse_url() , since it is not intended to work with relative URLs
691 	 * or for security purposes. filter_var($url, FILTER_VALIDATE_URL) has similar problems.
692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 701 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 704 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 705 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.

Trace

GET /

[Deprecated] parse_url(): Passing null to parameter #1 ($url) of type string is deprecated

GET /

Line 708 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition

Trace

GET /

[Deprecated] preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

GET /

Line 712 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition
715 				// (meaning its not preceded by a slash).
716 				$colonPosition !== FALSE
717 				&& ($slashPosition === FALSE || $colonPosition < $slashPosition)
718 			)

Trace

GET /

[Deprecated] preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

GET /

Line 132 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

123 	 * @param string The new URL
124 	 *
125 	 * @return SS_HTTPRequest The updated request
126 	 */
127 	public function setUrl($url) {
128 		$this->url = $url;
129 
130 		// Normalize URL if its relative (strictly speaking), or has leading slashes
131 		if(Director::is_relative_url($url) || preg_match('/^\//', $url)) {
132 			$this->url = preg_replace(array('/\/+/','/^\//', '/\/$/'),array('/','',''), $this->url);
133 		}
134 		if(preg_match('/^(.+)\.([A-Za-z][A-Za-z0-9]*)$/', $this->url, $matches)) {
135 			$this->url = $matches[1];
136 			$this->extension = $matches[2];
137 		}
138 		if($this->url) $this->dirParts = preg_split('|/+|', $this->url);

Trace

GET /

[Deprecated] strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated

GET /

Line 109 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

100 	 */
101 	protected $routeParams = array();
102 
103 	protected $unshiftedButParsedParts = 0;
104 
105 	/**
106 	 * Construct a SS_HTTPRequest from a URL relative to the site root.
107 	 */
108 	public function __construct($httpMethod, $url, $getVars = array(), $postVars = array(), $body = null) {
109 		$this->httpMethod = strtoupper(self::detect_method($httpMethod, $postVars));
110 		$this->setUrl($url);
111 
112 		$this->getVars = (array) $getVars;
113 		$this->postVars = (array) $postVars;
114 		$this->body = $body;
115 	}

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 698 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

689 	 *
690 	 * Note: Can't solely rely on PHP's parse_url() , since it is not intended to work with relative URLs
691 	 * or for security purposes. filter_var($url, FILTER_VALIDATE_URL) has similar problems.
692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 701 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 704 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 705 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.

Trace

GET /

[Deprecated] parse_url(): Passing null to parameter #1 ($url) of type string is deprecated

GET /

Line 708 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition

Trace

GET /

[Deprecated] preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

GET /

Line 712 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition
715 				// (meaning its not preceded by a slash).
716 				$colonPosition !== FALSE
717 				&& ($slashPosition === FALSE || $colonPosition < $slashPosition)
718 			)

Trace

GET /

[Deprecated] preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

GET /

Line 132 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

123 	 * @param string The new URL
124 	 *
125 	 * @return SS_HTTPRequest The updated request
126 	 */
127 	public function setUrl($url) {
128 		$this->url = $url;
129 
130 		// Normalize URL if its relative (strictly speaking), or has leading slashes
131 		if(Director::is_relative_url($url) || preg_match('/^\//', $url)) {
132 			$this->url = preg_replace(array('/\/+/','/^\//', '/\/$/'),array('/','',''), $this->url);
133 		}
134 		if(preg_match('/^(.+)\.([A-Za-z][A-Za-z0-9]*)$/', $this->url, $matches)) {
135 			$this->url = $matches[1];
136 			$this->extension = $matches[2];
137 		}
138 		if($this->url) $this->dirParts = preg_split('|/+|', $this->url);

Trace

GET /

[Deprecated] Return type of DataList::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1126 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1117 			E_USER_ERROR);
1118 	}
1119 
1120 	/**
1121 	 * Returns whether an item with $key exists
1122 	 *
1123 	 * @param mixed $key
1124 	 * @return bool
1125 	 */
1126 	public function offsetExists($key) {
1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1136 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *
1133 	 * @param mixed $key
1134 	 * @return DataObject
1135 	 */
1136 	public function offsetGet($key) {
1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1146 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *
1143 	 * @param mixed $key
1144 	 * @param mixed $value
1145 	 */
1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1155 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *
1153 	 * @param mixed $key
1154 	 */
1155 	public function offsetUnset($key) {
1156 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1157 	}
1158 
1159 }

Trace

GET /

[Deprecated] Return type of DataList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 768 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *
766 	 * @return int
767 	 */
768 	public function count() {
769 		return $this->dataQuery->count();
770 	}
771 
772 	/**
773 	 * Return the maximum value of the given field in this DataList
774 	 *

Trace

GET /

[Deprecated] Return type of DataList::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 759 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

750 		return $item;
751 	}
752 
753 	/**
754 	 * Returns an Iterator for this DataList.
755 	 * This function allows you to use DataLists in foreach loops
756 	 *
757 	 * @return ArrayIterator
758 	 */
759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1126 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1117 			E_USER_ERROR);
1118 	}
1119 
1120 	/**
1121 	 * Returns whether an item with $key exists
1122 	 *
1123 	 * @param mixed $key
1124 	 * @return bool
1125 	 */
1126 	public function offsetExists($key) {
1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1136 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *
1133 	 * @param mixed $key
1134 	 * @return DataObject
1135 	 */
1136 	public function offsetGet($key) {
1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1146 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *
1143 	 * @param mixed $key
1144 	 * @param mixed $value
1145 	 */
1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1155 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *
1153 	 * @param mixed $key
1154 	 */
1155 	public function offsetUnset($key) {
1156 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1157 	}
1158 
1159 }

Trace

GET /

[Deprecated] Return type of DataList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 768 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *
766 	 * @return int
767 	 */
768 	public function count() {
769 		return $this->dataQuery->count();
770 	}
771 
772 	/**
773 	 * Return the maximum value of the given field in this DataList
774 	 *

Trace

GET /

[Deprecated] Return type of DataList::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 759 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

750 		return $item;
751 	}
752 
753 	/**
754 	 * Returns an Iterator for this DataList.
755 	 * This function allows you to use DataLists in foreach loops
756 	 *
757 	 * @return ArrayIterator
758 	 */
759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1126 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1117 			E_USER_ERROR);
1118 	}
1119 
1120 	/**
1121 	 * Returns whether an item with $key exists
1122 	 *
1123 	 * @param mixed $key
1124 	 * @return bool
1125 	 */
1126 	public function offsetExists($key) {
1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1136 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *
1133 	 * @param mixed $key
1134 	 * @return DataObject
1135 	 */
1136 	public function offsetGet($key) {
1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1146 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *
1143 	 * @param mixed $key
1144 	 * @param mixed $value
1145 	 */
1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1155 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *
1153 	 * @param mixed $key
1154 	 */
1155 	public function offsetUnset($key) {
1156 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1157 	}
1158 
1159 }

Trace

GET /

[Deprecated] Return type of DataList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 768 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *
766 	 * @return int
767 	 */
768 	public function count() {
769 		return $this->dataQuery->count();
770 	}
771 
772 	/**
773 	 * Return the maximum value of the given field in this DataList
774 	 *

Trace

GET /

[Deprecated] Return type of DataList::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 759 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

750 		return $item;
751 	}
752 
753 	/**
754 	 * Returns an Iterator for this DataList.
755 	 * This function allows you to use DataLists in foreach loops
756 	 *
757 	 * @return ArrayIterator
758 	 */
759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1126 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1117 			E_USER_ERROR);
1118 	}
1119 
1120 	/**
1121 	 * Returns whether an item with $key exists
1122 	 *
1123 	 * @param mixed $key
1124 	 * @return bool
1125 	 */
1126 	public function offsetExists($key) {
1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetGet($key) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1136 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1127 		return ($this->limit(1,$key)->First() != null);
1128 	}
1129 
1130 	/**
1131 	 * Returns item stored in list with index $key
1132 	 *
1133 	 * @param mixed $key
1134 	 * @return DataObject
1135 	 */
1136 	public function offsetGet($key) {
1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetSet($key, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1146 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1137 		return $this->limit(1, $key)->First();
1138 	}
1139 
1140 	/**
1141 	 * Set an item with the key in $key
1142 	 *
1143 	 * @param mixed $key
1144 	 * @param mixed $value
1145 	 */
1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *

Trace

GET /

[Deprecated] Return type of DataList::offsetUnset($key) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 1155 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

1146 	public function offsetSet($key, $value) {
1147 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1148 	}
1149 
1150 	/**
1151 	 * Unset an item with the key in $key
1152 	 *
1153 	 * @param mixed $key
1154 	 */
1155 	public function offsetUnset($key) {
1156 		user_error("Can't alter items in a DataList using array-access", E_USER_ERROR);
1157 	}
1158 
1159 }

Trace

GET /

[Deprecated] Return type of DataList::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 768 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *
766 	 * @return int
767 	 */
768 	public function count() {
769 		return $this->dataQuery->count();
770 	}
771 
772 	/**
773 	 * Return the maximum value of the given field in this DataList
774 	 *

Trace

GET /

[Deprecated] Return type of DataList::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice

GET /

Line 759 in /usr/www/users/hdmusekcur/framework/model/DataList.php

Source

750 		return $item;
751 	}
752 
753 	/**
754 	 * Returns an Iterator for this DataList.
755 	 * This function allows you to use DataLists in foreach loops
756 	 *
757 	 * @return ArrayIterator
758 	 */
759 	public function getIterator() {
760 		return new ArrayIterator($this->toArray());
761 	}
762 
763 	/**
764 	 * Return the number of items in this DataList
765 	 *

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated

GET /

Line 109 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

100 	 */
101 	protected $routeParams = array();
102 
103 	protected $unshiftedButParsedParts = 0;
104 
105 	/**
106 	 * Construct a SS_HTTPRequest from a URL relative to the site root.
107 	 */
108 	public function __construct($httpMethod, $url, $getVars = array(), $postVars = array(), $body = null) {
109 		$this->httpMethod = strtoupper(self::detect_method($httpMethod, $postVars));
110 		$this->setUrl($url);
111 
112 		$this->getVars = (array) $getVars;
113 		$this->postVars = (array) $postVars;
114 		$this->body = $body;
115 	}

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 698 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

689 	 *
690 	 * Note: Can't solely rely on PHP's parse_url() , since it is not intended to work with relative URLs
691 	 * or for security purposes. filter_var($url, FILTER_VALIDATE_URL) has similar problems.
692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 701 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 704 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 705 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.

Trace

GET /

[Deprecated] parse_url(): Passing null to parameter #1 ($url) of type string is deprecated

GET /

Line 708 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition

Trace

GET /

[Deprecated] preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

GET /

Line 712 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition
715 				// (meaning its not preceded by a slash).
716 				$colonPosition !== FALSE
717 				&& ($slashPosition === FALSE || $colonPosition < $slashPosition)
718 			)

Trace

GET /

[Deprecated] preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

GET /

Line 132 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

123 	 * @param string The new URL
124 	 *
125 	 * @return SS_HTTPRequest The updated request
126 	 */
127 	public function setUrl($url) {
128 		$this->url = $url;
129 
130 		// Normalize URL if its relative (strictly speaking), or has leading slashes
131 		if(Director::is_relative_url($url) || preg_match('/^\//', $url)) {
132 			$this->url = preg_replace(array('/\/+/','/^\//', '/\/$/'),array('/','',''), $this->url);
133 		}
134 		if(preg_match('/^(.+)\.([A-Za-z][A-Za-z0-9]*)$/', $this->url, $matches)) {
135 			$this->url = $matches[1];
136 			$this->extension = $matches[2];
137 		}
138 		if($this->url) $this->dirParts = preg_split('|/+|', $this->url);

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] strtoupper(): Passing null to parameter #1 ($string) of type string is deprecated

GET /

Line 109 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

100 	 */
101 	protected $routeParams = array();
102 
103 	protected $unshiftedButParsedParts = 0;
104 
105 	/**
106 	 * Construct a SS_HTTPRequest from a URL relative to the site root.
107 	 */
108 	public function __construct($httpMethod, $url, $getVars = array(), $postVars = array(), $body = null) {
109 		$this->httpMethod = strtoupper(self::detect_method($httpMethod, $postVars));
110 		$this->setUrl($url);
111 
112 		$this->getVars = (array) $getVars;
113 		$this->postVars = (array) $postVars;
114 		$this->body = $body;
115 	}

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 698 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

689 	 *
690 	 * Note: Can't solely rely on PHP's parse_url() , since it is not intended to work with relative URLs
691 	 * or for security purposes. filter_var($url, FILTER_VALIDATE_URL) has similar problems.
692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 701 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

692 	 *
693 	 * @param string $url
694 	 * @return boolean
695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 704 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

695 	 */
696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 705 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

696 	public static function is_absolute_url($url) {
697 		// Strip off the query and fragment parts of the URL before checking
698 		if(($queryPosition = strpos($url, '?')) !== false) {
699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.

Trace

GET /

[Deprecated] parse_url(): Passing null to parameter #1 ($url) of type string is deprecated

GET /

Line 708 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

699 			$url = substr($url, 0, $queryPosition-1);
700 		}
701 		if(($hashPosition = strpos($url, '#')) !== false) {
702 			$url = substr($url, 0, $hashPosition-1);
703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition

Trace

GET /

[Deprecated] preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated

GET /

Line 712 in /usr/www/users/hdmusekcur/framework/control/Director.php

Source

703 		}
704 		$colonPosition = strpos($url, ':');
705 		$slashPosition = strpos($url, '/');
706 		return (
707 			// Base check for existence of a host on a compliant URL
708 			parse_url($url, PHP_URL_HOST)
709 			// Check for more than one leading slash without a protocol.
710 				// While not a RFC compliant absolute URL, it is completed to a valid URL by some browsers,
711 				// and hence a potential security risk. Single leading slashes are not an issue though.
712 			|| preg_match('%^\s*/{2,}%', $url)
713 			|| (
714 				// If a colon is found, check if it's part of a valid scheme definition
715 				// (meaning its not preceded by a slash).
716 				$colonPosition !== FALSE
717 				&& ($slashPosition === FALSE || $colonPosition < $slashPosition)
718 			)

Trace

GET /

[Deprecated] preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated

GET /

Line 132 in /usr/www/users/hdmusekcur/framework/control/HTTPRequest.php

Source

123 	 * @param string The new URL
124 	 *
125 	 * @return SS_HTTPRequest The updated request
126 	 */
127 	public function setUrl($url) {
128 		$this->url = $url;
129 
130 		// Normalize URL if its relative (strictly speaking), or has leading slashes
131 		if(Director::is_relative_url($url) || preg_match('/^\//', $url)) {
132 			$this->url = preg_replace(array('/\/+/','/^\//', '/\/$/'),array('/','',''), $this->url);
133 		}
134 		if(preg_match('/^(.+)\.([A-Za-z][A-Za-z0-9]*)$/', $this->url, $matches)) {
135 			$this->url = $matches[1];
136 			$this->extension = $matches[2];
137 		}
138 		if($this->url) $this->dirParts = preg_split('|/+|', $this->url);

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 582 in /usr/www/users/hdmusekcur/framework/security/Member.php

Source

573 	 *
574 	 * The <i>remember login token</i> will be changed on every successful
575 	 * auto-login.
576 	 */
577 	public static function autoLogin() {
578 		// Don't bother trying this multiple times
579 		self::$_already_tried_to_auto_log_in = true;
580 
581 		if(!Security::config()->autologin_enabled
582 			|| strpos(Cookie::get('alc_enc'), ':') === false
583 			|| Session::get("loggedInAs")
584 			|| !Security::database_is_ready()
585 		) {
586 			return;
587 		}
588 

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 574 in /usr/www/users/hdmusekcur/framework/control/Controller.php

Source

565 	 */
566 	public static function join_links() {
567 		$args = func_get_args();
568 		$result = "";
569 		$queryargs = array();
570 		$fragmentIdentifier = null;
571 
572 		foreach($args as $arg) {
573 			// Find fragment identifier - keep the last one
574 			if(strpos($arg,'#') !== false) {
575 				list($arg, $fragmentIdentifier) = explode('#',$arg,2);
576 			}
577 			// Find querystrings
578 			if(strpos($arg,'?') !== false) {
579 				list($arg, $suffix) = explode('?',$arg,2);
580 				parse_str($suffix, $localargs);

Trace

GET /

[Deprecated] strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated

GET /

Line 578 in /usr/www/users/hdmusekcur/framework/control/Controller.php

Source

569 		$queryargs = array();
570 		$fragmentIdentifier = null;
571 
572 		foreach($args as $arg) {
573 			// Find fragment identifier - keep the last one
574 			if(strpos($arg,'#') !== false) {
575 				list($arg, $fragmentIdentifier) = explode('#',$arg,2);
576 			}
577 			// Find querystrings
578 			if(strpos($arg,'?') !== false) {
579 				list($arg, $suffix) = explode('?',$arg,2);
580 				parse_str($suffix, $localargs);
581 				$queryargs = array_merge($queryargs, $localargs);
582 			}
583 			if((is_string($arg) && $arg) || is_numeric($arg)) {
584 				$arg = (string) $arg;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 383 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

374 
375 		foreach ($config as $specId => $spec) {
376 			if (is_string($spec)) {
377 				$spec = array('class' => $spec);
378 			}
379 
380 			$file = isset($spec['src']) ? $spec['src'] : null;
381 			$name = null;
382 
383 			if (file_exists($file)) {
384 				$filename = basename($file);
385 				$name = substr($filename, 0, strrpos($filename, '.'));
386 			}
387 
388 			// class is whatever's explicitly set,
389 			$class = isset($spec['class']) ? $spec['class'] : $name;

Trace

GET /

[Deprecated] file_exists(): Passing null to parameter #1 ($filename) of type string is deprecated

GET /

Line 411 in /usr/www/users/hdmusekcur/framework/control/injector/Injector.php

Source

402 
403 			// see if we already have this defined. If so, check priority weighting
404 			if (isset($this->specs[$id]) && isset($this->specs[$id]['priority'])) {
405 				if ($this->specs[$id]['priority'] > $priority) {
406 					return;
407 				}
408 			}
409 
410 			// okay, actually include it now we know we're going to use it
411 			if (file_exists($file)) {
412 				require_once $file;
413 			}
414 
415 			// make sure to set the id for later when instantiating
416 			// to ensure we get cached
417 			$spec['id'] = $id;

Trace

GET /

[Deprecated] trim(): Passing null to parameter #1 ($string) of type string is deprecated

GET /

Line 559 in /usr/www/users/hdmusekcur/framework/control/HTTP.php

Source

550 	 * Combine vary strings
551 	 *
552 	 * @param string $vary,... Each vary as a separate arg
553 	 * @return string
554 	 */
555 	protected static function combineVary($vary)
556 	{
557 		$varies = array();
558 		foreach (func_get_args() as $arg) {
559 			$argVaries = array_filter(preg_split("/\s*,\s*/", trim($arg)));
560 			if ($argVaries) {
561 				$varies = array_merge($varies, $argVaries);
562 			}
563 		}
564 		return implode(', ', array_unique($varies));
565 	}

Trace

Redirecting to https://hdmusic.co.za/entertainment/... (output started on /usr/www/users/hdmusekcur/framework/core/DAG.php, line 10)

";