Main menu

Forum


× Help Forum English

PHP Warning trim()

  • evilfranky
  • Autore della discussione
  • Junior Member
  • Junior Member
Di più
11 Anni 9 Mesi fa - 11 Anni 9 Mesi fa #8971 da evilfranky
PHP Warning trim() è stato creato da evilfranky
Hi guys

I am using the latest version of iCagenda (3.4.1)
When someone is exporting an event in his calendar (I guess it happens with outlook) the following entry appears in my error_log file:
PHP Warning: trim() expects parameter 1 to be string, array given in /xxx/xxx/xxx/components/com_icagenda/helpers/iCalcreator.class.php on line 8502

The same message is also written into the icagenda.ics file:
<br />
<b>Warning</b>:  trim() expects parameter 1 to be string, array given in <b>/xxx/xxx/xxx/components/com_icagenda/helpers/iCalcreator.class.php</b> on line <b>8502</b><br />
BEGIN:VCALENDAR
VERSION:2.0
PRODID:iCagenda
METHOD:PUBLISH
X-WR-CALDESC:
X-WR-TIMEZONE:UTC
BEGIN:VTIMEZONE
TZID:UTC
X-LIC-LOCATION:UTC
BEGIN:STANDARD
DTSTART:00001130T000000
TZOFFSETFROM:+0000
TZOFFSETTO:+0000
TZNAME:UTC
END:STANDARD
END:VTIMEZONE
BEGIN:VEVENT
UID:37
DTSTAMP:20150204T064931Z
CATEGORIES:Jahresprogramm TV 2015
DESCRIPTION:Fotos zum alljährlichen Sportweekend findest du in unserer Gale
 rie.
DTSTART;VALUE=DATE:20150228
DTEND;VALUE=DATE:20150301
LOCATION:Skipiste
SUMMARY:Sportweekend
URL:http://xxx.xx/vereinsinfos/events-2015/37-sportweekend
END:VEVENT
END:VCALENDAR

EDIT: Link to the specific event: tvschupfart.ch/vereinsinfos/events-2015/37-sportweekend

Any ideas what could cause that?

Kind Regards

Frank
Ultima Modifica 11 Anni 9 Mesi fa da evilfranky.

Si prega Accedi o Crea un account a partecipare alla conversazione.

  • Lyr!C
  • Avatar di Lyr!C
  • Administrator
  • Administrator
  • Lead Developer
Di più
11 Anni 8 Mesi fa #9002 da Lyr!C
Risposta da Lyr!C al topic PHP Warning trim()
Hello,

I will try to check this, as i don't know why export to ics is not working anymore.

Best Regards,
Cyril

Latest version : iCagenda 4.0.17 Joomla! 4 > Joomla! 6
We recommend every user to keep iCagenda updated.
Support for iCagenda version 3.9 (the final version compatible with Joomla 3) ended on October 13, 2026
Extended security support for the iCagenda PRO 3.9 version until October 13, 2027 (to benefit from this extended support, you must have a Pro subscription: www.joomlic.com/extensions/icagenda)
Don't forget to have your Joomla!® up-to-date!

Do you like iCagenda?
I would appreciate if you could take 5 minutes to post a review on JED (Joomla Extensions Directory) .

File allegato:

Si prega Accedi o Crea un account a partecipare alla conversazione.

Moderatori: Lyr!C
Tempo creazione pagina: 0.059 secondi

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new