Bugs: Fixes issues after turning on WP_Debug