Host inventory task fails with PHP error, Host task progress is not shown, with PHP errors
-
Server
- FOG Version: Running Version 1.3.1-RC-1
SVN Revision: 6052 - OS: jessie/sid
When Attempting to send inventory… it repeatly attempts to send the inventory then finally fails an error is recorded in the Apache error.log
[Tue Jan 03 15:56:24.811397 2017] [php7:error] [pid 16365] [client 10.67.55.12:56504] PHP Fatal error: Uncaught Error: Cannot access self:: when no class scope is active in /var/www/html/fog/service/inventory.php:25\nStack trace:\n#0 {main}\n thrown in /var/www/html/fog/service/inventory.php on line 25Error is seen when registering the host as well as when imaging the host, registration and imaging is successful, only inventory data is missing.
Host task progress is not shown, only an error is shown in the Apache error.log:
[Tue Jan 03 16:01:23.528751 2017] [php7:error] [pid 18616] [client 10.67.55.12:56700] PHP Fatal error: Uncaught Error: Cannot access self:: when no class scope is active in /var/www/html/fog/service/progress.php:24\nStack trace:\n#0 {main}\n thrown in /var/www/html/fog/service/progress.php on line 24The task still runs, imaging is successful only the progress on the web interface isn’t shown.
- FOG Version: Running Version 1.3.1-RC-1
-
Already fixed in 1.3.1-RC-2 (which as also been released).