Forum Replies Created
-
AuthorPosts
-
July 16, 2013 at 7:24 am in reply to: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct( #55402djioParticipant
Hi, I was on a trip but I’m back now. I’m getting lots of feedback about the strange dates. Look forward to hear from you guys soon. Thanks in advance.
July 5, 2013 at 1:25 pm in reply to: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct( #53528djioParticipantNo prob!
The system is fully working despite the strange date format. On monday we talk again!
Thanks a lot for your time and support.July 5, 2013 at 11:18 am in reply to: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct( #53487djioParticipantI forgot to mention but wp and all plugins are at latest version. as of today:
WP 3.5.2
WooCommerce 2.0.12
The Events Calendar 3.0
WooTickets 3.0
And I also changed PHP in the server to v5.3 (was v5.2) but nothing changes.So the scenarios I get so far are:
1. Default date format for WP in pt_BR is: j \d\e F \d\e Y – This breaks the layout displaying the Fatal Error message;
2. When I change the date format to m/d/Y everything works fine, but all my sitewide dates appear in a format too strange for us, non-americans;
3. Alternativelly, we could use d/m/Y and in this case, no Fatal Error, but no Tickets also. And besides that, the page shows the final date of my event as TODAY, even is my event is six months from now.Any clues?
July 3, 2013 at 2:19 pm in reply to: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct( #53057djioParticipantSame problem… only works when date is set to m/d/Y in General WordPress Settings.
I updated to v3 and changed the files again. fact is It was not working anymore before the update. My suspect is that I’d probably saw a cached page that time. I Already turned off my cache system. Any other options I ca try?
Site in question: http://www.mpc.org.br/evento/treinamento-2014/djioParticipantThanks, I didn’t want to cluster que forum with duplicate topics, is there a way so the author can reopen the Topic?
djioParticipantHi Barry, fact is my other ticket was closed and the problem is back, using v2 or v3, with the patch send me there. Sorry for coming this way, but I coudn;t see any other option to contact you, please reopen my topic and erase this post. Thanks in advance.
Topic: https://theeventscalendar.com/support/forums/topic/fatal-error-uncaught-exception-exception-with-message-datetime__construct/#post-52431June 27, 2013 at 9:03 pm in reply to: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct( #52422djioParticipantHey!!
Now it’s working perfectly. Thanks a lot!!!
Please add this fix to the next version.
=)June 24, 2013 at 12:11 pm in reply to: Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct( #52086djioParticipantHi Barry, Thanks for the prompt response.
After your reply I tried to set this line in wp-config.php, as instructed in PHP manual and comments (with no change in my site’s behavior whatsoever, so I removed):
setlocale(LC_ALL, "pt_BR", "pt_BR.utf-8", "pt_BR.iso-8859-1", "portuguese");
Even in my WPMU setup, It turns out that my settings were set right for Brazilian Portuguese, Timezone: Americas/Sao_Paulo.
My time settings in this on this specific subsite were “j \d\e F \d\e Y” and the dates were showing up perfectly in the frontend.
I changed the settings to “d/m/Y” and the error was gone, but the tickets info/buttons only appeared when I set them to “m/d/Y”. But unfortunately that will make a mess with all the rest of my dates in the site. So… any thoughts on how to fix this? -
AuthorPosts