@Tom-Elliott I just updated FOG to version 39 from github and applied a snapin with success. Thank you very much, problem solved !
If you’re still interested, here is my apache error log file for yesterday and today. I tried to deploy some snapin yesterday without success and I updated FOG today around 12:00.
[Fri Sep 16 09:28:38 2016] [error] [client 10.0.238.179] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/group.class.php on line 313, referer: http://fog.domain.com/fog/management/index.php?node=group&sub=edit&id=47
[Fri Sep 16 09:50:57 2016] [error] [client 10.0.238.179] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogbase.class.php on line 1227, referer: http://fog.domain.com/fog/management/index.php?node=task&sub=active-multicast
[Fri Sep 16 09:58:26 2016] [error] [client 10.0.238.179] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogbase.class.php on line 1227, referer: http://fog.domain.com/fog/management/index.php?node=task&sub=active-multicast
[Fri Sep 16 10:08:45 2016] [error] [client 10.0.238.179] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogbase.class.php on line 1227, referer: http://fog.domain.com/fog/management/index.php?node=task&sub=active-multicast
[Fri Sep 16 10:19:56 2016] [error] [client 10.0.238.179] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogbase.class.php on line 1227, referer: http://fog.domain.com/fog/management/index.php?node=task&sub=active-multicast
[Fri Sep 16 10:24:52 2016] [error] [client 10.0.238.179] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogbase.class.php on line 1227, referer: http://fog.domain.com/fog/management/index.php?node=task&sub=active-multicast
[Fri Sep 16 10:55:45 2016] [error] [client 10.0.238.179] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/group.class.php on line 313, referer: http://fog.domain.com/fog/management/index.php?node=group&sub=edit&id=47
[Fri Sep 16 11:21:38 2016] [error] [client 10.0.16.40] File does not exist: /var/www/favicon.ico, referer: http://fog/
[Fri Sep 16 11:21:43 2016] [error] [client 10.0.16.40] File does not exist: /var/www/admin
[Fri Sep 16 14:08:41 2016] [error] [client 10.0.0.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/pages/snapinmanagementpage.class.php on line 212, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 14:08:41 2016] [error] [client 10.0.0.10] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 8, File: /var/www/fog/lib/fog/fogbase.class.php, Line: 791, Message: Undefined index: value, Host: 10.0.107.11, Username: fog' in /var/www/fog/lib/fog/fogftp.class.php:74\nStack trace:\n#0 /var/www/fog/lib/fog/storagenode.class.php(92): FOGFTP->connect()\n#1 /var/www/fog/lib/fog/fogcontroller.class.php(831): StorageNode->loadSnapinfiles()\n#2 /var/www/fog/lib/fog/fogcontroller.class.php(212): FOGController->loadItem('snapinfiles')\n#3 /var/www/fog/lib/fog/storagenode.class.php(45): FOGController->get('snapinfiles')\n#4 /var/www/fog/lib/pages/snapinmanagementpage.class.php(210): StorageNode->get('snapinfiles')\n#5 [internal function]: SnapinManagementPage->{closure}(Object(StorageNode))\n#6 /var/www/fog/lib/pages/snapinmanagementpage.class.php(212): array_map(Object(Closure), Array)\n#7 /var/www/fog/lib/fog/fogpagemanager.class.php(100): SnapinManagementPage->add()\n#8 /var/www/fog/management/index.php(25): FOGPageManager->render()\n#9 {main}\n thrown in /var/www/fog/lib/fog/fogftp.class.php on line 74, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 14:09:59 2016] [error] [client 10.0.0.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/pages/snapinmanagementpage.class.php on line 212, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 14:09:59 2016] [error] [client 10.0.0.10] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 8, File: /var/www/fog/lib/fog/fogbase.class.php, Line: 791, Message: Undefined index: value, Host: 10.0.107.11, Username: fog' in /var/www/fog/lib/fog/fogftp.class.php:74\nStack trace:\n#0 /var/www/fog/lib/fog/storagenode.class.php(92): FOGFTP->connect()\n#1 /var/www/fog/lib/fog/fogcontroller.class.php(831): StorageNode->loadSnapinfiles()\n#2 /var/www/fog/lib/fog/fogcontroller.class.php(212): FOGController->loadItem('snapinfiles')\n#3 /var/www/fog/lib/fog/storagenode.class.php(45): FOGController->get('snapinfiles')\n#4 /var/www/fog/lib/pages/snapinmanagementpage.class.php(210): StorageNode->get('snapinfiles')\n#5 [internal function]: SnapinManagementPage->{closure}(Object(StorageNode))\n#6 /var/www/fog/lib/pages/snapinmanagementpage.class.php(212): array_map(Object(Closure), Array)\n#7 /var/www/fog/lib/fog/fogpagemanager.class.php(100): SnapinManagementPage->add()\n#8 /var/www/fog/management/index.php(25): FOGPageManager->render()\n#9 {main}\n thrown in /var/www/fog/lib/fog/fogftp.class.php on line 74, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 14:12:48 2016] [error] [client 10.0.0.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/pages/snapinmanagementpage.class.php on line 378, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 14:12:48 2016] [error] [client 10.0.0.10] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 8, File: /var/www/fog/lib/fog/fogbase.class.php, Line: 791, Message: Undefined index: value, Host: 10.0.107.11, Username: fog' in /var/www/fog/lib/fog/fogftp.class.php:74\nStack trace:\n#0 /var/www/fog/lib/fog/storagenode.class.php(92): FOGFTP->connect()\n#1 /var/www/fog/lib/fog/fogcontroller.class.php(831): StorageNode->loadSnapinfiles()\n#2 /var/www/fog/lib/fog/fogcontroller.class.php(212): FOGController->loadItem('snapinfiles')\n#3 /var/www/fog/lib/fog/storagenode.class.php(45): FOGController->get('snapinfiles')\n#4 /var/www/fog/lib/pages/snapinmanagementpage.class.php(376): StorageNode->get('snapinfiles')\n#5 [internal function]: SnapinManagementPage->{closure}(Object(StorageNode))\n#6 /var/www/fog/lib/pages/snapinmanagementpage.class.php(378): array_map(Object(Closure), Array)\n#7 /var/www/fog/lib/fog/fogpagemanager.class.php(100): SnapinManagementPage->edit()\n#8 /var/www/fog/management/index.php(25): FOGPageManager->render()\n#9 {main}\n thrown in /var/www/fog/lib/fog/fogftp.class.php on line 74, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 14:14:07 2016] [error] [client 10.0.0.10] PHP Warning: array_map(): An error occurred while invoking the map callback in /var/www/fog/lib/pages/snapinmanagementpage.class.php on line 378, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 14:14:07 2016] [error] [client 10.0.0.10] PHP Fatal error: Uncaught exception 'Exception' with message 'Type: 8, File: /var/www/fog/lib/fog/fogbase.class.php, Line: 791, Message: Undefined index: value, Host: 10.0.107.11, Username: fog' in /var/www/fog/lib/fog/fogftp.class.php:74\nStack trace:\n#0 /var/www/fog/lib/fog/storagenode.class.php(92): FOGFTP->connect()\n#1 /var/www/fog/lib/fog/fogcontroller.class.php(831): StorageNode->loadSnapinfiles()\n#2 /var/www/fog/lib/fog/fogcontroller.class.php(212): FOGController->loadItem('snapinfiles')\n#3 /var/www/fog/lib/fog/storagenode.class.php(45): FOGController->get('snapinfiles')\n#4 /var/www/fog/lib/pages/snapinmanagementpage.class.php(376): StorageNode->get('snapinfiles')\n#5 [internal function]: SnapinManagementPage->{closure}(Object(StorageNode))\n#6 /var/www/fog/lib/pages/snapinmanagementpage.class.php(378): array_map(Object(Closure), Array)\n#7 /var/www/fog/lib/fog/fogpagemanager.class.php(100): SnapinManagementPage->edit()\n#8 /var/www/fog/management/index.php(25): FOGPageManager->render()\n#9 {main}\n thrown in /var/www/fog/lib/fog/fogftp.class.php on line 74, referer: http://fog.domain.com/fog/management/index.php?node=snapin&sub=list
[Fri Sep 16 18:38:04 2016] [error] [client 10.0.0.10] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/group.class.php on line 313, referer: http://fog.domain.com/fog/management/index.php?node=group&sub=edit&id=49
[Fri Sep 16 19:17:29 2016] [error] [client 10.0.0.10] PHP Warning: trim() expects parameter 1 to be string, array given in /var/www/fog/lib/fog/fogbase.class.php on line 1227, referer: http://fog.domain.com/fog/management/index.php?node=task&sub=active-multicast
[Sat Sep 17 11:47:34 2016] [error] [client 10.0.2.33] PHP Strict Standards: Only variables should be passed by reference in /var/www/fog/lib/fog/group.class.php on line 313, referer: http://fog.domain.com/fog/management/index.php?node=group&sub=edit&id=51
[Sat Sep 17 11:52:36 2016] [error] [client 10.0.2.33] PHP Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/fog/lib/pages/reportmanagementpage.class.php on line 1053, referer: http://fog.domain.com/fog/management/index.php?node=report&sub=snapin-log
[Sat Sep 17 11:52:36 2016] [error] [client 10.0.2.33] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/fog/lib/pages/reportmanagementpage.class.php on line 1053, referer: http://fog.domain.com/fog/management/index.php?node=report&sub=snapin-log
[Sat Sep 17 11:59:13 2016] [error] [client 10.0.2.33] PHP Warning: PDO::__construct(): MySQL server has gone away in /var/www/fog/lib/db/pdodb.class.php on line 152, referer: http://fog.domain.com/fog/management/index.php?node=task&sub=active
[Sat Sep 17 11:59:36 2016] [error] [client 10.0.0.10] PHP Warning: PDO::__construct(): MySQL server has gone away in /var/www/fog/lib/db/pdodb.class.php on line 152
[Sat Sep 17 11:59:43 2016] [error] [client 10.0.71.89] PHP Warning: PDO::__construct(): MySQL server has gone away in /var/www/fog/lib/db/pdodb.class.php on line 152, referer: http://fog.domain.com/fog/management/index.php?node=host&sub=deploy&id=233&type=13
[Sat Sep 17 11:59:54 2016] [notice] caught SIGTERM, shutting down
[Sat Sep 17 12:00:30 2016] [notice] Apache/2.2.22 (Debian) mod_ssl/2.2.22 OpenSSL/1.0.1e configured -- resuming normal operations
[Sat Sep 17 12:00:36 2016] [error] [client 10.0.0.5] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/fog/lib/db/mysqldump.class.php on line 383
[Sat Sep 17 12:00:37 2016] [error] [client 10.0.0.5] PHP Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/fog/lib/db/mysqldump.class.php on line 400