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

Can't send notifications #14

Open
Parreira73 opened this issue May 3, 2021 · 1 comment
Open

Can't send notifications #14

Parreira73 opened this issue May 3, 2021 · 1 comment

Comments

@Parreira73
Copy link

Parreira73 commented May 3, 2021

Hi!
When i want to send a resource notification, moodle give the follow error:

"Exceção - Class 'local_resourcenotif\stdClass' not found"

I'm using the Theme "Edumy"

Can you help me to solve this?

Regards

@soleimaniha
Copy link

There should be a backslash in line 54 in this file:
classes/notification.php
The line looks like this:
$a = new stdClass();
But should be this:
$a = new \stdClass();

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

2 participants