• Resolved nicmare

    (@nicmare)


    My debug.log gets flooded with these errors:

    PHP Fatal error:
    
    Uncaught Exception: DateTime::__construct(): Failed to parse time string ( seconds ago) at position 0 (s): The timezone could not be found in the database in /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/functions.php:421
    Stack trace: 0 /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/functions.php(421): DateTime->__construct(' seconds ago', Object(DateTimeZone)) 1 /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/classes/ActionScheduler_QueueCleaner.php(34): as_get_datetime_object(' seconds ago') 2 /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/classes/ActionScheduler_QueueCleaner.php(139): ActionScheduler_QueueCleaner->delete_old_actions() 3 /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/classes/abstracts/ActionScheduler_Abstract_QueueRunner.php(160): ActionScheduler_QueueCleaner->clean(300) 4 /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/classes/ActionScheduler_QueueRunner.php(130): ActionScheduler_Abstract_QueueRunner->run_cleanup() 5 /Volumes/eSSD/_htdocs/Project2023/wp-includes/class-wp-hook.php(308): ActionScheduler_QueueRunner->run('WP Cron') 6 /Volumes/eSSD/_htdocs/Project2023/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters('', Array) 7 /Volumes/eSSD/_htdocs/Project2023/wp-includes/plugin.php(565): WP_Hook->do_action(Array) 8 /Volumes/eSSD/_htdocs/Project2023/wp-cron.php(188): do_action_ref_array('action_schedule…', Array) 9 /Users/nicb/.composer/vendor/laravel/valet/server.php(250): require('/Volumes/eSSD/_…') 10 {main} thrown in /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/functions.php on line 421
    [31-Mar-2023 07:35:58 UTC] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Failed to parse time string ( seconds ago) at position 0 (s): The timezone could not be found in the database in /Volumes/eSSD/_htdocs/Project2023/wp-content/plugins/action-scheduler/functions.php:421

    I am running PHP 8.0.27 with WP 6.2 on a Valet local machine.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Fatal Error’ is closed to new replies.