Another PHP warning
Issue #2
resolved
Warning: Creating default object from empty value in mod/amanote/version.php on line 27
Comments (5)
-
reporter -
I didn't find another way to include the file that wouldn't cause the warning. However, instantiating the $plugin object before setting its properties fixed the issue.
-
- changed status to resolved
Resolved in Pull Request #10
-
-
assigned issue to
-
assigned issue to
-
reporter Sure, that's what the Moodle core does, too.
- Log in to comment
This is because of how the file is included in amanote_get_clicktoamanote()