Closed MrMontesa closed 7 years ago
looks like a translation problem. Check your translations.
array_combine(array('0', '1', '2', '3', '4', '5', '6'), array('Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag'))
I'll bet that your translation for
#: lib/PostCalendar/Api/Event.php:305 lib/PostCalendar/Api/Event.php:385
msgid "Sunday/Monday/Tuesday/Wednesday/Thursday/Friday/Saturday"
msgstr ""
is Sonntag Montag Dienstag Mittwoch Donnerstag Freitag Samstag
and should be Sonntag/Montag/Dienstag/Mittwoch/Donnerstag/Freitag/Samstag
I dont have a german translation for Postcalendar installed right now. Only the german core. There I have:
[user@w31 ~/htdocs/staging.amc-idstein/app/Resources/locale/de/LC_MESSAGES]$ grep Sunday *
Binary file zikula.mo matches
zikula.po:msgid "Sunday Monday Tuesday Wednesday Thursday Friday Saturday"
I just recognized that this only happns when debug mode is on by custom_parameters config. After disabling debug the page loads again, but cant add any events since the input fields are read-only.
Lets postpone this analysis as my testbed is too unstable right now due to other tests ongoing. I will get back on this later.
Ok, I can confirm that your first guess was right. After updating the translation no error messages any longer.
Just one confirmation. This error only showed up when debug : true
was set in custom_parameters.
Also from users perspective its bad that a translation can have such severe effects. Wondering if theres a possiblity to prevent Zikula from bailing out when Translation is wrong. But this is another story.
Thanks for your help. Closing this issue
Since updating to 1.4.4build156 I cant add any new events any longer. The stack trace is: