markocupic / import-from-csv-bundle

Import data records from a CSV spreadsheet in the Contao Backend.
8 stars 4 forks source link

Exception beim Import (auch im Testdurchlauf) #10

Closed ReDeLe-design closed 3 years ago

ReDeLe-design commented 3 years ago

[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.

markocupic commented 3 years ago

Yes, there was a missing use tag for the Contao\Config class. Please try version 4.8.7.