id summary reporter owner description type status component version resolution keywords cc guest host 6416 "PHP web api functions fail because of missing ""new"" in the IMachine functions' bodies => Fixed in SVN/3.1.6" Sm0k1n "When modifying a virtual machine's settings like RAM and VRAM I get an error that says that the function stdClass() is not defined. When inspecting the vboxServiceWrappers.php file I noticed that in the ''IMachine->setMemorySize()'' function there is a missing ""new"" in the initialization of the $request variable: {{{ $request = stdClass(); }}} should be {{{ $request = new stdClass(); }}} as it is with all other functions I have seen in this file. From what I can see, it seems that this is intentionally done for all ""set"" methods in the IMachine class. Simply adding the missing ""new"" solves the issue and the functions work properly. " defect closed webservices VirtualBox 3.1.4 fixed php, undefined, stdClass, IMachine other Linux