• Register
    • Login
    • Search
    • Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Solved 1.3.5 RC5 + Ubuntu 16.04

    Bug Reports
    2
    4
    920
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      FredG last edited by

      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```
      1 Reply Last reply Reply Quote 0
      • Tom Elliott
        Tom Elliott last edited by

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

        Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • F
          FredG last edited by

          Arf ! Sorry, that’s right.

          1 Reply Last reply Reply Quote 0
          • Tom Elliott
            Tom Elliott last edited by

            I don’t see what the bug is.

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

            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

            Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

            Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

            1 Reply Last reply Reply Quote 0
            • 1 / 1
            • First post
              Last post

            136
            Online

            10.4k
            Users

            16.4k
            Topics

            150.5k
            Posts

            Copyright © 2012-2023 FOG Project