我正在使用WPAlchemy,它是创建metabox的助手类。我正试图通过我的职能将其包括在内。但是当我将WP\\u Debug设置为true时,我会遇到奇怪的错误。
出于某种原因,Wordpress在url中包含了很多不应该包含的内容,这是我收到的警告。
Warning: include_once(/customers/d/d/4/mydomain.com/httpd.www/nysida/wp-content/themes/aaa/WPAlchemy/MetaBox.php): failed to open stream: No such file or directory in /customers/d/d/4/mydomain.com/httpd.www/nysida/wp-content/themes/aaa/functions.php on line 58 Warning: include_once(): Failed opening ‘/customers/d/d/4/mydomain.com/httpd.www/nysida/wp-content/themes/aaa/WPAlchemy/MetaBox.php’ for inclusion (include_path=’.:/usr/share/php’) in /customers/d/d/4/mydomain.com/httpd.www/nysida/wp-content/themes/aaa/functions.php on line 58 Notice: Use of undefined constant – assumed ‘ ’ in /customers/d/d/4/mydomain.com/httpd.www/nysida/wp-content/themes/aaa/header.php on line 53
这个奇怪的url是怎么回事?