We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Problem Trying to read attached file will cause
Undefined array key 39 at /project/vendor/enjoping/dxfighter/DXFighter.php
Undefined array key 39
/project/vendor/enjoping/dxfighter/DXFighter.php
(github does not allow uploading dxf files, so the uploaded file is regular dxf with manually changed extension to svg)
Solution change $thickness = $data[39] ? $data[39] : 0; to $thickness = isset($data[39]) ? $data[39] : 0;
$thickness = $data[39] ? $data[39] : 0;
$thickness = isset($data[39]) ? $data[39] : 0;
Additional details Tested on PHP 8.1
The text was updated successfully, but these errors were encountered:
I've just noticed it is duplicate of #18 , so closing this one
Sorry, something went wrong.
No branches or pull requests
Problem
Trying to read attached file will cause
Undefined array key 39
at
/project/vendor/enjoping/dxfighter/DXFighter.php
(github does not allow uploading dxf files, so the uploaded file is regular dxf with manually changed extension to svg)
Solution
change
$thickness = $data[39] ? $data[39] : 0;
to
$thickness = isset($data[39]) ? $data[39] : 0;
Additional details
Tested on PHP 8.1
The text was updated successfully, but these errors were encountered: