Notice: wp_register_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/sites/warlegend.net/wp-includes/functions.php on line 3245 Notice: wp_register_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. Please see Debugging in WordPress for more information. (This message was added in version 3.3.) in /var/www/sites/warlegend.net/wp-includes/functions.php on line 3245 Notice: Use of undefined constant BP_PLUGIN_DIR - assumed 'BP_PLUGIN_DIR' in /var/www/sites/warlegend.net/wp-content/themes/warlegend/functions.php on line 681 Warning: require_once(BP_PLUGIN_DIRbp-themes/bp-default/_inc/ajax.php): failed to open stream: No such file or directory in /var/www/sites/warlegend.net/wp-content/themes/warlegend/functions.php on line 681 Fatal error: require_once(): Failed opening required 'BP_PLUGIN_DIRbp-themes/bp-default/_inc/ajax.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/sites/warlegend.net/wp-content/themes/warlegend/functions.php on line 681