Events Planner Logo
Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Error When Displaying Past Events

Kayt — Dec 31, 2016 05:01PM MST

I'd like to display past events here:
http://inlandempirebankruptcyforum.org/wordpress/events-planner/past-events

The following code displays just the upcoming event:
[events_planner display="list-class" show_past="1"]

This code displays the calendar which included past events:
[events_planner display="calendar" show_past="1"]

BUT it also displays an error:
Warning: date() expects parameter 2 to be long, string given in /home/content/i/e/b/iebfsite/html/wordpress/wp-content/plugins/events-planner-pro-6012/application/helpers/common-helper.php on line 1126


1 Community Answers

Abel - Jan 03, 2017 at 01:39PM MST

WP Events Planner Agent

Hi Kayt.

I just added one line of code to the top of your theme’s functions.php file ( http://screencast.com/t/TnOshulLX ) that will hide this error. I have logged it for investigation and will have it fixed in the next version.

Thanks, Abel

rated : 0 Up Down

Post Your Public Answer