Posted: January 29, 2015 at 5:00 am
|
Hi! I just upgraded from 4.5.0-beta32 to 4.6-beta.144. I’m also running version 1.0.0.dev.001 of the WP Users extension/plugin, that integrates EE attendees with the WP user library. After the beta.144 update, part of the WP Users functionality won’t work. When logged in, the registration form is populated with excisting information. So, that part’s working. But registered information isn’t updated. I’ve added some debug logging to the actionAddAttendeeAsWPUser function, and it seems like it fails because the registrant array is formatted differently than before. The function is trying to get the existing user by this code: But this fails. Outputting the registrant array shows that the actual information is nested further down in the array. Can that be the reason it won’t work? Here’s the registrant array for a test registration:
[additional_attendee_reg_info] => 1 [annet] => Array [13] => [primary_registrant] => 1-e647e7448241e31e3a3f0b9a97f7f747 Just to test, I made a function that fetches the registration email based on the reg_url ([primary_registrant]). When that is used in stead, the update works. The problem then is that the user is simply blanked out, because the submitted information in the registration form no longer lies in the same place, so this bit of code is not working as intended:
I’m no expert in PHP, so I’m not sure if it’s at all possible, but would it be possible to “wildcard” the first array, so that accessing the information could be done anyways, e.g. like this? Hope to hear back from you guys as soon as possible on how to fix this, or with an update to the WP Users plugin/extension. All the best, |
|
(And you might want to fix your forum post box here – below the textarea I’m told that using the code-tag will work, but when I press the code button above the textarea I get something else. So, I used the code tag, and the markup of my previous post got messed up. Hope you still get the idea.) |
Hi Eivind, The WP User Integration was an initial release for 4.5. It is under development and certain areas are being rewritten. Unfortunately, I cannot provide an estimate of when it will be updated and it isn’t recommended for a production site at this time. — |
|
|
Okaj, thanks. I’ve already rewritten that plugin to such an extent that I might as well just get my own attendee information as well, I think, hehe. Thanks for your reply ๐ |
The support post ‘WP User Integration stops working on 4.6-beta.144’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.