Main menu

Forum


The developer takes a few days off for Summer vacation...
...and will be back with charged battery!

From 14 June to 29 June, 2025 included
During this period,
assistance from developer will not be provided.

NEWS: iCagenda 4.0.0-alpha1 will be available for testing for users with a PRO subscription in July!

× Help Forum English

PHP Warning trim()

  • evilfranky
  • Topic Author
  • New Member
  • New Member
More
10 years 4 months ago - 10 years 4 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: 10 years 4 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
10 years 4 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 3.9.11
We recommend every user to keep iCagenda updated.
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.102 seconds

Follow Us

Create your Joomla templates with Template Creator CK

acymailing logo new