Exception beim Import (auch im Testdurchlauf)
Closed this issue · 1 comments
[2021-03-15 23:12:43] request.CRITICAL: Uncaught PHP Exception TypeError: "call_user_func_array() expects parameter 1 to be a valid callback, class 'Markocupic\ImportFromCsvBundle\Import\Config' not found" at /shared/httpd/cto49/vendor/contao/core-bundle/src/Framework/Adapter.php line 44 {"exception":"[object] (TypeError(code: 0): call_user_func_array() expects parameter 1 to be a valid callback, class 'Markocupic\ImportFromCsvBundle\Import\Config' not found at /shared/httpd/cto49/vendor/contao/core-bundle/src/Framework/Adapter.php:44)"} []
Was ich bisher rausgefunden habe:
Der Fehler ist behoben wenn in der Datei https://github.com/markocupic/import-from-csv-bundle/blob/55088fa00828cc2b0176ab59a5aeff101f253c88/src/Import/ImportFromCsv.php
use Contao\Config;
eingefügt wird.
Yes, there was a missing use tag for the Contao\Config class.
Please try version 4.8.7.