Hi and thank you for this module.

I have installed it without the Ubercart module, as paying won't be necessary. It seems I can make reservations without problems.
However I got undefined variables when I browse to Availability Calendar and Booking Calendar. When in month view I get the following errors:

Notice: Undefined variable: type in calendar_preprocess_date_views_pager() (line 151 of C:\wamp\www\drupal7\sites\all\modules\calendar\calendar.module).
Notice: Undefined variable: type in calendar_granularity_path() (line 518 of C:\wamp\www\drupal7\sites\all\modules\calendar\calendar.module).
Notice: Undefined variable: type in calendar_preprocess_date_views_pager() (line 152 of C:\wamp\www\drupal7\sites\all\modules\calendar\calendar.module).
Notice: Undefined variable: type in calendar_preprocess_date_views_pager() (line 153 of C:\wamp\www\drupal7\sites\all\modules\calendar\calendar.module).
Notice: Undefined variable: type in calendar_granularity_path() (line 518 of C:\wamp\www\drupal7\sites\all\modules\calendar\calendar.module).
Notice: Undefined variable: type in calendar_granularity_path() (line 518 of C:\wamp\www\drupal7\sites\all\modules\calendar\calendar.module).
Notice: Undefined variable: type in calendar_granularity_path() (line 518 of C:\wamp\www\drupal7\sites\all\modules\calendar\calendar.module).

The list of undefined variables in Availability Calendar, week view, is much longer.

I hope you can address these issues. Thank you in advance.

CommentFileSizeAuthor
Capture.PNG73.04 KBdaishin

Comments

daishin’s picture

Version: 7.x-2.x-dev » 7.x-2.0-beta1
agill’s picture

Hello, the errors in the month/week view of the availability calendar i will adress later.
But there should not be notices/errors in the bookings calendars monthview.

A few things you could try:
1: try reverting the bookingcalendar view
2.: try editing the bookingcalendar and resave it.
does it change anything?

are you using the newest versions of views, calendar, date and agreservations(7.x-2.x-dev)?