Needs review
Project:
Content Access
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Nov 2026 at 17:23 UTC
Updated:
5 Nov 2026 at 17:39 UTC
Jump to comment: Most recent
When reverting the defaults for a node, content_access_delete_per_node_settings() calls content_access_per_node_setting(NULL, $node) to clear the cache.
But this causes following TypeError:
TypeError: content_access_get_settings(): Argument #1 ($setting) must be of type string, null given, called in modules/contrib/content_access/content_access.module on line 559 in content_access_get_settings() (line 262 of modules/contrib/content_access/content_access.module).
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
matthijs