Support

Home Forums Event Espresso Premium DateTime – Unexpected data found

DateTime – Unexpected data found

Posted: June 19, 2017 at 3:28 pm

Viewing 2 reply threads


skillstat

June 19, 2017 at 3:28 pm

We’ve upgraded to the most recent version of EE, and the following is now appearing in our error logs (see output below). It appears very frequently as we’ve set our EE cron job to run once per minute (which I believe is triggering the error), and this error is generated multiple times per second which quickly grew to a 30GB error log file!

We found this post https://eventespresso.com/topic/new-errors-since-updating/ and to answer the questions in that post:

1) We’re running EE 4.9.40.p
2) We tried the suggested Encode Session Data solution with no luck.
3) Our server supports base64 functions.

Please help! Thank you.

#1 /home/skillstat/public_html/wp-content/plugins/debug-bar-extender/debug-bar-extender.php(589): serialize(Array)
#2 /home/skillstat/public_html/wp-content/plugins/debug-bar-extender/debug-bar-extender.php(282): Debug_Bar_Extender->log()
#3 /home/skillstat/public_html/wp-content/plugins/debug-bar-extender/debug-bar-extender.php(765): Debug_Bar_Extender->checkpoint(‘loop_end action’)
#4 /home/skillstat/public_html/wp-content/plugins/debug-bar-extender/debug-bar-extender.php(222) : runtime-created function(1): dbgx_checkpoint(‘loop_end action’)
#5 [internal function]: __lambda_func(Object(EventEspresso\core\domain\services\wp_queries\EventListQuery))
#6 /home/skillstat/public_html/wp-includes/class-wp-hook.php(298): call_user_func_array(‘?lambda_20’, Array)
#7 /home/skillstat/public_html/wp-includes/class-wp-hook.php(323): WP_Hook->apply_filters(”, Array)
#8 /home/skillstat/public_html/wp-includes/plugin.php(515): WP_Hook->do_action(Array)
#9 /home/skillstat/public_html/wp-includes/class-wp-query.php(3134): do_action_ref_array(‘loop_end’, Array)
#10 /home/skillstat/public_html/wp-content/themes/childTheme/functions.php(568): WP_Query->have_posts()
#11 /home/skillstat/public_html/wp-content/themes/childTheme/single-espresso_events.php(684): show_related_events(7720, Object(EE_Datetime), 0)
#12 /home/skillstat/public_html/wp-includes/template-loader.php(74): include(‘/home/skillstat…’)
#13 /home/skillstat/public_html/wp-blog-header.php(19): require_once(‘/home/skillstat…’)
#14 /home/skillstat/public_html/index.php(17): require(‘/home/skillstat…’)
#15 {main}
[19-Jun-2017 16:00:59 UTC] A valid DateTime could not be generated from “-0001-11-29 16:00:00 -0800 America/Los_Angeles” because the following errors occurred: <br /> Array
(
[warning_count] => 0
[warnings] => Array
(
)

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

)


skillstat

June 19, 2017 at 3:31 pm

One additional line from the error log to add:

<br /> PHP version: 5.4.26 <br /> Stack Trace: #0 [internal function]: EventEspresso\core\domain\entities\DbSafeDateTime->__sleep()


Josh

  • Support Staff

June 19, 2017 at 4:10 pm

May I ask why is the EE_cron job set to 1 minute, and by what means was that changed? Are there other changes to EE’s functions on your site?

One possible solution would be to upgrade to an actively supported version of PHP. Active support for PHP 5.4 ended in 2014. PHP 5.6 is getting security fixes only, so the two actively supported versions of PHP are 7.0 and 7.1.

Event Espresso is the 4.9.42.p current version now as well, so any bug fixes made since 4.9.40.p will be in the current version.

Viewing 2 reply threads

The support post ‘DateTime – Unexpected data found’ 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