$modx->reloadConfig();

Are you getting the $id that you expect from $id=$user->get(’id’); ?
$xpdo->cachePath = CACHE_PATH;
$xpdo->setDebug(true);
$xpdo->setLogLevel(XPDO_LOG_LEVEL_INFO);
$xpdo->setLogTarget('FILE');
$xpdo->cachePath = CACHE_PATH; $xpdo->setDebug(true); $xpdo->setLogLevel(XPDO_LOG_LEVEL_INFO); $xpdo->setLogTarget('FILE');
Try $modx instead of $xpdo.
Look in the file /core/model/schema/modx.mysql.schema.xml
I’m using SVN 5627, I don’t know if the change happened before or after ? Either way, $modx->user->getMany(’UserSetting’) is empty as well...
Clearing the cache doesn’t change anything