-
-
Notifications
You must be signed in to change notification settings - Fork 160
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
Undefined property: stdClass::$bytes #102
Comments
Did the same to "fix" this issue, please take a look into it and make a proper fix? |
Feel free to make a pull request. |
I wrapped that line in isset Attachment.php:101
but now get some odd output and more attachments than were actually attached to the email Here are my attachments Number of attachments = 8 in total Here is my debug code in this function Attachment.php saveAS() function
Here is the debug output
and here are my attachments saved in my application. It's hard to see exactly how many are being attached - there are 14 font awesome file/document icons and 17 delete icons (red x's) so does anybody have a clue why there are more attachments being created than actual real attachments? I think it's got something to do with reading the structure of each section to find any attachments in each section. Attachments.php:14
Clearly the above variables show this file handles attachments. Help would be appreciated! PS. This function's comments are incomplete so it's not easy to understand Message.php:702
|
Hi there,
I'm getting the following error when an email has an attachment of 0 bytes Undefined property: stdClass::$bytes
Attachment.php:101
$this->size = $structure->bytes;
I've wrapped it in an isset, which to gets rid of the error, but not sure if this size is required elsewhere?
The text was updated successfully, but these errors were encountered: