-
Notifications
You must be signed in to change notification settings - Fork 347
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error: Uncaught Error: Function name must be a string in /ajax.php:44 #44
Comments
I will do this string for case:
|
Whats this for?? |
Not all people are programmers and sometimes come to the github to find a solution to the problem and nothing more. I wrote a simple solution to this problem. |
I have no idea what you posted? do you mean overwrite line44 with what you posted? |
Yes. It is necessary to rewrite this function in line44 to the code that I wrote above. |
I just rewrote it to this, PHP 7 likes it now. |
$output = $lg->{$_GET['cmd']}($_GET['host']); There is a missing ( in @Volodya1234 's code |
after i change $output = $lg->$_GET'cmd'; |
Just installed and can't ping, traceroute or anything to do with that area.
Fatal error: Uncaught Error: Function name must be a string in /ajax.php:44 Stack trace: #0 {main} thrown in /ajax.php on line 44
Line 44 of ajax.php reads;
$output = $lg->$_GET['cmd']($_GET['host']);
Regards
The text was updated successfully, but these errors were encountered: