Menu

#66 Too few arguments to function

unassigned
open
nobody
None
5
2017-07-12
2017-05-23
Codey
No

PHP Version 7.1.5

readyState: "4"
responseText: "PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function VBox_Enum::__construct(), 0 passed in C:\inetpub\phpVirtualBox\endpoints\lib\vboxconnector.php on line 2522 and exactly 2 expected in C:\inetpub\phpVirtualBox\endpoints\lib\vboxServiceWrappers.php:225
Stack trace:

0 C:\inetpub\phpVirtualBox\endpoints\lib\vboxconnector.php(2522): VBox_Enum->__construct()

1 C:\inetpub\phpVirtualBox\endpoints\lib\vboxconnector.php(951): vboxconnector->remote_vboxGetEnumerationMap(Array)

2 C:\inetpub\phpVirtualBox\endpoints\api.php(316): vboxconnector->__call('vboxGetEnumerat...', Array)

3 {main}

thrown in C:\inetpub\phpVirtualBox\endpoints\lib\vboxServiceWrappers.php on line 225
"
status: "500"
statusText: "Internal Server Error"


From searching around the wiki, forums, and generally online it looks like this used to be a PHP version issue but was meant to be fixed in a later release. I have the current version of PHP and phpVirtualBox installed but still get this error.

Discussion

  • Mikal Thunold-Olsen

    Same problem for me on ubuntu running Nginx 1.10.3 and PHP 7.1.7-1 FPM. It is frustrating...

     
  • Mikal Thunold-Olsen

    I see the problem is for port 443. For port 80 it works, but is unsafe

     
  • Mikal Thunold-Olsen

    I installed php7.0 and referred to php7.0fast-cgi in nginx conf file. now it works. it is still a php issue

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.