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 when using embedded image in email #7

Closed
millemedia opened this issue Aug 2, 2017 · 6 comments
Closed

Fatal error when using embedded image in email #7

millemedia opened this issue Aug 2, 2017 · 6 comments

Comments

@millemedia
Copy link

When embedImage is used for mail you will get a fatal error for all emails but not createUserConfirmation.

Error;
#1476107295: PHP Warning: explode() expects parameter 2 to be string, object given. See attached file.
TYPO3 Exception.zip

@einpraegsam
Copy link
Collaborator

Thx for the hint, I will check this.
BTW: I think that you're writing about branch develop and TYPO3 8?

@millemedia
Copy link
Author

Hi Alex,
yes it's TYPO3 8 branch develop.

@millemedia millemedia reopened this Aug 2, 2017
@einpraegsam
Copy link
Collaborator

Did you embed an image via TypoScript? If so, pls write me your configuration.

@millemedia
Copy link
Author

Here it is:
For all mails the same.
embedImage = COA
embedImage {
10 = IMG_RESOURCE
10 {
wrap = |,
file.import = uploads/pics/
file.import.field = image
file.import.listNum = 0
file.maxW = 120
file.maxH = 120
}

					20 = TEXT
					20.value = fileadmin/templates/img/logo.png
				}

@einpraegsam
Copy link
Collaborator

Thx for clearify.
Can you please test the current develop branch? I made some changes and images should be rendered in mails again:

@millemedia
Copy link
Author

Perfect! It works!
Thanks a lot

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