WordPress.org

Ready to get started?Download WordPress

Forums

Plugin URL and unexpected output (1 post)

  1. cregy
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic