Support » Fixing WordPress » error when i active plugin.

  • hi, i am learning plugin development. but when i activate a plugin, it says this error
    The plugin generated 157 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.
    and my code is

    Plugin Name: Awesomeness
    Plugin URI:
    Author URI:
    Author: abc
    Description: Just a fun plugin
    function fubs(){
    	error.log("this is working");

    what am i doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error when i active plugin.’ is closed to new replies.