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 0197046d5e2998309a864849e53dd383
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_CONNECTION close
HTTP_HOST juliakolodziej.pl
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR 3.139.98.10
HTTP_X_HOMESERVER_PORT_STR plain
HTTP_X_REAL_IP 3.139.98.10
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
QUERY_STRING
REMOTE_ADDR 3.139.98.10
REMOTE_HOST ec2-3-139-98-10.us-east-2.compute.amazonaws.com
REMOTE_PORT 51877
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/6.2.1 (like Apache)
SM_HOSTNAME juliakolodziej.pl
TMP /tmp
TMPDIR /tmp
TZ :/etc/localtime
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1732621449,092
REQUEST_TIME 1732621449
argv Array ( )
argc 0
empty
empty
empty
empty
empty
Key Value
CURL_HOME /
DOCUMENT_ROOT /
GATEWAY_INTERFACE CGI/1.1
GATEWAY_ULTRACGI 0197046d5e2998309a864849e53dd383
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_CONNECTION close
HTTP_HOST juliakolodziej.pl
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_X_FORWARDED_FOR 3.139.98.10
HTTP_X_HOMESERVER_PORT_STR plain
HTTP_X_REAL_IP 3.139.98.10
PATH /usr/local/pssql55/bin:/usr/local/pgsql9/bin:/bin:/usr/bin:/usr/local/bin
QUERY_STRING
REMOTE_ADDR 3.139.98.10
REMOTE_HOST ec2-3-139-98-10.us-east-2.compute.amazonaws.com
REMOTE_PORT 51877
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/6.2.1 (like Apache)
SM_HOSTNAME juliakolodziej.pl
TMP /tmp
TMPDIR /tmp
TZ :/etc/localtime
0. Whoops\Handler\PrettyPageHandler