Cannot disable module

Created on 4 May 2012, over 12 years ago
Updated 9 April 2024, 7 months ago

Cannot disable the Remember me module.

In module list, I uncheck the Remember me checkbox, click Save settings, and after reloading the list of modules, the Remember me checkbox is checked again. Tested with Drupal 7.12 and 7.14.

When try to disable the module, PHP throws an error : max execution time is exceeded (in my case 120 seconds which is quite big!).

The problem comes from remember_me_disable() which loads the whole list of users (potential memory problem).
And also, within a loop, each user is saved to empty the remember_me variable. (user_save is very expensive and takes long time when you have thousands of users to save).

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Miscellaneous

Created by

πŸ‡ΈπŸ‡°Slovakia scrap2000

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024