Main menu

Forum


× Help Forum English

PHP Warning trim()

  • evilfranky
  • Topic Author
  • Junior Member
  • Junior Member
More
11 years 9 months ago - 11 years 9 months ago #8971 by evilfranky
PHP Warning trim() was created by 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
Last edit: 11 years 9 months ago by evilfranky.

Please Log in or Create an account to join the conversation.

  • Lyr!C
  • Lyr!C's Avatar
  • Administrator
  • Administrator
  • Lead Developer
More
11 years 8 months ago #9002 by Lyr!C
Replied by Lyr!C on 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 Attachment:

Please Log in or Create an account to join the conversation.

Moderators: Lyr!C
Time to create page: 0.058 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new