Opened 19 months ago
Last modified 19 months ago
#58819 new defect (bug)
Critical error on this website
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 6.2.2 |
Component: | Site Health | Keywords: | |
Focuses: | Cc: |
Description
Hi,
recently we (and our clients) are receiving more and more "critical error" messages.
Looking at the message in detail we see, that the message (and the whole error detection) refers to an outdated PHP version (e.g. 7.0). Yet the monitored WP implementation works with PHP version 8.0
Question: why does the routine use an outdated and unused PHP version for the monitoring?
It would be fine if the error detection routine would use the same PHP version for its monitoring as the website uses.
Or if these particular messages could be stopped, as they are not only useless but confusing.
Attachments (2)
Change History (6)
#1
follow-up:
↓ 2
@
19 months ago
Hi @ewerkstatt,
one possible explanation: you run WP Cron via PHP CLI and PHP binary that is being executed is in version 7.0. But it's just a guess.
#2
in reply to:
↑ 1
@
19 months ago
Replying to chesio:
Hi @ewerkstatt,
one possible explanation: you run WP Cron via PHP CLI and PHP binary that is being executed is in version 7.0. But it's just a guess.
Hmm, the external execution of wp-cron would influence the monitoring itself? It's just a call of wp-cron.php, and that PHP-file should/would then run under 8.*
Or am I wrong?
#3
follow-up:
↓ 4
@
19 months ago
It's just a call of wp-cron.php, and that PHP-file should/would then run under 8.*.
Is it a call that executes wp-cron.php in PHP CLI context or a HTTP request to http://yourwebsite.tld/wp-cron.php? If the latter, is the domain the same as live domain (ie. no staging or temporary domain)?
#4
in reply to:
↑ 3
@
19 months ago
Replying to chesio:
It's just a call of wp-cron.php, and that PHP-file should/would then run under 8.*.
Is it a call that executes wp-cron.php in PHP CLI context or a HTTP request to http://yourwebsite.tld/wp-cron.php? If the latter, is the domain the same as live domain (ie. no staging or temporary domain)?
Hm, currently no external call of wp-cron.php active for the mentioned website. I will have to change that, yet this gets now even more misterious. BTW, same phenomenon at another site ...
critical error mail