The plugin’s closing PHP tag
?>has extra characters after it and is generating an unexpected output warning on plugin activation.
The same message is also being caused by
global $wp_version;not being declared previously to the first verification of its value (
The following line is dumping WP_DEBUB notices:
wp_deregister_script( 'admin-bar' );
Works ok disabling this line, though.
- The topic ‘Problem on activation and PHP notices’ is closed to new replies.