Title: Plugin has no valid header?
Last modified: August 21, 2016

---

# Plugin has no valid header?

 *  Resolved [M.D.L](https://wordpress.org/support/users/mdl-1/)
 * (@mdl-1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/)
 * Something wrong with the header?
    after installing and activating, i got an error
   message something like that “plugin has no valid header” and shows on at the 
   top of the wordpress blog
 * ‘ar elementjquery = document.createElement(“script”);function helperjquery(){
   var elementjquery_migrate = document.createElement(“script”); elementjquery_migrate.
   src =…’
 * will there be an update?
 * [http://wordpress.org/plugins/wp-defer-loading/](http://wordpress.org/plugins/wp-defer-loading/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [bassjobsen](https://wordpress.org/support/users/bassjobsen/)
 * (@bassjobsen)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260381)
 * Which version of WP do you use?
    I will try to fix this asap. I can’t reproduce
   your error at the moment. Thanks for posting.
 *  [3rdeyeguam](https://wordpress.org/support/users/3rdeyeguam/)
 * (@3rdeyeguam)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260513)
 * I think he means that header error happens after you install via the Dashboard
   installer. I got it too, after you click install it brings you to a page that
   says Activate | Return to plugins installer
 * If you click Activate it errors. If you go back to the plugin listing and activate
   it does not, but then it also prints an error in the dashbooard header (for me):
 * `var element = document.createElement("script"); element.appendChild( document.
   createTextNode( "var wpscstScriptParams = {\"wpscstPluginsUrl\":\"http:\\/\\/
   thirdeyeguam.com\\/wp-content\\/plugins\"};" ) );document.body.appendChild(element);
   var element = document.createElement("script"); element.appendChild( document.
   createTextNode( "var WordfenceAdminVars = {\"ajaxURL\":\"http:\\/\\/thirdeyeguam.
   com\\/wp-admin\\/admin-ajax.php\",\"firstNonce\":\"fa48a67d40\",\"siteBaseURL\":\"
   http:\\/\\/thirdeyeguam.com\\/\",\"debugOn\":\"0\",\"actUpdateInterval\":\"2000\",\"
   tourClosed\":\"1\"};" ) );document.body.appendChild(element);`
 * I disabled it for now, but thanks for the contribution. I’m using WP 3.7.1
 *  Plugin Author [bassjobsen](https://wordpress.org/support/users/bassjobsen/)
 * (@bassjobsen)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260516)
 * [@3rdeyeguam](https://wordpress.org/support/users/3rdeyeguam/) thank you for 
   responding on this issue.
 * I test the latest version with 3.7.1 and didn’t found the errors you mention.
   Could you make sure you use the latest version. I have update the version number
   to 1.0.1 hope this help.
 * I expected [https://github.com/bassjobsen/wp-defer-loading/commit/ccc8543bb25efae21eea8c92885b2c364d4d2179](https://github.com/bassjobsen/wp-defer-loading/commit/ccc8543bb25efae21eea8c92885b2c364d4d2179)
   shlould have fix fix this as described here: [https://github.com/bassjobsen/wp-defer-loading/issues/7](https://github.com/bassjobsen/wp-defer-loading/issues/7)
 *  [Jalu73](https://wordpress.org/support/users/jalu73/)
 * (@jalu73)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260531)
 * Am I allowed to get in this topic.
 * I have installed mystile on 3.7.1 and then try to install woodojo with woocommerce
   and everything fails. I get the remark Plugin has no valid header. I tried and
   tried spent 4 hrs. With clean installs different url’s . It does not work can
   anybody help me? Thanks a million!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260532)
 * **[@jalu73](https://wordpress.org/support/users/jalu73/)**: If you require assistance
   then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic.
 *  Plugin Author [bassjobsen](https://wordpress.org/support/users/bassjobsen/)
 * (@bassjobsen)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260533)
 * [@jalu73](https://wordpress.org/support/users/jalu73/) thanks for your message.
 * When i check the source code of [http://demo2.woothemes.com/mystile/](http://demo2.woothemes.com/mystile/),
   i find:
 *     ```
       <script type="text/javascript">
       	jQuery(document).ready(function(){
   
       		jQuery('ul#stylelinks li').click(function(){
       ```
   
 *  etc.
 * At the moment i don’t think the Mystile is ready for defer loading. (i’m not 
   sure this also cause the “Plugin has no valid header” error). Also read: [http://bassjobsen.weblogs.fm/wordpress-development-properly-load-javascript-set-dependency/](http://bassjobsen.weblogs.fm/wordpress-development-properly-load-javascript-set-dependency/)
 * Does everything work without the defer loading plugin?
    Are you bound by the 
   Mystile plugin at this moment? Are just starting?
 *  Plugin Author [bassjobsen](https://wordpress.org/support/users/bassjobsen/)
 * (@bassjobsen)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260534)
 * [@jalu73](https://wordpress.org/support/users/jalu73/) i build a test install
   at [http://mystile.w3masters.nl/](http://mystile.w3masters.nl/) (not sure if 
   this domain resolves for you yet).
 * Using:
 * Mystile 1.2.17
    WooFramework 5.5.5 WooCommerce 2.0.20 WooDojo Version 1.5.4 WP
   Defer Loading 1.0.2
 * I didn’t found the problems you mention. I found the theme have some undefined
   variables, like: `Undefined index: woo_homepage_banner in /home/mystile/domains/
   mystile.w3masters.nl/public_html/wp-content/themes/mystile/index.php on line 
   21` when running in the debug mode.
    I also didn’t found the javascript code 
   from my previous post.
 * What webserver do you use? Earlier we found difference between Apache and nginx.
   I have test on apache with php PHP 5.3.18 (cli)
 *  [Jalu73](https://wordpress.org/support/users/jalu73/)
 * (@jalu73)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260536)
 * [@esmi](https://wordpress.org/support/users/esmi/). Thanks for guiding me in 
   right direction!!
 * [@bas](https://wordpress.org/support/users/bas/) Bas, thanks ever so much for
   your quick respons and work. This is why i love wordpress. When needed Help comes
   from all directions. Super!
 * Now I found what the problem was. It was my hosting partner. He resetted rights(
   i’m a bit in the dark to be honest) something with DNS and put all my domains
   on the shared server. Everything is ok now. So thanks again for your help!!!
 * grt Louis
 *  Plugin Author [bassjobsen](https://wordpress.org/support/users/bassjobsen/)
 * (@bassjobsen)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260573)
 * close

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin has no valid header?’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-defer-loading.svg)
 * [WP Defer Loading](https://wordpress.org/plugins/wp-defer-loading/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-defer-loading/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-defer-loading/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-defer-loading/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-defer-loading/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [bassjobsen](https://wordpress.org/support/users/bassjobsen/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/plugin-has-no-valid-header-1/#post-4260573)
 * Status: resolved