Home > CMS Tutorial > WordPress > body text

How to deal with the timeout prompt when installing a WordPress theme

藏色散人
Release: 2019-07-18 09:18:14
Original
3255 people have browsed it

How to deal with the timeout prompt when installing a WordPress theme

#How to deal with the timeout prompt when WordPress installs a theme?

Error message:

Downloading update from http://wordpress.org/××××××.zip.
Download failed.: Operation timed out after 60000 milliseconds with 641464 bytes received
Installation Failed.
Downloading update from http://wordpress.org/××××××.zip.Download failed.: Operation timed out after 60000 milliseconds with 641464 bytes receivedInstallation Failed.
Copy after login

Explanation:

This English paragraph means that the download file has timed out. Since your host network speed is relatively slow, it is recommended to change this Adjust the time to a longer time, it is recommended to set it to 600 seconds (600000 milliseconds) and it should be successful.

How to handle the timeout prompt when WordPress installs the theme:

Edit: wp-admin/includes/file.php

Search:

$response = wp_remote_get($url, array(‘timeout’ => 300));
Copy after login

Operation: Change 300 to 600 or greater.

For more WordPress technical articles, please visit the WordPress Tutorial column!

The above is the detailed content of How to deal with the timeout prompt when installing a WordPress theme. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template