Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] I got a bug at the CB registration "0 - DateTime::__construct()"

8 years 8 months ago - 8 years 8 months ago #278148 by market4ing
I don't know when it happend, but till 2 or 3 weeks the community builder registration doesn't work. When I load the page I got the following message:

0 - DateTime::__construct(): Failed to parse time string (--01-01) at position 0 (-): Unexpected character

You can see it at the following URL: asculta.de/bewerberportal/registrieren.html
Does anybody know why this happened and can help me?

Thanks for your support!

Regards, Nici
Last edit: 8 years 8 months ago by market4ing.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48460
  • Thanks: 8280
  • Karma: 1443
8 years 8 months ago #278179 by krileon
An invalid date is trying to be parsed through PHP DateTime. Ensure you've latest CB nightly installed then see if issue persists. If it does check each of your date fields to ensure they've valid PHP date function formats.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: market4ing

Please Log in or Create an account to join the conversation.

8 years 8 months ago #278187 by market4ing
hey krileon,

thanks for your help. I solved it. It was - as you wrote - a date-field, which went wrong. I don't know, what was it exactly, but i copied the value field from another (working) date-field. That's all.

Well, thanks so much for your help!


Regards, Nici
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum