You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While loading a CSV file in MySQL DB, I get following warnings and 1 fatal error. Error only occurs after loading the file as I can see all records loaded into the DB.
Deprecated: Return type of Goodby\CSV\Import\Standard\StreamFilter\ConvertMbstringEncoding::filter($in, $out, &$consumed, $closing) should either be compatible with php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/goodby/csv/src/Goodby/CSV/Import/Standard/StreamFilter/ConvertMbstringEncoding.php on line 100
Deprecated: Return type of Goodby\CSV\Import\Standard\StreamFilter\ConvertMbstringEncoding::onCreate() should either be compatible with php_user_filter::onCreate(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /vendor/goodby/csv/src/Goodby/CSV/Import/Standard/StreamFilter/ConvertMbstringEncoding.php on line 75
Deprecated: auto_detect_line_endings is deprecated in /vendor/goodby/csv/src/Goodby/CSV/Import/Standard/Lexer.php on line 36
Fatal error: Declaration of Goodby\CSV\Export\Standard\CsvFileObject::fputcsv($fields, $delimiter = null, $enclosure = null, $escape = null) must be compatible with SplFileObject::fputcsv(array $fields, string $separator = ",", string $enclosure = """, string $escape = "\", string $eol = "\n"): int|false in /vendor/goodby/csv/src/Goodby/CSV/Export/Standard/CsvFileObject.php on line 50
I'm using Symfony 6 and PHP 8.2 and getting exception bellow:
"message":"Deprecated: Return type of Goodby\CSV\Import\Standard\StreamFilter\ConvertMbstringEncoding::filter($in, $out, &$consumed, $closing) should either be compatible with php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","context":{"exception":{"class":"ErrorException","message":"Deprecated: Return type of Goodby\CSV\Import\Standard\StreamFilter\ConvertMbstringEncoding::filter($in, $out, &$consumed, $closing) should either be compatible with php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","code":0,"file":"/var/www/html/vendor/goodby/csv/src/Goodby/CSV/Import/Standard/StreamFilter/ConvertMbstringEncoding.php:100"}},"level":200,"level_name":"INFO","channel":"deprecation","datetime":"2024-06-06T15:10:10.177844+00:00","extra":{}
Activity
FVSoftwareDeveloper commentedon Jun 6, 2024
Is there an update on this issue?
I'm using Symfony 6 and PHP 8.2 and getting exception bellow:
"message":"Deprecated: Return type of Goodby\CSV\Import\Standard\StreamFilter\ConvertMbstringEncoding::filter($in, $out, &$consumed, $closing) should either be compatible with php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","context":{"exception":{"class":"ErrorException","message":"Deprecated: Return type of Goodby\CSV\Import\Standard\StreamFilter\ConvertMbstringEncoding::filter($in, $out, &$consumed, $closing) should either be compatible with php_user_filter::filter($in, $out, &$consumed, bool $closing): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice","code":0,"file":"/var/www/html/vendor/goodby/csv/src/Goodby/CSV/Import/Standard/StreamFilter/ConvertMbstringEncoding.php:100"}},"level":200,"level_name":"INFO","channel":"deprecation","datetime":"2024-06-06T15:10:10.177844+00:00","extra":{}