1.3.5 RC5 + Ubuntu 16.04



  • Server
    • FOG Version: 1.3.5 RC5
    • OS: Ubuntu 16.04
    Client
    • Service Version:
    • OS:
    Description

    Hi,

    PHP Warning: array_walk() expects parameter 1 to be array, null given in /var/www/fog/commons/init.php on line 406 on all service FOG

    ● FOGPingHosts.service - FOGPingHosts
       Loaded: loaded (/lib/systemd/system/FOGPingHosts.service; enabled; vendor preset: enabled)
       Active: active (running) since lun. 2017-02-13 16:38:24 CET; 13min ago
     Main PID: 1521 (FOGPingHosts)
        Tasks: 2
       Memory: 14.5M
          CPU: 404ms
       CGroup: /system.slice/FOGPingHosts.service
               ├─1521 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
               └─1555 /usr/bin/php -q /opt/fog/service/FOGPingHosts/FOGPingHosts &
    
    févr. 13 16:38:24 fog-test systemd[1]: Started FOGPingHosts.
    févr. 13 16:38:24 fog-test FOGPingHosts[1521]: PHP Warning:  array_walk() expects parameter 1 to be array, null given in /var/www/fog/commons/init.php on line 406
    
    ● FOGSnapinHash.service - FOGSnapinHash
       Loaded: loaded (/lib/systemd/system/FOGSnapinHash.service; enabled; vendor preset: enabled)
       Active: active (running) since lun. 2017-02-13 16:38:24 CET; 13min ago
     Main PID: 1527 (FOGSnapinHash)
        Tasks: 2
       Memory: 13.8M
          CPU: 217ms
       CGroup: /system.slice/FOGSnapinHash.service
               ├─1527 /usr/bin/php -q /opt/fog/service/FOGSnapinHash/FOGSnapinHash &
               └─1558 /usr/bin/php -q /opt/fog/service/FOGSnapinHash/FOGSnapinHash &
    
    févr. 13 16:38:24 fog-test systemd[1]: Started FOGSnapinHash.
    févr. 13 16:38:24 fog-test FOGSnapinHash[1527]: PHP Warning:  array_walk() expects parameter 1 to be array, null given in /var/www/fog/commons/init.php on line 406
    
    ● FOGScheduler.service - FOGScheduler
       Loaded: loaded (/lib/systemd/system/FOGScheduler.service; enabled; vendor preset: enabled)
       Active: active (running) since lun. 2017-02-13 16:38:24 CET; 13min ago
     Main PID: 1518 (FOGTaskSchedule)
        Tasks: 2
       Memory: 14.8M
          CPU: 407ms
       CGroup: /system.slice/FOGScheduler.service
               ├─1518 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler &
               └─1554 /usr/bin/php -q /opt/fog/service/FOGTaskScheduler/FOGTaskScheduler &
    
    févr. 13 16:38:24 fog-test systemd[1]: Started FOGScheduler.
    févr. 13 16:38:24 fog-test FOGTaskScheduler[1518]: PHP Warning:  array_walk() expects parameter 1 to be array, null given in /var/www/fog/commons/init.php on line 406
    
    ● FOGImageReplicator.service - FOGImageReplicator
       Loaded: loaded (/lib/systemd/system/FOGImageReplicator.service; enabled; vendor preset: enabled)
       Active: active (running) since lun. 2017-02-13 16:38:24 CET; 13min ago
     Main PID: 1516 (FOGImageReplica)
        Tasks: 2
       Memory: 14.5M
          CPU: 374ms
       CGroup: /system.slice/FOGImageReplicator.service
               ├─1516 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator &
               └─1559 /usr/bin/php -q /opt/fog/service/FOGImageReplicator/FOGImageReplicator &
    
    févr. 13 16:38:24 fog-test systemd[1]: Started FOGImageReplicator.
    févr. 13 16:38:24 fog-test FOGImageReplicator[1516]: PHP Warning:  array_walk() expects parameter 1 to be array, null given in /var/www/fog/commons/init.php on line 406
    
    ● FOGSnapinReplicator.service - FOGSnapinReplicator
       Loaded: loaded (/lib/systemd/system/FOGSnapinReplicator.service; enabled; vendor preset: enabled)
       Active: active (running) since lun. 2017-02-13 16:38:24 CET; 13min ago
     Main PID: 1524 (FOGSnapinReplic)
        Tasks: 2
       Memory: 13.5M
          CPU: 320ms
       CGroup: /system.slice/FOGSnapinReplicator.service
               ├─1524 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
               └─1556 /usr/bin/php -q /opt/fog/service/FOGSnapinReplicator/FOGSnapinReplicator &
    
    févr. 13 16:38:24 fog-test systemd[1]: Started FOGSnapinReplicator.
    févr. 13 16:38:24 fog-test FOGSnapinReplicator[1524]: PHP Warning:  array_walk() expects parameter 1 to be array, null given in /var/www/fog/commons/init.php on line 406
    
    ● FOGMulticastManager.service - FOGMulticastManager
       Loaded: loaded (/lib/systemd/system/FOGMulticastManager.service; enabled; vendor preset: enabled)
       Active: active (running) since lun. 2017-02-13 16:38:24 CET; 13min ago
     Main PID: 1530 (FOGMulticastMan)
        Tasks: 2
       Memory: 13.9M
          CPU: 2.485s
       CGroup: /system.slice/FOGMulticastManager.service
               ├─1530 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager &
               └─1557 /usr/bin/php -q /opt/fog/service/FOGMulticastManager/FOGMulticastManager &
    
    févr. 13 16:38:24 fog-test systemd[1]: Started FOGMulticastManager.
    févr. 13 16:38:24 fog-test FOGMulticastManager[1530]: PHP Warning:  array_walk() expects parameter 1 to be array, null given in /var/www/fog/commons/init.php on line 406```

  • Senior Developer

    For what it’s worth, I’ve added checking for the variables so this shouldn’t be an issue anymore.



  • Arf ! Sorry, that’s right.


  • Senior Developer

    I don’t see what the bug is.

    They’re warnings, not causing problems with the operation.


 

389
Online

41.5k
Users

12.0k
Topics

113.5k
Posts