MainWP and PHP 8.5
-
Hello,
I wanted to ask if there are any issues when using this plugin with PHP 8.5.6 at this time?
Yesterday, I got the server upgraded from PHP 8.4 to 8.5, and when I run the sync from the main dashboard, the server gets stuck and websites irresponsive. Then I have to wait for timeouts to kick in, so all is back to normal. The server monitoring graphs show CPU load in the red zone, big time.
Here is one segment of the PHP log, that relates to this timeout:
[03-Jun-2026 22:37:46 UTC] PHP Fatal error: Maximum execution time of 30 seconds exceeded in /server-path/wp-includes/Requests/src/Transport/Curl.php on line 205
Stack trace:
#0 /server-path/wp-includes/Requests/src/Transport/Curl.php(205): curl_exec()
#1 /server-path/wp-includes/Requests/src/Requests.php(469): WpOrg\Requests\Transport\Curl->request()
#2 /server-path/wp-includes/Requests/src/Requests.php(809): WpOrg\Requests\Requests::request()
#3 /server-path/wp-includes/Requests/src/Requests.php(473): WpOrg\Requests\Requests::parse_response()
#4 /server-path/wp-includes/class-wp-http.php(416): WpOrg\Requests\Requests::request()
#5 /server-path/wp-includes/class-wp-http.php(657): WP_Http->request()
#6 /server-path/wp-includes/http.php(189): WP_Http->get()
#7 /server-path/wp-content/plugins/mainwp/class/class-mainwp-premium-update.php(302): wp_remote_get()
#8 /server-path/wp-content/plugins/mainwp/class/class-mainwp-premium-update.php(346): MainWP\Dashboard\MainWP_Premium_Update::redirect_request_site()
#9 /server-path/wp-content/plugins/mainwp/class/class-mainwp-premium-update.php(184): MainWP\Dashboard\MainWP_Premium_Update::try_to_detect_premiums_update()
#10 /server-path/wp-content/plugins/mainwp/class/class-mainwp-connect.php(1253): MainWP\Dashboard\MainWP_Premium_Update::maybe_request_premium_updates()
#11 /server-path/wp-content/plugins/mainwp/class/class-mainwp-sync.php(282): MainWP\Dashboard\MainWP_Connect::fetch_url_authed()
#12 /server-path/wp-content/plugins/mainwp/class/class-mainwp-sync.php(86): MainWP\Dashboard\MainWP_Sync::sync_site()
#13 /server-path/wp-content/plugins/mainwp/class/class-mainwp-post-site-handler.php(422): MainWP\Dashboard\MainWP_Sync::sync_website()
#14 /server-path/wp-includes/class-wp-hook.php(341): MainWP\Dashboard\MainWP_Post_Site_Handler->mainwp_syncsites()
#15 /server-path/wp-includes/class-wp-hook.php(365): WP_Hook->apply_filters()
#16 /server-path/wp-includes/plugin.php(522): WP_Hook->do_action()
#17 /server-path/wp-admin/admin-ajax.php(192): do_action()
#18 {main}The above does not mean it is all about MainWP, it could be anything at this point, but I wanted to ask as this happens only when I run the sync. Outside of this action, the server and websites work fine.
Thanks
You must be logged in to reply to this topic.