title: e.root is undefined in all.js
body: <p>Anyone know why I might be getting the following error: </p>
  
  <pre><code>e.root is undefined in all.js
  </code></pre>
  
  <p>Not really sure what I have wrong here. Here is the relavent portion of my code.. </p>
  
  <pre><code>&lt;script src="https://connect.facebook.net/en_US/all.js"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
    window.fbAsyncInit = function() {
  FB.init({
    appId      : 'xxxxxxxxxxxxxxxxxx', // App ID
    channelURL : 'https://nowfoods.marketspacecom.com/channel.html', // Channel File
    status     : true, // check login status
    cookie     : true, // enable cookies to allow the server to access the session
    oauth      : true, // enable OAuth 2.0
    xfbml      : true  // parse XFBML
  });
  
  // Additional initialization code here
    };
  
    // Load the SDK Asynchronously
    (function(d){
   var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;}
   js = d.createElement('script'); js.id = id; js.async = true;
   js.src = "//connect.facebook.net/en_US/all.js";
   d.getElementsByTagName('head')[0].appendChild(js);
    }(document));
  
  &lt;/script&gt;
  
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;a href="javascript:fb_publish();" class="fbshare"&gt;&lt;img src="images/share.gif" /&gt;&lt;/a&gt;
  
  &lt;script type="text/javascript"&gt;
  
  //set the height of the canvas
  window.fbAsyncInit = function() {
     FB.Canvas.setSize({height: 1250});
  }
  
  
  //this function will publish a post to the user's wall
  function fb_publish() {
  
      // calling the API ...
      var obj = {
        method: 'feed',
        name: 'Get a free sample of &lt;?php echo $getLatestPromoID['prodName']; ?&gt; from NOW Foods!',
      link: '&lt;?php echo $fbconfig['appBaseUrl']; ?&gt;',
   picture: 'https://nowfoods.marketspacecom.com/images/nowicon.gif',
   caption: 'NOW Foods Free Samples',
   description: 'I just signed up for a free sample of NOW Foods &lt;?php echo $getLatestPromoID['prodName']; ?&gt;. You can get one too at the link above!'
      };
  
      function callback(response) {
        document.getElementById('msg').innerHTML = "Post ID: " + response['post_id'];
      }
  
      FB.ui(obj, callback);
    }
  
  &lt;/script&gt;
  &lt;div id="fb-root"&gt;&lt;/div&gt;
  
  &lt;/body&gt;
  </code></pre>
  
  <p>XXX X X X XX X XX X XXXXX X XXXX X XXX </p>
  
  <p>XXX X X X XX X XX X XXXXX X XXXX X XXX </p>
  
  <p>XXX X X X XX X XX X XXXXX X XXXX X XXX </p>
  
  <p>XXX X X X XX X XX X XXXXX X XXXX X XXX </p>
  
  <p>XXX X X X XX X XX X XXXXX X XXXX X XXX </p>