WordPress.org

Ready to get started?Download WordPress

Forums

Warning: header information already sent- for javascript code in plugin php file (1 post)

  1. bipul
    Member
    Posted 3 years ago #

    here is my plugin's php code. when i m going activate or update post a warning message appears which is,
    " Cannot modify header information - headers already sent by (output started at D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test_wordpress\wp-content\plugins\linkin\linkin.php:66) in D:\Program Files\Apache Software Foundation\Apache2.2\htdocs\test_wordpress\wp-includes\classes.php on line 1601".
    and the 66 line in linkin.php is "<script type="text/javascript">" in the below code.
    if anybody have a solution plz send.

    [code moderated] Please use a pastebin for posting large blocks of code in future.
    http://wordpress.pastebin.com/V9C0mX9q

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.