我从未使用PHP,只需要用已安装的主题构建我的WordPress网站。
每当我在wp-admin下打开任何页面时,我都会收到警告:
警告:include_once():打开失败 “/myURL/public_html/wp-content/plugins/dsidxpress/admin.php” 包含(include_path ='。:/ usr / local / php56 / pear')in /myURL/public_html/wp-content/plugins/dsidxpress123/dsidxpress.php 在第90行
打开.php时,我在第90行看到以下代码:
include_once(str_replace("\\", "/", WP_PLUGIN_DIR) . "/dsidxpress/admin.php");
根据指示更改后:
include_once(include_path='.:/usr/local/php56/pear' . “/dsidxpress/admin.php”);
我收到了新的错误:
Parse error: syntax error, unexpected ‘=’ in /myURL/public_html/wp-content/plugins/dsidxpress123/dsidxpress.php on line 90
我究竟需要如何更改它?