I've put about 4 hours into trying to solve this issue. Please Help!
I've been working on developing my first custom plugin. Everything was going well until I started references files in subdirectories in my plugin. Here's the complete error I'm seeing every time I activate the plugin:
"The plugin generated 1521 characters of unexpected output during activation. If you notice “headers already sent” messages, problems with syndication feeds or other issues, try deactivating or removing this plugin."
My plugin file hierarchy is as follows: Main File: wp-content/plugins/myplugin/index.php Database Building File: wp-content/plugins/myplugins/DB/initialize.php
In my index.php file, I'm calling the initialize.php file using the register_activation_hook function.here's the whole code:
add_action('admin_menu', 'form_forge_options');
include_once dirname(__FILE__) . '/DB/initialize_database.php';
register_activation_hook(__FILE__ , 'bbp_g_init_database');