Main menu

Forum


× Help Forum English

PHP Warning trim()

  • evilfranky
  • Auteur du sujet
  • Membre junior
  • Membre junior
Plus d'informations
il y a 11 ans 9 mois - il y a 11 ans 9 mois #8971 par evilfranky
PHP Warning trim() a été créé par 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
Dernière édition: il y a 11 ans 9 mois par evilfranky.

Connexion ou Créer un compte pour participer à la conversation.

  • Lyr!C
  • Portrait de Lyr!C
  • Administrateur
  • Administrateur
  • Lead Developer
Plus d'informations
il y a 11 ans 8 mois #9002 par Lyr!C
Réponse de Lyr!C sur le sujet 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) .

Fichier attaché :

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: Lyr!C
Temps de génération de la page : 0.050 secondes

Follow Us

Créez vos templates Joomla avec Template Creator CK

acymailing logo new