Opened 4 months ago
Last modified 4 months ago
#57534 new defect (bug)
Cron events stop working after PHP 8.0 update
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.9 |
Component: | Cron API | Keywords: | needs-patch php8 reporter-feedback |
Focuses: | Cc: |
Description
Hello,
I noticed that all wordpress cron events cease ruining upon migrating to PHP 8.0. When I change back to 7.4 the crdo events resume.
Change History (4)
#3
@
4 months ago
The latest entry in the error log is from several weeks ago before the upgrade to 8.0. I will try deactivating plugin that use the cron one by one and manually run cron to see if it is plugin related.
#4
@
4 months ago
Apologies. I was looking at the wrong server. Here is the error log
https://1drv.ms/u/s!Asw7ieIRufLVgoJj56XV0WtN2EUEVg?e=oGbkru
Note: See
TracTickets for help on using
tickets.
Hi @domagron and welcome to trac!
Are you able to check your PHP logs for any errors and provide a stack trace?
WordPress has made a number of improvements for PHP 8+ recently see the keyword, especially for potential fatal errors.
A stack trace will help determine if the issue is within WordPress or a plugin that is incompatible with PHP 8+