9.01 - Trying to add a new User after a basic install throws an error. Can’t add new Users. Anyone have any ideas?
$uak->isAttributeKeyRequiredOnRegister()
);
if (!$response->isValid()) {
$error = $response->getErrorObject();
$this->error->add($error);
}
}
if (!$this->error->has()) {
// do the registration
$data = ['uName' => $username, 'uPassword' => $password, 'uEmail' => $_POST['uEmail'], 'uDefaultLanguage' => $_POST['uDefaultLanguage'], 'uHomeFileManagerFolderID' => ($_POST['uHomeFileManagerFolderID'] == 0 ? '' : $_POST['uHomeFileManagerFolderID'])];
$uo = $this->app['user/registration']->create($data);
if (is_object($uo)) {
if ($assignment->allowEditAvatar()) {
if (!empty($_FILES['uAvatar']) && is_uploaded_file($_FILES['uAvatar']['tmp_name'])) {
$config = $this->app->make('config');
$image = \Image::open($_FILES['uAvatar']['tmp_name']);
$image = $image->thumbnail(new Box(
$config->get('concrete.icons.user_avatar.width'),
$config->get('concrete.icons.user_avatar.height')
));
$uo->updateUserAvatar($image);
}
}
$saveAttributes = [];
foreach ($aks as $uak) {
if (in_array($uak->getAttributeKeyID(), $assignment->getAttributesAllowedArray())) {
$saveAttributes[] = $uak;
}
}
Arguments
- “Undefined array key “uDefaultLanguage””
Concrete Version
Core Version - 9.0.1
Version Installed - 9.0.1
Database Version - 20211104161958
Database Information
Version: 10.5.12-MariaDB-cll-lve
SQL Mode: STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
Concrete Packages
None
Concrete Overrides
None
Concrete Cache Settings
Block Cache - Off
Overrides Cache - Off
Full Page Caching - Off
Full Page Cache Lifetime - Every 6 hours (default setting).
Server Software
LiteSpeed
Server API
litespeed
PHP Version
8.0.12
PHP Extensions
bcmath, bz2, calendar, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, i360, iconv, imap, json, libxml, litespeed, mbstring, mcrypt, mysqli, mysqlnd, openssl, pcntl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, readline, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, tokenizer, xml, xmlreader, xmlwriter, xsl, zip, zlib
PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 80
max_input_vars - 1000
memory_limit - 256M
post_max_size - 8M
upload_max_filesize - 2M
zend.exception_string_param_max_len - 15
mbstring.regex_retry_limit - 1000000
mbstring.regex_stack_limit - 100000
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - no value
session.gc_maxlifetime - 7200
unserialize_max_depth - 4096