Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have recently experienced an issue w/ my site's user profile pages. When a user is logged in, they are unable to edit any of the fields in their profile page. In the view profile page everything is visible, however, in the edit tab nothing shows up (see attachments). Also the create new account page does not show any profile fields besides username, email and password (see attachments).
The platform this is hosted on was recently upgraded to PHP 5.4.25
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2014-03-03 at 2.28.14 PM.png | 90.22 KB | drupq | |
Screen Shot 2014-03-03 at 2.29.08 PM.png | 16.94 KB | drupq | |
Screen Shot 2014-03-03 at 2.30.44 PM.png | 78.46 KB | drupq |
Comments
Comment #1
drupq CreditAttribution: drupq commentedQuick update...
PHP 5.4.25 has removed support for passing variables by reference and this version of Drupal, 6.4, is littered with them. By replacing "&$variable_name" with "$variable_name" in /modules/profile/profile.module, I was able to get the variables to show up in the "Create New Account" page. However, existing users are still not able to edit their profiles... same behavior as what I described above persists.