{"action":"closed","issue":{"url":"https://api.github.com/repos/markocupic/gallery_creator/issues/26","labels_url":"https://api.github.com/repos/markocupic/gallery_creator/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/markocupic/gallery_creator/issues/26/comments","events_url":"https://api.github.com/repos/markocupic/gallery_creator/issues/26/events","html_url":"https://github.com/markocupic/gallery_creator/issues/26","id":117318367,"number":26,"title":"Einlesen eines Ordners erzeugt Fehlermeldung (in_array erwartet 2 Parameter, GcHelpers.php)","user":{"login":"michelbalzer","id":1337412,"avatar_url":"https://avatars.githubusercontent.com/u/1337412?v=3","gravatar_id":"","url":"https://api.github.com/users/michelbalzer","html_url":"https://github.com/michelbalzer","followers_url":"https://api.github.com/users/michelbalzer/followers","following_url":"https://api.github.com/users/michelbalzer/following{/other_user}","gists_url":"https://api.github.com/users/michelbalzer/gists{/gist_id}","starred_url":"https://api.github.com/users/michelbalzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michelbalzer/subscriptions","organizations_url":"https://api.github.com/users/michelbalzer/orgs","repos_url":"https://api.github.com/users/michelbalzer/repos","events_url":"https://api.github.com/users/michelbalzer/events{/privacy}","received_events_url":"https://api.github.com/users/michelbalzer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-17T09:47:09Z","updated_at":"2015-11-17T13:35:32Z","closed_at":"2015-11-17T13:35:32Z","body":"Als ich gestern mehrere Galerien angelegt hatte und dann die Bilder aus dem Dateiverzeichnis einlesen wollte (Auswahl Ordner, keine einzelnden Dateien, gleiches Verzeichnis wie „Zugewiesenes Upload Verzeichnis“) erhielt ich, unter anderem, folgende (aus dem Log stammende und daher wohl gekürzte) Fehlermeldung:\r\n\r\n```\r\n[16-Nov-2015 16:43:20 Europe/Berlin] \r\nPHP Warning: in_array() expects parameter 2 to be array, null given in /system/modules/gallery_creator/src/classes/GcHelpers.php on line 1025\r\n#0 [internal function]: __error(2, 'in_array() expe...', '/kunden/300762_...', 1025, Array)\r\n#1 /system/modules/gallery_creator/src/classes/GcHelpers.php(1025): in_array('20131007 Besuch...', NULL)\r\n#2 /system/cache/dca/tl_gallery_creator_albums.php(1179): MCupic\\GalleryCreator\\GcHelpers::importFromFilesystem('11', 'bc0edd51-5b81-1...')\r\n#3 /system/modules/core/drivers/DC_Table.php(207): tl_gallery_creator_albums->onloadCbImportFromFilesystem(Object(Contao\\DC_Table))\r\n#4 /system/modules/core/classes/Backend.php(408): Contao\\DC_Table->__construct('tl_gallery_crea...', Array)\r\n#5 /system/modules/core/controllers/BackendMain.php(131): Contao\\Backend->getBackendModule('gallery_creator')\r\n#6 /contao/main.php(20): Contao\\BackendMain->run()\r\n#7 {main}\r\n```\r\nAus der Paketverwaltung:\r\n\r\n```\r\n{\r\n    \"name\": \"local/website\",\r\n    \"description\": \"A local website project\",\r\n    \"type\": \"project\",\r\n    \"license\": \"proprietary\",\r\n    \"require\": {\r\n        \"comolo/contao-supertheme\": \">=2.2.1.0,<2.3-dev\",\r\n        \"contao-community-alliance/composer-client\": \"~0.12\",\r\n        \"contao-legacy/frontend_editor\": \">=2.2.6.9003,<2.3-dev\",\r\n        \"contao-legacy/newslanguage\": \">=2.1.0.9030,<2.2-dev\",\r\n        \"dma/dma_elementgenerator\": \"dev-master\",\r\n        \"markocupic/gallery_creator\": \">=4.9.0.0,<4.10-dev\",\r\n        \"psi/boxes4ward\": \">=2.0.5.0,<2.1-dev\",\r\n        \"terminal42/contao-changelanguage\": \">=2.2.9.0,<2.3-dev\"\r\n    },\r\n    \"prefer-stable\": true,\r\n    \"minimum-stability\": \"dev\",\r\n    \"config\": {\r\n        \"preferred-install\": \"dist\",\r\n        \"cache-dir\": \"cache\",\r\n        \"component-dir\": \"../assets/components\"\r\n    },\r\n    \"repositories\": [\r\n        {\r\n            \"type\": \"composer\",\r\n            \"url\": \"https://legacy-packages-via.contao-community-alliance.org/\"\r\n        },\r\n        {\r\n            \"type\": \"artifact\",\r\n            \"url\": \"packages\"\r\n        },\r\n        {\r\n            \"type\": \"composer\",\r\n            \"url\": \"http://legacy-packages-via.contao-community-alliance.org/\"\r\n        }\r\n    ],\r\n    \"extra\": {\r\n        \"contao\": {\r\n            \"migrated\": \"done\"\r\n        }\r\n    }\r\n}\r\n```"}}