The solution is to find the location where the error is reported and see which variable is used directly without initialization. Instantiate this variable into an empty class first. For example:
Copy code The code is as follows:
$ct = new stdClass();
Modify the corresponding code of the file, For example:
Copy code The code is as follows:
if ( ! isset( $themes[$current_theme] ) ) {
delete_option( 'current_theme' );
$current_theme = get_current_theme();
}
$ct = new stdClass();
$ct-> name = $current_theme;
Problem solved.
http://www.bkjia.com/PHPjc/748679.htmlwww.bkjia.comtruehttp: //www.bkjia.com/PHPjc/748679.htmlTechArticleThe solution is to find the location of the error and then see which variable is used directly without initialization, and instantiate this variable first Make an empty class. For example: Copy the code The code is as follows: $ct = ne...
Statement: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