Closed (fixed)
Project:
Office Hours
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2009 at 06:10 UTC
Updated:
22 Nov 2009 at 08:40 UTC
I tried to add Office Hours to a content type as a field, and I get:
Fatal error: Call to undefined function _office_hours_create_hours_arr() /modules/office_hours/office_hours.mod
I'm running:
Drupal 6.14
Office Hours 6.x-1.x-dev
Apache/2.2.4 (Ubuntu) mod_ldap_userdir/1.1.11 PHP/5.2.3-1ubuntu6.5
And all the dependent modules are enabled.
Help!
Comments
Comment #1
drupal92037 commentedI see that the function _office_hours_create_hours_arr() was originally defined but subsequently commented out because "we're using date_api now". Obviously _office_hours_create_hours_arr() isn't defined in date_api.module or elsewhere, so ... why is that function being called on line 107?
Comment #2
Ozeuss commentedMust've slipped. No reason for the function to be called. you can comment it out for now, i'll commit the new version (it will be updated in the next 24 hrs)
Comment #3
drupal92037 commentedOK, thanks. I just commented out the function call on line 107, and everything appears to be fine.
Comment #4
Ozeuss commented