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.
By tassaf on
After upgrading from d6 to d7 I am getting this message:
Notice: unserialize() [function.unserialize]: Error at offset 99 of 139 bytes in UserController->attachLoad() (line 307 of /var/www/html/modules/user/user.module).
How to solve this please?
Comments
Same problem
Ya, good question. What up wit' dat?! Got the same error on login.
I've recently been mucking with file permissions. Could that be it?
It's a multi-site, separate database setup, Drupal 7.
I made drupal_user=www-data, and httpd_group=www-data using the fix-permissions.sh script. Was that a no-no?
Cheerio,
daFreak
I have solved the problem..
I have solved the problem.. data field in the users table was incorrect for some users
How did you solve exactly?
Can you please explain what you mean by "users table was incorrect for some users"? What should I do to remedy this?
Thanks
dafreak
In the "users" table you will
In the "users" table you will find a field called "data" field which is a binary field.. be sure that it's correct
I don't know if by deleting the content of that field you will solve the problem or not.. I did rewrite that field