Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm trying to use Hotel Booking System for Ubercart on my site
http://edsapartments.co.uk:8000/eds
but keep getting the following error message:
warning: call_user_func_array() [function.call-user-func-array]: First
argument is expected to be a valid callback, 'uc_catalog_buy_it_now_form_11'
was given in /opt/lampp/htdocs/eds/includes/form.inc on line 376.
Can you help
Comments
Comment #1
terell CreditAttribution: terell commentedComment #2
larowlanI assume you're trying to get the hotel nodes to show in the Ubercart catalog.
The module isn't built to support the catalog with the 'buy it now' form - as we need the extra fields like the check in date etc. As such this isn't a bug, but a support request.
You can either
a) Write your own implementation of the ubercart catalog theme functions in your theme's template.php that uses the book now form for the room (see hotel_booking_view in hotel_booking.room_type.inc) for hotel_room_type nodes
b) Remove the buy it now form from your catalog fields at admin->store settings->configure->catalog settings.
Lee
Comment #3
retrosetro CreditAttribution: retrosetro commentedpls can anyone help me on how to change the dollar($) sign in the UC_HOTEL ubercart code. I will so much appreciate your assistance. thanks in advance
Comment #4
larowlan@retrosetro
Please don't hijack a closed thread, file a new one here: http://drupal.org/node/add/project-issue/uc_hotel
Your request is a simple one, but belongs in a new thread so others with a similar issue can find it.