Home › Forums › Plugin Support › Multisite Registration not working?
- This topic has 5 replies, 2 voices, and was last updated 9 years, 5 months ago by 
Khaled. 
- 
		AuthorPosts
 - 
		
			
				
February 29, 2016 at 10:07 pm #7768March 4, 2016 at 8:12 pm #7776
Khaled
MemberHi Cole,
Adding existing user to blog is working with username. For email also, please try our dev version.
Thanks.
April 8, 2016 at 10:29 pm #7792Cole Geissinger
MemberI’ll test the development version, but on the latest version it’s not working. Any idea when the latest changes will be rolled out? I’m not a fan of throwing the dev version on a website that sees millions of hits in a week…
- 
		This reply was modified 9 years, 7 months ago by 
Cole Geissinger.
 
April 11, 2016 at 8:53 pm #7794Cole Geissinger
MemberTesting the dev version I get a fatal error when trying to register with an existing user
Fatal error: Call to undefined function UserMeta\UserMeta\getUserID() in /srv/www/htdocs/wp-content/plugins/user-meta/models/pro/umMultisiteUserInsert.php on line 45Notice how PHP is trying to access the namespace?
UserMeta\UserMeta\getUserID(). Looks like you are targeting the namespacing wrong. I was able to fix this by changing line 45 to$userID = \UserMeta\getUserID($userData);If you don’t add that backslash to the beginning, you aren’t targeting the global namespace,
UserMeta, so PHP is doubling the namespace like we see. IMO, you should consider breaking up the various sections into deeper levels. Tatke this helper functiongetUserID(). I would set that toUserMeta\Userso that way you access it by adding below the namespace declarationuse \UserMeta\User;and then change line 45 toUser\getUserID(). It’s a bit more architecturally sound and informative of what you are accessing in the name space.Over all, I see this issue is working (thus far) in the dev version. Still unsure of pushing a development version up on a high traffic website, but the fact this feature is an option in the latest stable but yet it doesn’t work is a huge blocker. I am paying for this plugin, so hoping to see a release soon.
April 11, 2016 at 9:11 pm #7796Cole Geissinger
MemberNever mind, this issue is not resolved. Dev version is broken. See here http://user-meta.com/forums/topic/several-breaking-issues-with-dev-version/
May 21, 2016 at 2:50 pm #7817Khaled
MemberHi Cole,
We have applied fixes into dev version. Recently we applied namespace over almost whole plugin. Some lines of code missed backslash unintentionally.
One of the realise candidate will be rolled out soon.Thanks.
 - 
		This reply was modified 9 years, 7 months ago by 
 - 
		AuthorPosts
 
- You must be logged in to reply to this topic.
 
