title: Error invoking Method '': Method not found [404]
body: <p>In Meteor I get this error for every method I define on the client side:</p>
  
  <pre><code>Error invoking Method 'activeMenu': Method not found [404]
  </code></pre>
  
  <p>Just as an example, in my code, I have defined this method, like so:</p>
  
  <p><strong><code>/client/js/startup/methods.js</code></strong></p>
  
  <pre><code>Meteor.methods({
      ...
      activeMenu: function() {
          if(Session.get('menu')) {
            $('.menu').removeClass('active');
            $('#' + Session.get('menu')).addClass('active');
          }
      },
      ...
  });
  </code></pre>
  
  <p>and it is called from two place - when the application first get rendered, and after the router does its routing:</p>
  
  <p><strong><code>client/js/rendered.js</code></strong></p>
  
  <pre><code>Template.ApplicationLayout.rendered = function() {
    Meteor.call('activeMenu');
  }
  </code></pre>
  
  <p><strong><code>/client/js/utils/router.js</code></strong></p>
  
  <pre><code>Router.onAfterAction(function () {
    Meteor.call('activeMenu');
  });
  </code></pre>
  
  <p>Each of the call evokes the error. However, the method still works, I am getting the results I expected, so the calls must have been successful, but I am still getting errors. These methods only runs on the client side, since they are for presentational purposes. I need the program to be error-free because I suspect that is the reason why <code>spiderable</code> isn't working.</p>