Posted by drupal92037 on November 8, 2009 at 6:10am
Jump to:
| Project: | Office Hours |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
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
#1
I 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?
#2
Must'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)
#3
OK, thanks. I just commented out the function call on line 107, and everything appears to be fine.
#4
#5
Automatically closed -- issue fixed for 2 weeks with no activity.