Skip to content
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

PHP Fatal error: Uncaught Error: Function name must be a string in /var/www/html/ajax.php on line 44 #52

Open
qhgh opened this issue Nov 4, 2019 · 2 comments

Comments

@qhgh
Copy link

qhgh commented Nov 4, 2019

Hi there,

Just tried to install this on a fresh CentOS 7.6 server with Apache + PHP 7.1

The GUI loads fine, however, the 'Run Test' button does nothing and the Apache error log shows:

Example: 8.8.8.8 > PING > Run Test ;

[Mon Nov 04 10:32:32.835920 2019] [php7:notice] [pid 8707] [client x.x.x.x:64865] PHP Notice:  Array to string conversion in /var/www/html/ajax.php on line 44, referer: http://x.x.x.x/
[Mon Nov 04 10:32:32.836287 2019] [php7:notice] [pid 8707] [client x.x.x.x:64865] PHP Notice:  Undefined property: Telephone\\LookingGlass::$Array in /var/www/html/ajax.php on line 44, referer: http://x.x.x.x/
[Mon Nov 04 10:32:32.836519 2019] [php7:error] [pid 8707] [client x.x.x.x:64865] PHP Fatal error:  Uncaught Error: Function name must be a string in /var/www/html/ajax.php:44\nStack trace:\n#0 {main}\n  thrown in /var/www/html/ajax.php on line 44, referer: http://x.x.x.x/

Could anyone offer any advice on this please?

Thanks!

C.

@qhgh
Copy link
Author

qhgh commented Nov 4, 2019

Switch to PHP 5.3 and it works :)

@NetiSHTer22
Copy link

NetiSHTer22 commented Feb 10, 2024

I have the same problems, but i cannot install php 5.3 with command apt install php5.3 . Please, help this..
Fyi, i used Ubuntu 20.04 Server with apache2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants