WordPress.org

Support

Support » Plugins and Hacks » Plugin URL and unexpected output

Plugin URL and unexpected output

  • Hi

    I’m trying to build a plugin and having problems loading the js. I have added this code to load the file but it doesn’t seem to:

    plugins_url( 'clock.js', __FILE__ );

    I am also seeing this error:

    The plugin generated 6 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.

    How do I deal with it please?

    Thanks

    Rich

  • The topic ‘Plugin URL and unexpected output’ is closed to new replies.
Skip to toolbar