You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHP Warning: Undefined variable $modname in PATH_TO_MOODLE\availability\condition\othercompleted\classes\condition.php on line 147
Upon checking, the $modname variable was being set conditionally(see lines 122-126) and with no default, so when it didn't met the condition the line 147 will complain.
Thank you so much. Cheers!
The text was updated successfully, but these errors were encountered:
So we've caught this error in our logs:
PHP Warning: Undefined variable $modname in PATH_TO_MOODLE\availability\condition\othercompleted\classes\condition.php on line 147
Upon checking, the
$modname
variable was being set conditionally(see lines 122-126) and with no default, so when it didn't met the condition the line 147 will complain.Thank you so much. Cheers!
The text was updated successfully, but these errors were encountered: