Posted: March 2, 2017 at 3:51 am
|
I’m seeing two new errors in my log. [client IP] A valid DateTime could not be recreated from “-0001-11-29 18:00:00 -0600 America/Detroit” because the following errors occurred: Array\n(\n [warning_count] => 0\n [warnings] => Array\n (\n )\n\n [error_count] => 1\n [errors] => Array\n (\n [0] => Unexpected data found.\n )\n\n)\n PHP version: 5.6.30-1+wpengine8, referer: https://secure.authorize.net/gateway/transact.dll [client IP] A valid DateTime could not be generated from “-0001-11-29 18:00:00 -0600 America/Detroit” because the following errors occurred: Array\n(\n [warning_count] => 0\n [warnings] => Array\n (\n )\n\n [error_count] => 1\n [errors] => Array\n (\n [0] => Unexpected data found.\n )\n\n)\n PHP version: 5.6.30-1+wpengine8 Stack Trace: #0 [internal function]: EventEspresso\\core\\domain\\entities\\DbSafeDateTime->__sleep()\n#1 [dir-path]/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php(803): serialize(Array)\n#2 [dir-path]/wp-content/plugins/event-espresso-core-reg/core/EE_Session.core.php(742): EE_Session->_save_session_to_db()\n#3 [internal function]: EE_Session->update(”)\n#4 [dir-path]/wp-includes/class-wp-hook.php(298): call_user_func_array(Array, Array)\n#5 [dir-path]/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)\n#6 [dir-path]/truefocusmedia/wp-includes/plugin.php(453): WP_Hook->do_action(Array)\n#7 [dir-path]/truefocusmedia/wp-includes/load.php(677): do_action(‘shutdown’)\n#8 [internal function]: shutdown_action_hook()\n#9 {main}, referer: https://secure.authorize.net/gateway/transact.dll Do you have an idea about what would be going wrong ? |
Hi there, Which version number of Event Espresso are you currently using? |
|
|
4.9.24.p |
Hmm, we added some code in 4.9.23 that should prevent the above error. Can you update to the latest version of EE4 (currently 4.9.31) and see if the error continues please? |
|
I’m getting a similar error and I’m running the most current version. |
|
You should be able to avoid those errors by going to Event Espresso > General Settings > Admin Options and set Encode Session Data? to Yes. |
|
Thank you. Will do that now. |
|
So I set Encode Session Date to yes and when someone bought a ticket on my site today the error occurred again at the same time. Here’s the line(s) from the log: [08-Mar-2017 23:31:02 UTC] A valid DateTime could not be recreated from “-0001-11-29 19:57:20 -0402 America/Boa_Vista” because the following errors occurred: <br /> Array [error_count] => 1 ) |
|
OK so the thing to check with the above is find out whether your server supports base64 functions. You can ask your host to see if they’ve disabled base64_encode() and/or base64_decode() functions or if you can do a quick test to verify. Here are the steps for doing the test: 1) You go to WordPress Plugins > Add New
If your server allows the base64 functions, you’ll see some output in the Output box. |
|
The support post ‘New Errors Since Updating’ 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.