Support

Home Forums Event Espresso Premium Blank Page Trying To Update Events

Blank Page Trying To Update Events

Posted: July 23, 2017 at 10:21 am

Viewing 5 reply threads


robert sirkis

July 23, 2017 at 10:21 am

Recently I have not been able to update events. Every time I hit the update button, it goes to a blank page and just sits there and displays a blank page. When I refresh the page, I get a warning that information may be sent twice. When I go back to the event page, nothing is updated. I go back to the event page by navigating to my home page and then to the event page. Not by selecting that back button. I have also left it overnight to see if I was giving it enough time and it still was on the blank page. Any ideas?


Tony

  • Support Staff

July 24, 2017 at 5:55 am

Hi there,

The blank page will mean a fatal error is being thrown but your server is not set to display errors (which is correct for ‘live’ sites).

Do you have cPanel or similar with your host? You will usually have a section within the control panel to view the error log from your site, any errors from Event Espresso there?

If not you will need to enable WP_DEBUG on your site using FTP and then try updating an event to force the server to show the error being thrown.


robert sirkis

July 24, 2017 at 10:37 am

Message from error log:

[23-Jul-2017 14:21:16 UTC] A valid DateTime could not be recreated from “-0001-11-29 18:00:00 -0600 America/Chicago” because the following errors occurred: <br /> Array
(
[warning_count] => 0
[warnings] => Array
(
)

[error_count] => 1
[errors] => Array
(
[0] => Unexpected data found.
)

)
<br /> PHP version: 5.4.45

All my dates seem correct. One of the updates I just tried to change the number of tickets with no other changes.


Josh

  • Support Staff

July 24, 2017 at 2:13 pm

Hi Robert,

The “A valid DateTime could not be recreated from” error may be a different issue, and you can avoid that one by going to Event Espresso > General Settings > Admin Options and set Encode Session Data? to Yes.

With regards to the blank page that happens on saving the event page, do you have any API plugins installed?


robert sirkis

July 26, 2017 at 12:41 pm

Josh – Looks like you guys don’t play nice with WP Easy Cart plug in. I deactivated it and everything is now working. Any ideas on that? I don’t use that plug in so I can leave it in that status, but what if I wanted to use it?


Josh

  • Support Staff

July 26, 2017 at 1:25 pm

Hi Robert,

I’m afraid there isn’t any “not playing nice” on Event Espresso’s part. The trouble is the WP Easy Cart plugin uses the date_default_timezone_set() function in more than a few places. That will break datetime-related data and it’s been documented in other places that plugins should not use it:
https://vip.wordpress.com/documentation/vip-development-tips-tricks/use-current_time-not-date_default_timezone_set/

https://weston.ruter.net/2013/04/02/do-not-change-the-default-timezone-from-utc-in-wordpress/

If you want to use an e-commerce plugin on your WordPress site there are many excellent alternatives that do not use the date_default_timezone_set() function.

Viewing 5 reply threads

The support post ‘Blank Page Trying To Update Events’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso