Problem with sending scheduled e-mails
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Problem with sending scheduled e-mails
Hi!
The shop is working fine, but a scheduler-task makes problems.
If I manually start the task (Order payment related E-Mail...) I get the following error (shortend):
PHP Warning: Illegal offset type in .../typo3conf/ext/aimeos/Resources/Libraries/zendframework/zend-i18n/src/Translator/Translator.php line 441
On line 441 is the following code:
if (isset($this->messages[$textDomain][$locale][$message])) {
return $this->messages[$textDomain][$locale][$message];
}
If I deactived the code, the whole shop is not translated togerman, but the scheduler-task works.
The same task does not start automatically. Maybe because of the mentioned error ?
It seems that the language setting of typo3 is the problem? How can I solve it?
Best wishes
Marcus
The shop is working fine, but a scheduler-task makes problems.
If I manually start the task (Order payment related E-Mail...) I get the following error (shortend):
PHP Warning: Illegal offset type in .../typo3conf/ext/aimeos/Resources/Libraries/zendframework/zend-i18n/src/Translator/Translator.php line 441
On line 441 is the following code:
if (isset($this->messages[$textDomain][$locale][$message])) {
return $this->messages[$textDomain][$locale][$message];
}
If I deactived the code, the whole shop is not translated togerman, but the scheduler-task works.
The same task does not start automatically. Maybe because of the mentioned error ?
It seems that the language setting of typo3 is the problem? How can I solve it?
Best wishes
Marcus
Re: Problem with sending scheduled e-mails
What language IDs do you have configured in your shop (could you make a screenshot for the "Locale" tab in the admin interface) and which language IDs are used in the existing orders in the mshop_order_base table?WahnM wrote: PHP Warning: Illegal offset type in .../typo3conf/ext/aimeos/Resources/Libraries/zendframework/zend-i18n/src/Translator/Translator.php line 441
Re: Problem with sending scheduled e-mails
Did you overwrite translations using the TS config field in the scheduler task?
The error occurs if the content of $message is an array instead of a string which is most likely caused by an invalid translation entry.
The error occurs if the content of $message is an array instead of a string which is most likely caused by an invalid translation entry.
Re: Problem with sending scheduled e-mails
Thanks for reply.
Hm. Enclosed you find my language setting in the root page an the local configuration of the aimeos shop. I will take a look at the table und reply as soon as psossible.
Bye
Hm. Enclosed you find my language setting in the root page an the local configuration of the aimeos shop. I will take a look at the table und reply as soon as psossible.
Bye
- Attachments
-
- root.jpg (34.05 KiB) Viewed 5127 times
-
- aimeo.jpg (44.27 KiB) Viewed 5127 times
Re: Problem with sending scheduled e-mails
No. I didn't. IS it possible to set a valid entry?aimeos wrote:Did you overwrite translations using the TS config field in the scheduler task?
The error occurs if the content of $message is an array instead of a string which is most likely caused by an invalid translation entry.
I've now tried to send messages manually after deleting the country code in the root page. But same problem. Now I will take a look at the corresponding table.
CU
Marcus
Re: Problem with sending scheduled e-mails
Here it is. In my opinion it is okay!?aimeos wrote:Did you overwrite translations using the TS config field in the scheduler task?
The error occurs if the content of $message is an array instead of a string which is most likely caused by an invalid translation entry.
Re: Problem with sending scheduled e-mails
Sorry. Picture didn't load. So here is the URL:
Re: Problem with sending scheduled e-mails
Do you have only one entry in the locale tab of the admin interface with language "de" and currency "EUR" or are there more?
Re: Problem with sending scheduled e-mails
Only one. de with euro.
Re: Problem with sending scheduled e-mails
just wanted to add: same problem here.WahnM wrote: PHP Warning: Illegal offset type in .../typo3conf/ext/aimeos/Resources/Libraries/zendframework/zend-i18n/src/Translator/Translator.php line 441
Cheers
Robert.