[GH-ISSUE #49] Compatibiity with PHP 7.2 (on ubuntu 18.04 LTS) #34

Closed
opened 2026-02-28 00:40:15 +03:00 by kerem · 1 comment
Owner

Originally created by @nvieirapt on GitHub (Apr 18, 2019).
Original GitHub issue: https://github.com/telephone/LookingGlass/issues/49

Hello

I've installed this software but it seems incompatible with PHP 7.2 on Ubuntu 18.04

Any ideas ?

this is the error:

PHP message: PHP Notice: Undefined property: Telephone\LookingGlass::$Array in /xxx/public_html/ajax.php on line 44
PHP message: PHP Fatal error: Uncaught Error: Function name must be a string in /xxx/public_html/ajax.php:44

Originally created by @nvieirapt on GitHub (Apr 18, 2019). Original GitHub issue: https://github.com/telephone/LookingGlass/issues/49 Hello I've installed this software but it seems incompatible with PHP 7.2 on Ubuntu 18.04 Any ideas ? this is the error: PHP message: PHP Notice: Undefined property: Telephone\LookingGlass::$Array in /xxx/public_html/ajax.php on line 44 PHP message: PHP Fatal error: Uncaught Error: Function name must be a string in /xxx/public_html/ajax.php:44
kerem closed this issue 2026-02-28 00:40:15 +03:00
Author
Owner

@nvieirapt commented on GitHub (Apr 18, 2019):

well.. fixed...

    // execute command
    $output = $lg->{$_GET['cmd']}($_GET['host']);
    #$output = $lg->$_GET['cmd']($_GET['host']);
<!-- gh-comment-id:484563126 --> @nvieirapt commented on GitHub (Apr 18, 2019): well.. fixed... // execute command $output = $lg->{$_GET['cmd']}($_GET['host']); #$output = $lg->$_GET['cmd']($_GET['host']);
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/LookingGlass#34
No description provided.