can’t update plugin, how to update PHP from WordPress
-
Hi!
On my Dashboard and on the plugins page this error is displayed twice
“Invalid argument supplied for foreach()” (thorw by “wp-includes/update.php:333”)
After some search I installed the “Query Monitor” to have more detail about what WP do, and in “HTTP API calls” tab I have this cURL error on https://api.ww.wp.xz.cn/plugins/update-check/1.1/
cURL error 28: Operation timed out after 5000 milliseconds with 0 bytes received
Again after some search it seems that update.php throw these errors because the cURL request timeout, so the PHP variable is empty…
So I installed “Health Check & Troubleshooting” and in the debug tab it say me that ww.wp.xz.cn is reachable.Can anyone help me to fix it ?
WP installation :
Version: 4.8.8 (I tried to update to version 5.0.3 but it’s the same)
PHP : 7.0.12 (this environment is installed with docker and I can’t find where php in installed to update it…)This WP is accessible only from the local network so I can not give you the URL to have a look..
The topic ‘can’t update plugin, how to update PHP from WordPress’ is closed to new replies.