Andy, yes the company field is updated from the backend user management form. Where do I find the modx error log
The MODX error log can be found via the Manager under Manage / Reports / Error log
Found the error log and it is a 5mb file with 32,000 (most of them repetitive) entries what should I e looking for
I would clear the log, then use the registration form and look back at the log to see if anything new has appeared.
After fixing all the error with obvious cause I am left with the following.
/core/xpdo/xpdo.class.php : 948) xPDO->removeObject - Error deleting modDbRegisterMessage instance using query DELETE FROM `modx_register_messages` WHERE ( `modx_register_messages`.`topic` = 1 AND `modx_register_messages`.`id` = '45c48cce2e2d7fbdea1afc51c7c6ad26' )
This not passing the data to the extended user table from the front end but data is passed from user manager.
I think the data is being added to the Extended Fields in MODX.
Try adding this to the end of your snippet call:
&useExtended=`0`
I think the data is being added to the User / Extended Fields in MODX.
Try adding this to the end of your snippet call:
Could you post the entry for you new field 'company' in both your
MyExtraUserFields and
MyExtUserSchema chunks?
Could you also try, just as a test, to simplify your call by removing the part that puts the user into a specific group:
&usergroups=`suppliers`
Also, thinking about the order of things, could you try putting these two parts in this order, if they aren't already:
&useExtended=`0`
&postHooks=`ExtUserRegisterPosthook`
You may also find some information in this thread:
https://forums.modx.com/thread/?thread=96989
[ed. note: andytough last edited this post 8 years, 6 months ago.]