将 Wordpress 站点从开发服务器迁移到实时站点后,出现以下错误:
警告:include() [function.include]: 未能打开 '/home/content/83/11353583/html/wp-content/themes/mmaevents/includes/widgets/category-list.php' 以包含 (include_path='. :/usr/local/php5/lib/php') 在第 13 行的 /home/content/83/11353583/html/wp-content/themes/mmaevents/includes/theme-widgets.php
有很多这样的错误。
theme-widgets.php 的代码如下:
include( get_template_directory() . '/includes/widgets/1-column-post-list.php' );
include( get_template_directory() . '/includes/widgets/2-column-box-post-list.php' );
include( get_template_directory() . '/includes/widgets/carousel-post-list.php' );
include( get_template_directory() . '/includes/widgets/tab-post-list.php' );
include( get_template_directory() . '/includes/widgets/tags-list.php' );
include( get_template_directory() . '/includes/widgets/category-list.php' );
include( get_template_directory() . '/includes/widgets/popular-post-list.php' );
include( get_template_directory() . '/includes/widgets/embedded-video.php' );
include( get_template_directory() . '/includes/widgets/flickr-shots.php' );
include( get_template_directory() . '/includes/widgets/social-profiles.php' );
include( get_template_directory() . '/includes/widgets/ad-leaderboard.php' );
include( get_template_directory() . '/includes/widgets/ad-skyscraper.php' );
include( get_template_directory() . '/includes/widgets/ad-square-popup.php' );
任何想法为什么我会收到这些错误?