I´m using WPAlchemy which is a helper class for metabox creation. I´m trying to include it through my functions.php but I´m getting strange errors when I have WP_Debug set to true.
For some reason Wordpress is including a lot of stuff in the url that it shouldn't, this is the warning I get.
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
What´s up with the strange url?
Warning:code up onto multiple lines to make it easier to read? – Zach L Jun 11 '12 at 14:28