I don't know what's going on but still the same error.
I changed line 415 in Account.php
$sql = "INSERT INTO users (username, password, secret, email, status, added, last_access, age, country, gender, client, stylesheet, language, class, ip) VALUES (" . implode(",", array_map("sqlesc", array($wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), $age, $country, $gender, $client, $config["default_theme"], $config["default_language"], $signupclass, getip()))) . ")";
$ins_user = DB::run($sql);
$id = DB::lastInsertId();
with this
$ins_user = DB::run("INSERT INTO users
(username, password, secret, email, status, added, last_login, last_access, age, country, gender, client, stylesheet, language, class, ip)
VALUES
(?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)",
[$wantusername, $wantpassword, $secret, $email, $status, get_date_time(), get_date_time(), get_date_time(), $age, $country, $gender, $client, $config["default_theme"], $config["default_language"], $signupclass, getip()]);
$id = DB::lastInsertId()
in address bar
https://xxxxxxx.xxx/exceptions/error
error_log and exception_log.txt files are empty
And also this line $config['SITEURL'] = '
http://localhost/pdo'; //Main Site URL how it should be?
In main config is $config['SITEURL'] = '
https://xxxxxxx.xxx'; //Main Site URL without pdo, if you add it many redirects start
Thank you m-jay