,并得到这个错误:错误移动的WordPress到感动的WordPress到子目录子域
Fatal error: Function name must be a string in /home/content/61/11855861/html/wordpress/index.php on line 17
这里是我的代码:
<?php
/**
* Front to the WordPress application. This file doesn't do anything, but loads
* wp-blog-header.php which does and tells WordPress to load the theme.
*
* @package WordPress
*/
/**
* Tells WordPress to load the WordPress theme and output it.
*
* @var bool
*/
define('WP_USE_THEMES', true);
/** Loads the WordPress Environment and Template */
require $wordpress ('/wordpress/wp-blog-header.php');
您是否更改了db中wp-option表中的路径? – Lab
这个:'$ wordpress('/wordpress/wp-blog-header.php');'似乎没有意义,我可以在代码库中的其他地方找到它。你确定你没有意外地粘贴'$ wordpress'吗? –