[EventCalendar] Re: Event Calendar warning message in WP 2.0.4
Rusty Smith
rusty.smith at auburn.edu
Mon Sep 18 23:08:46 UTC 2006
OK, this seems to fix it, but might break other things? (I am no coder):
Changed line 63 in event calendar3.php from:
$post_ids=array_flip(&$post_ids); // Old syntax
to
$post_ids=array_flip($post_ids); // Old syntax
(Note the deletion of the "&" before "$post_ids)"
Please let me know if this whacks anything else that I do not notice
in this config...
Rusty
On Sep 18, 2006, at 5:53 PM, Rusty Smith wrote:
> Group:
> After activating EventCalendar 3.1.pre13 (with the patches to make
> the date interface appear and disappear properly) in a new install
> of WP 2.0.4, I get the following message at the top of all pages:
>
> Warning: Call-time pass-by-reference has been deprecated - argument
> passed by value; If you would like to pass it by reference, modify
> the declaration of array_flip(). If you would like to enable call-
> time pass-by-reference, you can set allow_call_time_pass_reference
> to true in your INI file. However, future versions may not support
> this any longer. in W:\WWW\cadc.auburn.edu\cadc-testing\wp-content
> \plugins\eventcalendar3\eventcalendar3.php on line 63
>
> This is on a different server from the one that I have been doing
> other testing on; from the looks of this code this may have
> something to do with the version of PHP that we are running? If so
> I will be able to find out that version tomorrow AM.
>
> Rusty
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://penguin.firetree.net/pipermail/eventcalendar/attachments/20060918/99216ef3/attachment.html
More information about the EventCalendar
mailing list