Closed (fixed)
Project:
Node access password
Version:
7.x-4.4
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Jul 2013 at 10:55 UTC
Updated:
27 Aug 2013 at 08:12 UTC
Provides content access permissions using passwords.
Required by: Drupal (Fields pending deletion)
I wanted to disable the module, and I get this message beside de activation checkbox which is greyed out, won't let uncheck. Please help, thanks!
Comments
Comment #1
web506 commentedI am getting this error message too:
Notice: Undefined index: nodeaccess_password in nodeaccess_password_user_account_save()
(line 86 of .com/sites/all/modules/nodeaccess_password/nodeaccess_password.user.inc).
Steps to uninstall followed.
Removed Realmed, Removed Password Field, Removed Content with Password, then in modules page is where I'm having the problem.
Comment #2
web506 commentedI was able to uninstall, I had to go to the permissions page and deselect the given permissions.
Comment #3
beltofteThere are multiple things here:
First of all. Drupal core requires that the Nodeaccess Password field is removed from content types where it is being used. When this is done and "Fields pending deletion" is stated in the module list, will you need to run the cron job one or more times. This is needed because Drupal core first remove deleted fields when the cron job is executed. I have seen in other issues that this can require multiple cron executions. When the field has been deleted can you uninstall the module as normal. I have just tested these steps and it works fine.
Regarding the issue with the undefined index. Then is it not happening in the uninstall process, but instead when you add a new user. It's already covered in #1928330: PHP Warning When Creating New Users.
Closing this issue.