Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource notification - An error/exception is shown when using with Restrict Access #20

Open
acquaalta opened this issue Mar 13, 2023 · 0 comments

Comments

@acquaalta
Copy link

acquaalta commented Mar 13, 2023

Hi,

Moodle version: 3.11
Plugin version: 3.2.0 (2021032000)

After applying the "Restrict Access" mechanism to a resource or activity, the following error/exception is shown when trying to use the "Notifications" option (of the "Resource notification" plugin):

Exception - Class 'local_resourcenotif\stdClass' not found

More information about this error

×Debug info:
Error code: generalexceptionmessage
×Stack trace:
line 54 of /local/resourcenotif/classes/notification.php: Error thrown
line 82 of /local/resourcenotif/resourcenotif.php: call to local_resourcenotif\notification::get_recipient_label()

Could you please fix this bug?

Thanks :-)

@acquaalta acquaalta changed the title Resource notification - An error/expection is shown when using with Restrict Access Resource notification - An error/exception is shown when using with Restrict Access Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant