WordPress “The plugin generated xxxx characters of unexpected output during activation”
11 Sep
Problem I was developing a plugin for wordpress and receive a messsage: The plugin generated 496 characters of unexpected output during activation Solution I placed the following code at the end of my plugin file, update_option(‘plugin_error’, ob_get_contents()); then looked in the wordpress options table using the query “SELECT * FROM `wp_options` WHERE option_name = ’plugin_error’” Then I could see what [...]
