Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /includes/functions.php on line 191
Whoops! There was an error.
13. Whoops\Exception\ErrorException
…vendor…simqel…simqel…src…Simqel…Connection…PDO.php46
12. Whoops\Run handleError
…vendor…composer…ClassLoader.php382
11. include
…vendor…composer…ClassLoader.php382
10. Composer\Autoload\includeFile
…vendor…composer…ClassLoader.php274
9. Composer\Autoload\ClassLoader loadClass
<#unknown>0
8. spl_autoload_call
…vendor…simqel…simqel…src…Simqel…Connection…PDO…MySQL.php6
7. include
…vendor…composer…ClassLoader.php382
6. Composer\Autoload\includeFile
…vendor…composer…ClassLoader.php274
5. Composer\Autoload\ClassLoader loadClass
<#unknown>0
4. spl_autoload_call
…vendor…simqel…simqel…src…Simqel…Simqel.php46
3. Simqel\Simqel createByDSN
…includes…class.sql.php19
2. Sql __construct
…includes…class.system.php219
1. system dbStart
…includes…class.system.php138
0. system start
…index.php30

Whoops \ Exception \ ErrorException

Array and string offset access syntax with curly braces is deprecated

/vendor/simqel/simqel/src/Simqel/Connection/PDO.php
		$this->connect();
		if (is_null($value)) {
			return 'NULL';
		}
		elseif ($value == '') {
			return "''";
		}
		elseif ($value{0} != '0' && (is_int($value) || is_float($value))) {
			return (string)$value;
		}
/vendor/composer/ClassLoader.php
/**
 * Scope isolated include.
 *
 * Prevents access to $this/self from included files.
 */
function includeFile($file)
{
    include $file;
}
 
/vendor/composer/ClassLoader.php
/**
 * Scope isolated include.
 *
 * Prevents access to $this/self from included files.
 */
function includeFile($file)
{
    include $file;
}
 
/vendor/composer/ClassLoader.php
     *
     * @param  string    $class The name of the class
     * @return bool|null True if loaded, null otherwise
     */
    public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            includeFile($file);

            return true;
<#unknown>
/vendor/simqel/simqel/src/Simqel/Connection/PDO/MySQL.php
<?php
 
namespace Simqel;
 
 
class Connection_PDO_MySQL extends Connection_PDO
{
 
    public function __construct(Settings $settings)
    {
/vendor/composer/ClassLoader.php
/**
 * Scope isolated include.
 *
 * Prevents access to $this/self from included files.
 */
function includeFile($file)
{
    include $file;
}
 
/vendor/composer/ClassLoader.php
     *
     * @param  string    $class The name of the class
     * @return bool|null True if loaded, null otherwise
     */
    public function loadClass($class)
    {
        if ($file = $this->findFile($class)) {
            includeFile($file);

            return true;
<#unknown>
/vendor/simqel/simqel/src/Simqel/Simqel.php
 	 * @param $dsn string
 	 * @return SQL
	 */
	public static function createByDSN($dsn) {
		$settings = new Settings($dsn);
		switch ($settings->getDriver()) {
			case 'mysql':
				$connection = new Connection_PDO_MySQL($settings);
				$strategy = new Strategy_MySQL($connection);
				return new static($connection, $strategy);
/includes/class.sql.php
	/**
	 * @var GSub\Cache\CacheInterface
	 */
	private $cache;

	public function __construct($dsn) {
		$simqel = Simqel::createByDSN($dsn);

		// decorators
/includes/class.system.php
		}
		else {
			throw new NotFoundException("Module '$modName' in '$modPath' not found!");
		}
	}

	public function dbStart() {
		$this->sql = new Sql(getConfig('db'));
	}

/includes/class.system.php
			if (isset($_GET['print'])){
				$this->tpl = new Template('tpl/layout/print.php');
			}
			else {
				$this->tpl = new Template('tpl/index.php');
			}
		}
		$this->dbStart();
        $this->sessionStart();
		if(isset($_GET['preview'])) $this->set('preview',true);
/index.php
    $request = Request::createFromGlobals();
    $system->set('request', $request);
 
    // Wyłączenie tłumaczeń
    if ($request->query->get('translations') == 'no') {
        $system->set('disable_translations', 1);
    }
	$system->start();
 
	$pages = $system->loadModule('pages');
Key Value
CURL_HOME /
DOCUMENT_ROOT /
GATEWAY_INTERFACE CGI/1.1
GATEWAY_ULTRACGI 01e8c27ad68f60a8c61506dde1744cd8
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION close
HTTP_HOST juliakolodziej.pl
HTTP_IF_MODIFIED_SINCE Tue, 27 Sep 2022 10:03:21 GMT
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_FOR 3.236.65.63
HTTP_X_HOMESERVER_PORT_STR plain
HTTP_X_REAL_IP 3.236.65.63
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
QUERY_STRING
REMOTE_ADDR 3.236.65.63
REMOTE_HOST 3.236.65.63
REMOTE_PORT 37892
REQUEST_METHOD GET
REQUEST_URI /
SCRIPT_FILENAME /index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://juliakolodziej.pl/
SCRIPT_URL /
SERVER_ADDR 212.85.123.55
SERVER_ADMIN agromix@agromix.home.pl
SERVER_ID agromix
SERVER_NAME juliakolodziej.pl
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE IdeaWebServer/5.1.0 (like Apache)
TMP /tmp
TMPDIR /tmp
TZ :/etc/localtime
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1670463946,6018
REQUEST_TIME 1670463946
argv Array ( )
argc 0
empty
empty
empty
empty
empty
Key Value
CURL_HOME /
DOCUMENT_ROOT /
GATEWAY_INTERFACE CGI/1.1
GATEWAY_ULTRACGI 01e8c27ad68f60a8c61506dde1744cd8
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_ENCODING br,gzip
HTTP_ACCEPT_LANGUAGE en-US,en;q=0.5
HTTP_CONNECTION close
HTTP_HOST juliakolodziej.pl
HTTP_IF_MODIFIED_SINCE Tue, 27 Sep 2022 10:03:21 GMT
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_FOR 3.236.65.63
HTTP_X_HOMESERVER_PORT_STR plain
HTTP_X_REAL_IP 3.236.65.63
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
QUERY_STRING
REMOTE_ADDR 3.236.65.63
REMOTE_HOST 3.236.65.63
REMOTE_PORT 37892
REQUEST_METHOD GET
REQUEST_URI /
SCRIPT_FILENAME /index.php
SCRIPT_NAME /index.php
SCRIPT_URI http://juliakolodziej.pl/
SCRIPT_URL /
SERVER_ADDR 212.85.123.55
SERVER_ADMIN agromix@agromix.home.pl
SERVER_ID agromix
SERVER_NAME juliakolodziej.pl
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SOFTWARE IdeaWebServer/5.1.0 (like Apache)
TMP /tmp
TMPDIR /tmp
TZ :/etc/localtime
0. Whoops\Handler\PrettyPageHandler