Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal Error #92

Open
fakharimran77 opened this issue Aug 15, 2022 · 1 comment
Open

Fatal Error #92

fakharimran77 opened this issue Aug 15, 2022 · 1 comment

Comments

@fakharimran77
Copy link

Hello,

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

Process finished with exit code 255

@FVSoftwareDeveloper
Copy link

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":{}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants