Open pavelxkrejci opened 10 years ago
Hello Valery, I try to deploy a moodle for many schools and I have the same problem. I can't create a new virtual moodle. Moodle 2.6.10 and the same block vmoodle Can you help us ? Thank you. Académie de Rouen. Cordialement.
Hello, I think you can fix this by editing classes/Host_Form.php around line 236 find $database = new stdClass; and add slash before stdClass so it looks like: $database = new \stdClass();
Note, that there quite a few other errors within this plugin.
YES. Thank you very much. I have now another bug ... PHP Fatal error: Class 'vmoodle_mnet_peer' not found in /var/www/applis/bref/html/moodle/blocks/vmoodle/controller.management.php on line 366 It's an adventure game ... Thanks a lot for your help.
Ok I change the name of the class Mnet_peer Thanks
Using latest patch ver. 2014071301 (2.6 branch) and Moodle 2.6.4.
After submitting new settings for a site I get this URI: /blocks/vmoodle/view.php?view=management&what=doedit&page=edit with: Fatal error: Class 'block_vmoodle\stdClass' not found in /var/www/moodle/blocks/vmoodle/classes/Host_Form.php on line 237