Module ACL access not loaded when checking forum access rights by user

Created on 8 August 2022, over 2 years ago
Updated 24 July 2023, almost 2 years ago

Problem/Motivation

When trying to post a new topic as a non-admin user, the website throws an error:
Error: Call to undefined function forum_access_get_settings_by_user() in forum_access_form_node_form_get_available_tids() (line 798 of modules/contrib/forum_access/forum_access.module).

Proposed resolution

The module includes/forum_access.acl which contains the function forum_access_get_settings_by_user() seems not to be loaded. Add this line above line 798:

module_load_include('inc', 'forum_access', 'includes/forum_access.acl');
🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇫🇷France Tramb

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