When creating new instance - after submitting new instance form I get error:
Notice: Undefined variable: DB in /var/www/moodle/blocks/vmoodle/classes/Host_Form.php on line 301
Fatal error: Call to a member function get_record_sql() on a non-object in /var/www/moodle/blocks/vmoodle/classes/Host_Form.php on line 301
There is missing global $DB definiton in function validation(), line 231
When creating new instance - after submitting new instance form I get error:
There is missing global $DB definiton in function validation(), line 231