Closed (outdated)
Project:
Event
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 May 2008 at 21:47 UTC
Updated:
13 Apr 2018 at 21:01 UTC
Jump to comment: Most recent
uninstalled and installed latest dev. no solution yet
warning: date_parse() error when previewing events
ref. http://drupal.org/node/246732 on 6.x
used: latest dev for event-5.x-2.x-dev.tar.gz (18-May-2008)
# warning: date_parse() expects parameter 1 to be string, array given in
D:\....\sites\all\modules\event\event.module on line 2680.
# warning: mysql_real_escape_string() expects parameter 1 to be string, array given in
D:\...\includes\database.mysql.inc on line 400.
it happened when previewing, in any event after selecting week/month. Also an error with rss feeds, I do not know if and how they are related.
Comments
Comment #1
jannalexx commentedthe error remains, is there any suggestion?
Comment #2
dugh commentedI also see this error when viewing the event calendar using 5.x-2.x-dev latest version.
* warning: date_parse() expects parameter 1 to be string, array given in ...modules/event/event.module on line 2680.
* warning: mysql_real_escape_string() expects parameter 1 to be string, array given in ...mysite/includes/database.mysql.inc on line 400.
Comment #3
will kirchheimerI see it too. Seems really random, only shows while logged in to admin.
I looked over my datebase and all my source info looks good
I think it is being triggered by ical, the error shows up out in the watchdog logs.
Comment #4
will kirchheimerThis fixed the erros, and the ical feeds:
http://drupal.org/node/191031
Comment #5
jannalexx commentedthis one fixed the error: http://drupal.org/node/191031
in
function event_calendar_rssreplace:
$result = event_get_events(event_implode_date($date), $end_date, $rewrite_parameter);with:
$result = event_get_events(event_implode_date($date), event_implode_date($end_date), $rewrite_parameter);Comment #6
will kirchheimercorrection, the ical feed now has data on my site, but google ical reader says unable to parse.
the rss feeds look good.
Comment #7
japerryEvent for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.