NooTheme Premium WordPress Theme › Forums › Timetable › php Error
- This topic has 10 replies, 2 voices, and was last updated 3 years, 8 months ago by dangdv.
-
AuthorPosts
-
3 years, 8 months ago #1211734
Hi
I have this error that is breaking the site. Here is part of the error:
=================
PHP Fatal error: Uncaught Error: Call to a member function getTimestamp() on bool in /[PATH REMOVED]/wp-<wbr style="color: #222222; font-family: Arial, Helvetica, sans-serif; font-size: small;" />includes/functions.php:191
=================
This is the 1st time I've requested support, so please let me know the next steps. Thank you 🙂
3 years, 8 months ago #1211749Dear, Please kindly send for me admin account and your problem URL via private reply, I will check details to help you.
Best regards.
3 years, 8 months ago #1211762This reply has been marked as private.3 years, 8 months ago #1211766Will you be looking at this today? This has been an issue since last Thursday and the classes are very important to the client, so they are asking. Please let me know. Thanks
3 years, 8 months ago #1211768This reply has been marked as private.3 years, 8 months ago #1211775This reply has been marked as private.3 years, 8 months ago #1211783This reply has been marked as private.3 years, 8 months ago #1211790We have been waiting for you to resolve the issue .. its been 12 hours no reply.. Classes are too much important for client on website and right now its not working.
3 years, 8 months ago #1211800Dear, I check and i see that problem because you use 'Number of Weeks' with too big number. I cause error in strtotime function . I have change 'Number of Weeks' to 10 and it's working, Please check again.
Best regards.
3 years, 8 months ago #1211814Ahh, ok I see that. Thank you for sorting that out for me! That was my mistake and I'm sorry that I was frustrated.
If a class will always be available for students, what number should we put in "Number of Weeks"? Currently, the client continues classes forever, so there is no end date.
Also, how can we change week to start on Sunday and not Monday? We want the days on the calendar view to show: Sunday - Monday - Tuesday - Wednesday - Thursday - Friday - Saturday. Can we do that?
Thank you for helping 🙂
3 years, 8 months ago #1211838Dear, Because the strtotime function of PHP only support maximum values for a 32-bit signed integer. So if you use 'Number of Weeks' too big it will cause error when calculate end date of class.
For your problem, you need go to edit date when class is expired.
Best regards.
-
AuthorPosts
You must be logged in and have valid license to reply to this topic.