Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I just found this error on check out:
Fatal error: Call to a member function getTimestamp() on a non-object in /home/travel/public_html/[MySite.com]/sites/all/modules/uc_hotel/hotel_booking/hotel_booking.module on line 1717
I'm running 6.x-1.x-dev (2010-May-15)
Has anyone seen a similar issue?
Comments
Comment #1
coloryan CreditAttribution: coloryan commentedUpdating the title to something more meaningful...
Comment #2
larowlanHi
->getTimestamp() is only available in php 5.3.
Swap it to ->format('U') instead for the time being, I'll do a check in to fix it on Mon
Lee
Comment #3
coloryan CreditAttribution: coloryan commentedThanks. I changed it on lines 1717 and 1721 and was given this error:
Fatal error: Call to a member function format() on a non-object in /home/travel/public_html/[MySite.com/sites/all/modules/uc_hotel/hotel_booking/hotel_booking.module on line 1730
Monday is fine... I'm coasting through the weekend.
Comment #4
larowlanHi
What version of php are you using?
Lee
Comment #5
coloryan CreditAttribution: coloryan commentedMySQL database 5.1.47
PHP 5.2.13
Thanks,
Ryan
Comment #6
coloryan CreditAttribution: coloryan commentedUpdated to the latest build (6.x-1.x-dev (2010-Jul-11)) and changed ->getTimestamp() to ->format('U'), working now.